viewobjectcontactofe3dscene.cxx (f6e50924) | viewobjectcontactofe3dscene.cxx (025b0597) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 82 unchanged lines hidden (view full) --- 91 // support ghosted for now. This is no problem currently but would need to be 92 // added when sub-groups in 3d will be added one day. 93 const ViewContactOfE3dScene& rViewContact = dynamic_cast< ViewContactOfE3dScene& >(GetViewContact()); 94 const SetOfByte& rVisibleLayers = rDisplayInfo.GetProcessLayers(); 95 drawinglayer::primitive2d::Primitive2DSequence xRetval(rViewContact.createScenePrimitive2DSequence(&rVisibleLayers)); 96 97 if(xRetval.hasElements()) 98 { | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 82 unchanged lines hidden (view full) --- 91 // support ghosted for now. This is no problem currently but would need to be 92 // added when sub-groups in 3d will be added one day. 93 const ViewContactOfE3dScene& rViewContact = dynamic_cast< ViewContactOfE3dScene& >(GetViewContact()); 94 const SetOfByte& rVisibleLayers = rDisplayInfo.GetProcessLayers(); 95 drawinglayer::primitive2d::Primitive2DSequence xRetval(rViewContact.createScenePrimitive2DSequence(&rVisibleLayers)); 96 97 if(xRetval.hasElements()) 98 { |
99 // handle GluePoint | 99 // allow evtl. embedding in object-specific infos, e.g. Name, Title, Description 100 xRetval = rViewContact.embedToObjectSpecificInformation(xRetval); 101 102 // handle GluePoint |
100 if(!GetObjectContact().isOutputToPrinter() && GetObjectContact().AreGluePointsVisible()) 101 { 102 const drawinglayer::primitive2d::Primitive2DSequence xGlue(GetViewContact().createGluePointPrimitive2DSequence()); 103 104 if(xGlue.hasElements()) 105 { 106 drawinglayer::primitive2d::appendPrimitive2DSequenceToPrimitive2DSequence(xRetval, xGlue); 107 } --- 37 unchanged lines hidden --- | 103 if(!GetObjectContact().isOutputToPrinter() && GetObjectContact().AreGluePointsVisible()) 104 { 105 const drawinglayer::primitive2d::Primitive2DSequence xGlue(GetViewContact().createGluePointPrimitive2DSequence()); 106 107 if(xGlue.hasElements()) 108 { 109 drawinglayer::primitive2d::appendPrimitive2DSequenceToPrimitive2DSequence(xRetval, xGlue); 110 } --- 37 unchanged lines hidden --- |