myAutoZFitScaleFactor (1.0),
myStructuresUpdated (Standard_True)
{
+ myHiddenObjects = new Graphic3d_NMapOfTransient();
+
MyCView.ViewId = theMgr->Identification (this);
MyCView.Active = 0;
MyCView.IsDeleted = 0;
const Standard_Boolean theToIgnoreInfiniteFlag) const
{
Bnd_Box aResult;
+ const Standard_Integer aViewId = MyCView.ViewId;
for (Graphic3d_MapIteratorOfMapOfStructure aStructIter (theSet); aStructIter.More(); aStructIter.Next())
{
const Handle(Graphic3d_Structure)& aStructure = aStructIter.Key();
{
continue;
}
+ else if (!aStructIter.Value()->CStructure()->ViewAffinity.IsNull()
+ && !aStructIter.Value()->CStructure()->ViewAffinity->IsVisible (aViewId))
+ {
+ continue;
+ }
addStructureBndBox (aStructure, theToIgnoreInfiniteFlag, aResult);
}
thePrintDC, theToShowBackground, theFilename,
thePrintAlgorithm, theScaleFactor);
}
+
+//=============================================================================
+//function : HiddenObjects
+//purpose :
+//=============================================================================
+const Handle(Graphic3d_NMapOfTransient)& Visual3d_View::HiddenObjects() const
+{
+ return myHiddenObjects;
+}
+
+//=============================================================================
+//function : HiddenObjects
+//purpose :
+//=============================================================================
+Handle(Graphic3d_NMapOfTransient)& Visual3d_View::ChangeHiddenObjects()
+{
+ return myHiddenObjects;
+}