Version: 6.3.1
Public Member Functions | Protected Member Functions | Protected Attributes | Friends

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)
void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_Boolean hasIO ()
void setIO (const Handle(SALOME_InteractiveObject)&name)
void setName (const Standard_CString aName)
Standard_CString getName ()
Handle_SALOME_InteractiveObject getIO ()
void highlightSubShapes (const TColStd_IndexedMapOfInteger &aIndexMap, const Standard_Boolean aHighlight)
void SetTransparency (const Standard_Real aValue)
void SetShadingColor (const Quantity_Color &aCol)
void SetDisplayVectors (bool isShow)
const Handle (Standard_Type)&DynamicType() const
Standard_Boolean IsKind (const Handle(Standard_Type)&) 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 Attributes

Quantity_Color myShadingColor

Friends

Handle_Standard_Type & GEOM_AISShape_Type_ ()

Constructor & Destructor Documentation

GEOM_AISShape 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 
) [protected, virtual]

Redefined from GEOM_AISShape

Reimplemented from GEOM_AISShape.

virtual bool GEOM_AISVector.isShowVectors ( ) [protected, virtual]

Reimplemented from GEOM_AISShape.

void* GEOM_AISShape.operator new ( size_t  ,
void *  anAddress 
) [inherited]
void* GEOM_AISShape.operator new ( size_t  size) [inherited]
void GEOM_AISShape.operator delete ( void *  anAddress) [inherited]
Standard_Boolean GEOM_AISShape::hasIO ( ) [inherited]

References GEOM_AISShape.getIO().

void GEOM_AISShape::setIO ( const Handle(SALOME_InteractiveObject)&  name) [inherited]
void GEOM_AISShape::setName ( const Standard_CString  aName) [inherited]
Standard_CString GEOM_AISShape::getName ( ) [inherited]

References GEOM_AISShape.myName.

Handle_SALOME_InteractiveObject GEOM_AISShape.getIO ( ) [inherited]
void GEOM_AISShape::highlightSubShapes ( const TColStd_IndexedMapOfInteger &  aIndexMap,
const Standard_Boolean  aHighlight 
) [inherited]
void GEOM_AISShape::SetTransparency ( const Standard_Real  aValue) [inherited]
void GEOM_AISShape::SetShadingColor ( const Quantity_Color &  aCol) [inherited]
void GEOM_AISShape::SetDisplayVectors ( bool  isShow) [inherited]
const GEOM_AISShape.Handle ( Standard_Type  ) const [inherited]
Standard_Boolean GEOM_AISShape.IsKind ( const Handle(Standard_Type)&  ) const [inherited]

Friends And Related Function Documentation

Handle_Standard_Type& GEOM_AISShape_Type_ ( ) [friend, inherited]

Field Documentation

Quantity_Color GEOM_AISShape.myShadingColor [protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS