Custom entity owner implementing correct highlight for topmost mode.
#include <GEOM_Annotation.hxx>
|
| 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...
|
|
|
| Handle (StdSelect_Shape) myPrsSh |
|
GEOM_Annotation::GEOM_AnnotationOwner::GEOM_AnnotationOwner |
( |
const TopoDS_Shape & |
theShape, |
|
|
const Handle(SelectMgr_SelectableObject)& |
theSelectable, |
|
|
const Standard_Integer |
thePriority |
|
) |
| |
|
inline |
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 |
TopoDS_Shape GEOM_Annotation::GEOM_AnnotationOwner::myShape |
|
private |
The documentation for this class was generated from the following files: