#include <MeshVS_MeshOwner.hxx>
Inheritance diagram for MeshVS_MeshOwner:
Public Member Functions | |
Standard_EXPORT | MeshVS_MeshOwner (const SelectMgr_SOPtr &theSelObj, const Handle(MeshVS_DataSource)&theDS, const Standard_Integer thePriority=0) |
Standard_EXPORT const Handle_MeshVS_DataSource & | GetDataSource () const |
Standard_EXPORT const Handle_TColStd_HPackedMapOfInteger & | GetSelectedNodes () const |
Returns ids of selected mesh nodes . | |
Standard_EXPORT const Handle_TColStd_HPackedMapOfInteger & | GetSelectedElements () const |
Returns ids of selected mesh elements . | |
Standard_EXPORT void | AddSelectedEntities (const Handle(TColStd_HPackedMapOfInteger)&Nodes, const Handle(TColStd_HPackedMapOfInteger)&Elems) |
Saves ids of selected mesh entities . | |
Standard_EXPORT void | ClearSelectedEntities () |
Clears ids of selected mesh entities . | |
Standard_EXPORT const Handle_TColStd_HPackedMapOfInteger & | GetDetectedNodes () const |
Returns ids of hilighted mesh nodes . | |
Standard_EXPORT const Handle_TColStd_HPackedMapOfInteger & | GetDetectedElements () const |
Returns ids of hilighted mesh elements . | |
Standard_EXPORT void | SetDetectedEntities (const Handle(TColStd_HPackedMapOfInteger)&Nodes, const Handle(TColStd_HPackedMapOfInteger)&Elems) |
Saves ids of hilighted mesh entities . | |
virtual Standard_EXPORT void | HilightWithColor (const Handle(PrsMgr_PresentationManager3d)&PM, const Quantity_NameOfColor theColor, const Standard_Integer Mode=0) |
virtual Standard_EXPORT void | Unhilight (const Handle(PrsMgr_PresentationManager)&PM, const Standard_Integer Mode=0) |
Removes highlighting from the owner of a detected selectable object in the presentation manager aPM. This object could be the owner of a sensitive primitive. The display mode for the highlight is aMode; this has the default value of 0, that is, wireframe mode. . | |
virtual Standard_EXPORT Standard_Boolean | IsForcedHilight () const |
if this method returns TRUE the owner will allways call method Hilight for SelectableObject when the owner is detected. By default it always return FALSE. | |
Standard_EXPORT const | Handle (Standard_Type)&DynamicType() const |
Private Attributes | |
Handle_MeshVS_DataSource | myDataSource |
Handle_TColStd_HPackedMapOfInteger | mySelectedNodes |
Handle_TColStd_HPackedMapOfInteger | mySelectedElems |
Handle_TColStd_HPackedMapOfInteger | myDetectedNodes |
Handle_TColStd_HPackedMapOfInteger | myDetectedElems |
Standard_Integer | myLastID |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from SelectMgr_EntityOwner. |
|
Reimplemented from SelectMgr_EntityOwner. |
|
Reimplemented from SelectMgr_EntityOwner. |
|
|
|
Reimplemented from SelectMgr_EntityOwner. |
|
|
|
|
|
|
|
|
|
|
|
|