Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOM_AISVector Class Reference

Interactive object, representing a vector with arrow on its end.

#include <GEOM_AISVector.hxx>

Inheritance diagram for GEOM_AISVector:
Inheritance graph

Public Member Functions

Standard_EXPORT GEOM_AISVector (const TopoDS_Shape &theShape, const Standard_CString theName)
 
- Public Member Functions inherited from GEOM_AISShape
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 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
 

Protected Member Functions

virtual void Compute (const Handle(PrsMgr_PresentationManager3d)&thePresentationManager, const Handle(Prs3d_Presentation)&thePresentation, const Standard_Integer theMode=0)
 
virtual bool isShowVectors ()
 
- Protected Member Functions inherited from GEOM_AISShape
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)
 

Additional Inherited Members

- Public Types inherited from GEOM_AISShape
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...
 
- Static Public Member Functions inherited from GEOM_AISShape
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)
 
- Static Protected Member Functions inherited from GEOM_AISShape
static Standard_EXPORT
Standard_Boolean 
computeMassCenter (const TopoDS_Shape &theShape, gp_Pnt &theCenter)
 

Constructor & Destructor Documentation

Standard_EXPORT GEOM_AISVector::GEOM_AISVector ( const TopoDS_Shape &  theShape,
const Standard_CString  theName 
)

Constructor

Parameters
theShapeA linear edge to be represented as a vector
theNameA name to be passed in constructor of GEOM_AISShape

Member Function Documentation

void GEOM_AISVector::Compute ( const Handle(PrsMgr_PresentationManager3d)&  thePresentationManager,
const Handle(Prs3d_Presentation)&  thePresentation,
const Standard_Integer  theMode = 0 
)
protectedvirtual

Redefined from GEOM_AISShape

Reimplemented from GEOM_AISShape.

References GEOM_AISShape::Compute().

virtual bool GEOM_AISVector::isShowVectors ( )
inlineprotectedvirtual

Reimplemented from GEOM_AISShape.


The documentation for this class was generated from the following files: