Version: 9.12.0
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(Prs3d_Drawer)&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_AnnotationOwner()

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

Member Function Documentation

◆ Clear()

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

◆ Handle()

GEOM_Annotation::GEOM_AnnotationOwner::Handle ( StdSelect_Shape  )
private

◆ HilightWithColor()

void GEOM_Annotation::GEOM_AnnotationOwner::HilightWithColor ( const Handle(PrsMgr_PresentationManager3d)&  thePM,
const Handle(Prs3d_Drawer)&  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(), and GEOM_Annotation::myShape.

◆ Unhilight()

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

Member Data Documentation

◆ myShape

TopoDS_Shape GEOM_Annotation::GEOM_AnnotationOwner::myShape
private

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