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(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...
|
|
|
| Handle (StdSelect_Shape) myPrsSh |
|
◆ GEOM_AnnotationOwner()
GEOM_Annotation::GEOM_AnnotationOwner::GEOM_AnnotationOwner |
( |
const TopoDS_Shape & |
theShape, |
|
|
const Handle(SelectMgr_SelectableObject)& |
theSelectable, |
|
|
const Standard_Integer |
thePriority |
|
) |
| |
|
inline |
◆ 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 |
◆ myShape
TopoDS_Shape GEOM_Annotation::GEOM_AnnotationOwner::myShape |
|
private |
The documentation for this class was generated from the following files: