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

Custom entity owner implementing correct highlight for topmost mode.

#include <GEOM_Annotation.hxx>

Inheritance diagram for GEOM_Annotation::GEOM_AnnotationOwner:
Inheritance graph

Public Member Functions

 GEOM_AnnotationOwner (const TopoDS_Shape &theShape, const Handle(SelectMgr_SelectableObject)&theSelectable, const Standard_Integer thePriority)
 Constructor. More...
 
virtual void HilightWithColor (const Handle(PrsMgr_PresentationManager3d)&thePM, const Handle(Graphic3d_HighlightStyle)&theStyle, const Standard_Integer theMode=0) Standard_OVERRIDE
 Perform highlighting of the presentation. More...
 
virtual void Unhilight (const Handle(PrsMgr_PresentationManager)&thePM, const Standard_Integer theMode=0) Standard_OVERRIDE
 Removes highlighting from the type of shape. More...
 
virtual void Clear (const Handle(PrsMgr_PresentationManager)&thePM, const Standard_Integer theMode=0) Standard_OVERRIDE
 Clears the presentation manager object aPM of all shapes with the given selection mode. More...
 

Private Member Functions

 Handle (StdSelect_Shape) myPrsSh
 

Private Attributes

TopoDS_Shape myShape
 

Constructor & Destructor Documentation

GEOM_Annotation::GEOM_AnnotationOwner::GEOM_AnnotationOwner ( const TopoDS_Shape &  theShape,
const Handle(SelectMgr_SelectableObject)&  theSelectable,
const Standard_Integer  thePriority 
)
inline

Member Function Documentation

void GEOM_Annotation::GEOM_AnnotationOwner::Clear ( const Handle(PrsMgr_PresentationManager)&  thePM,
const Standard_Integer  theMode = 0 
)
virtual
GEOM_Annotation::GEOM_AnnotationOwner::Handle ( StdSelect_Shape  )
private
void GEOM_Annotation::GEOM_AnnotationOwner::HilightWithColor ( const Handle(PrsMgr_PresentationManager3d)&  thePM,
const Handle(Graphic3d_HighlightStyle)&  theStyle,
const Standard_Integer  theMode = 0 
)
virtual
Parameters
thePresentationMgr[in] the presentation manager.
theColor[in] the highlighting color.
theMode[in] the display mode.

References Handle(), GEOM_Annotation::myShape, and NULL.

void GEOM_Annotation::GEOM_AnnotationOwner::Unhilight ( const Handle(PrsMgr_PresentationManager)&  thePM,
const Standard_Integer  theMode = 0 
)
virtual

Member Data Documentation

TopoDS_Shape GEOM_Annotation::GEOM_AnnotationOwner::myShape
private

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