23 #ifndef _GEOM_AISShape_HeaderFile
24 #define _GEOM_AISShape_HeaderFile
26 #include <SALOME_AISShape.hxx>
27 #include <SALOME_InteractiveObject.hxx>
29 #include <Standard.hxx>
30 #include <Standard_DefineHandle.hxx>
31 #include <PrsMgr_PresentationManager.hxx>
32 #include <TCollection_AsciiString.hxx>
33 #include <AIS_DisplayMode.hxx>
38 #include <SALOMEconfig.h>
39 #include CORBA_SERVER_HEADER(GEOM_Gen)
64 Standard_EXPORT
GEOM_AISShape(
const TopoDS_Shape& shape,
const Standard_CString aName);
67 Standard_EXPORT Standard_Boolean
hasIO();
71 Standard_EXPORT
void setName(const Standard_CString aName);
72 Standard_EXPORT Standard_CString
getName();
77 Standard_EXPORT
void highlightSubShapes(const TColStd_IndexedMapOfInteger& aIndexMap, const Standard_Boolean aHighlight );
81 Standard_EXPORT
void SetLabelColor(const Quantity_Color &aCol);
86 Standard_EXPORT virtual
void Compute(const
Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
87 const
Handle(Prs3d_Presentation)& aPresentation,
88 const Standard_Integer aMode = 0);
95 Standard_EXPORT
virtual Standard_Boolean
toActivate();
108 const int theFieldDimension,
109 const QList<QVariant>& theFieldStepData,
110 const TCollection_AsciiString& theFieldStepName,
111 const double theFieldStepRangeMin,
112 const double theFieldStepRangeMax );
114 int& theFieldDimension,
115 QList<QVariant>& theFieldStepData,
116 TCollection_AsciiString& theFieldStepName,
117 double& theFieldStepRangeMin,
118 double& theFieldStepRangeMax )
const;
121 Standard_EXPORT
void shadingMode(
const Handle(PrsMgr_PresentationManager3d)& aPresentationManager,
123 const Standard_Integer aMode);
126 Standard_EXPORT
void drawField(
const Handle(Prs3d_Presentation)& thePrs,
127 const bool theIsText =
false,
128 const bool theIsHighlight =
false );
131 Standard_EXPORT
void drawName(
const Handle(Prs3d_Presentation)& thePrs );
134 Standard_EXPORT
static Standard_Boolean
computeMassCenter(
const TopoDS_Shape& theShape,