....
#include <GEOM_AISShape.hxx>

Public Types | |
| enum | DispMode {  Wireframe = AIS_WireFrame, Shading = AIS_Shaded, ShadingWithEdges, TexturedShape, CustomHighlight }  | 
| Enumeration of display modes.  More... | |
| enum | TopLevelDispMode {  TopShowAdditionalWActor = 0, TopKeepCurrent, TopWireFrame, TopShading, TopShadingWithEdges }  | 
| Enumeration of top level display modes.  More... | |
Public Member Functions | |
| Standard_EXPORT | GEOM_AISShape (const TopoDS_Shape &shape, const Standard_CString aName) | 
| Standard_EXPORT | ~GEOM_AISShape () | 
| Standard_EXPORT Standard_Boolean | hasIO () | 
| Standard_EXPORT void | setIO (const Handle(SALOME_InteractiveObject)&name) | 
| Standard_EXPORT | Handle (SALOME_InteractiveObject) getIO() | 
| Standard_EXPORT void | setName (const Standard_CString aName) | 
| Standard_EXPORT Standard_CString | getName () | 
| Standard_EXPORT Standard_Boolean | isTopLevel () | 
| Standard_EXPORT void | setTopLevel (Standard_Boolean) | 
| Standard_EXPORT void | highlightSubShapes (const TColStd_IndexedMapOfInteger &aIndexMap, const Standard_Boolean aHighlight) | 
| Standard_EXPORT void | SetShadingColor (const Quantity_Color &aCol) | 
| Standard_EXPORT void | SetEdgesInShadingColor (const Quantity_Color &aCol) | 
| Standard_EXPORT void | SetLabelColor (const Quantity_Color &aCol) | 
| Standard_EXPORT void | SetDisplayVectors (bool isShow) | 
| Standard_EXPORT void | SetDisplayVertices (bool isShow) | 
| Standard_EXPORT void | SetDisplayName (bool isShow) | 
| virtual Standard_EXPORT void | Compute (const Handle(PrsMgr_PresentationManager3d)&aPresentationManager, const Handle(Prs3d_Presentation)&aPresentation, const Standard_Integer aMode=0) | 
| virtual Standard_EXPORT bool | isShowVectors () | 
| virtual Standard_EXPORT bool | isShowVertices () | 
| virtual Standard_EXPORT bool | isShowName () | 
| virtual Standard_EXPORT  Standard_Boolean  | switchTopLevel () | 
| virtual Standard_EXPORT  Standard_Boolean  | toActivate () | 
| Standard_EXPORT void | setPrevDisplayMode (const Standard_Integer mode) | 
| Standard_EXPORT Standard_Integer | prevDisplayMode () const | 
| Standard_EXPORT void | setFieldStepInfo (const GEOM::field_data_type theFieldDataType, const int theFieldDimension, const QList< QVariant > &theFieldStepData, const TCollection_AsciiString &theFieldStepName, const double theFieldStepRangeMin, const double theFieldStepRangeMax) | 
| Standard_EXPORT void | getFieldStepInfo (GEOM::field_data_type &theFieldDataType, int &theFieldDimension, QList< QVariant > &theFieldStepData, TCollection_AsciiString &theFieldStepName, double &theFieldStepRangeMin, double &theFieldStepRangeMax) const | 
Static Public Member Functions | |
| static Standard_EXPORT  Quantity_Color  | topLevelColor () | 
| static Standard_EXPORT void | setTopLevelColor (const Quantity_Color c) | 
| static Standard_EXPORT  TopLevelDispMode  | topLevelDisplayMode () | 
| static Standard_EXPORT void | setTopLevelDisplayMode (const TopLevelDispMode dm) | 
Protected Member Functions | |
| Standard_EXPORT void | shadingMode (const Handle(PrsMgr_PresentationManager3d)&aPresentationManager, const Handle(Prs3d_Presentation)&aPrs, const Standard_Integer aMode) | 
| Standard_EXPORT void | drawField (const Handle(Prs3d_Presentation)&thePrs, const bool theIsText=false, const bool theIsHighlight=false) | 
| Standard_EXPORT void | drawName (const Handle(Prs3d_Presentation)&thePrs) | 
Static Protected Member Functions | |
| static Standard_EXPORT  Standard_Boolean  | computeMassCenter (const TopoDS_Shape &theShape, gp_Pnt &theCenter) | 
Private Attributes | |
| Quantity_Color | myShadingColor | 
| Quantity_Color | myEdgesInShadingColor | 
| Quantity_Color | myLabelColor | 
| TCollection_AsciiString | myName | 
| bool | myDisplayVectors | 
| bool | myDisplayVertices | 
| bool | myDisplayName | 
| Standard_Boolean | myTopLevel | 
| Standard_Integer | myPrevDisplayMode | 
| GEOM::field_data_type | myFieldDataType | 
| int | myFieldDimension | 
| QList< QVariant > | myFieldStepData | 
| TCollection_AsciiString | myFieldStepName | 
| double | myFieldStepRangeMin | 
| double | myFieldStepRangeMax | 
Static Private Attributes | |
| static TopLevelDispMode | myTopLevelDm | 
| static Quantity_Color | myTopLevelColor | 
| GEOM_AISShape::GEOM_AISShape | ( | const TopoDS_Shape & | shape, | 
| const Standard_CString | aName | ||
| ) | 
References myEdgesInShadingColor, myPrevDisplayMode, myShadingColor, and myTopLevel.
| GEOM_AISShape::~GEOM_AISShape | ( | ) | 
      
  | 
  virtual | 
Reimplemented in GEOM_AISVector.
References Compute(), Curve(), CustomHighlight, drawField(), drawName(), GEOM::FDT_String, Handle(), isShowName(), isShowVectors(), isShowVertices(), isTopLevel(), myFieldDataType, myFieldDimension, myFieldStepData, Shading, shadingMode(), ShadingWithEdges, switchTopLevel(), TexturedShape, topLevelColor(), GEOM::Vertices, and Wireframe.
      
  | 
  staticprotected | 
      
  | 
  protected | 
References aColor, computeMassCenter(), Handle(), myFieldDimension, myFieldStepData, and myLabelColor.
      
  | 
  protected | 
References GEOMUtils::GetPosition(), Handle(), and myLabelColor.
| void GEOM_AISShape::getFieldStepInfo | ( | GEOM::field_data_type & | theFieldDataType, | 
| int & | theFieldDimension, | ||
| QList< QVariant > & | theFieldStepData, | ||
| TCollection_AsciiString & | theFieldStepName, | ||
| double & | theFieldStepRangeMin, | ||
| double & | theFieldStepRangeMax | ||
| ) | const | 
References myFieldDataType, myFieldDimension, myFieldStepData, myFieldStepName, myFieldStepRangeMax, and myFieldStepRangeMin.
| Standard_CString GEOM_AISShape::getName | ( | ) | 
References myName.
| Standard_EXPORT GEOM_AISShape::Handle | ( | SALOME_InteractiveObject | ) | 
| Standard_Boolean GEOM_AISShape::hasIO | ( | ) | 
| void GEOM_AISShape::highlightSubShapes | ( | const TColStd_IndexedMapOfInteger & | aIndexMap, | 
| const Standard_Boolean | aHighlight | ||
| ) | 
References getEntityOwners(), Handle(), indicesToOwners(), and Shape().
      
  | 
  inlinevirtual | 
References myDisplayName.
      
  | 
  inlinevirtual | 
Reimplemented in GEOM_AISVector.
References myDisplayVectors.
      
  | 
  inlinevirtual | 
References myDisplayVertices.
| Standard_Boolean GEOM_AISShape::isTopLevel | ( | ) | 
References myTopLevel.
      
  | 
  inline | 
References myPrevDisplayMode.
| void GEOM_AISShape::SetDisplayName | ( | bool | isShow | ) | 
References myDisplayName.
| void GEOM_AISShape::SetDisplayVectors | ( | bool | isShow | ) | 
References myDisplayVectors.
| void GEOM_AISShape::SetDisplayVertices | ( | bool | isShow | ) | 
References myDisplayVertices.
| void GEOM_AISShape::SetEdgesInShadingColor | ( | const Quantity_Color & | aCol | ) | 
References myEdgesInShadingColor.
| void GEOM_AISShape::setFieldStepInfo | ( | const GEOM::field_data_type | theFieldDataType, | 
| const int | theFieldDimension, | ||
| const QList< QVariant > & | theFieldStepData, | ||
| const TCollection_AsciiString & | theFieldStepName, | ||
| const double | theFieldStepRangeMin, | ||
| const double | theFieldStepRangeMax | ||
| ) | 
References myFieldDataType, myFieldDimension, myFieldStepData, myFieldStepName, myFieldStepRangeMax, and myFieldStepRangeMin.
| void GEOM_AISShape::setIO | ( | const Handle(SALOME_InteractiveObject)& | name | ) | 
| void GEOM_AISShape::SetLabelColor | ( | const Quantity_Color & | aCol | ) | 
References myLabelColor.
| void GEOM_AISShape::setPrevDisplayMode | ( | const Standard_Integer | mode | ) | 
References myPrevDisplayMode.
| void GEOM_AISShape::SetShadingColor | ( | const Quantity_Color & | aCol | ) | 
References myShadingColor.
| void GEOM_AISShape::setTopLevel | ( | Standard_Boolean | f | ) | 
      
  | 
  static | 
References myTopLevelColor.
      
  | 
  static | 
References myTopLevelDm.
      
  | 
  virtual | 
References myTopLevelDm, and TopShowAdditionalWActor.
      
  | 
  virtual | 
References myTopLevel, myTopLevelDm, and TopShowAdditionalWActor.
      
  | 
  static | 
References myTopLevelColor.
      
  | 
  static | 
References myTopLevelDm.
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  private | 
      
  | 
  staticprivate | 
      
  | 
  staticprivate |