-// Copyright (C) 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2012 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#include <TCollection_AsciiString.hxx>
#include <AIS_DisplayMode.hxx>
+#include <Graphic3d_MaterialAspect.hxx>
class PrsMgr_PresentationManager3d;
class Prs3d_Presentation;
void setIO(const Handle(SALOME_InteractiveObject)& name) ;
void setName(const Standard_CString aName) ;
Standard_CString getName() ;
+ Standard_Boolean isTopLevel();
+ void setTopLevel(Standard_Boolean);
Handle_SALOME_InteractiveObject getIO() ;
void highlightSubShapes(const TColStd_IndexedMapOfInteger& aIndexMap, const Standard_Boolean aHighlight );
~GEOM_AISShape();
void storeBoundaryColors();
+ static Quantity_Color topLevelColor();
+
protected:
void shadingMode(const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
const Handle(Prs3d_Presentation)& aPrs,
private:
TCollection_AsciiString myName;
- bool myDisplayVectors;
+ bool myDisplayVectors;
+ Standard_Boolean myTopLevel;
+ Graphic3d_MaterialAspect myCurrentMaterial;
+
};