|
Open CASCADE Technology
6.5.4
|
The custom owner. This class provides methods to store owner information:
1) An address of element or node data structure
2) Type of node or element owner assigned
3) ID of node or element owner assigned
#include <MeshVS_MeshEntityOwner.hxx>

Public Member Functions | |
| MeshVS_MeshEntityOwner (const SelectMgr_SOPtr &SelObj, const Standard_Integer ID, const Standard_Address MeshEntity, const MeshVS_EntityType &Type, const Standard_Integer Priority=0, const Standard_Boolean IsGroup=Standard_False) | |
| Standard_Address | Owner () const |
| Returns an address of element or node data structure | |
| MeshVS_EntityType | Type () const |
| Returns type of element or node data structure | |
| Standard_Integer | ID () const |
| Returns ID of element or node data structure | |
| Standard_Boolean | IsGroup () const |
| Returns true if owner represents group of nodes or elements | |
| virtual Standard_Boolean | IsHilighted (const Handle< PrsMgr_PresentationManager > &PM, const Standard_Integer Mode=0) const |
| Returns true if owner is hilighted | |
| virtual void | Hilight () |
| Hilights owner | |
| virtual void | Hilight (const Handle< PrsMgr_PresentationManager > &PM, const Standard_Integer Mode=0) |
| Hilights owner | |
| virtual void | HilightWithColor (const Handle< PrsMgr_PresentationManager3d > &PM, const Quantity_NameOfColor theColor, const Standard_Integer Mode=0) |
| Hilights owner with the certain color | |
| virtual void | Unhilight (const Handle< PrsMgr_PresentationManager > &PM, const Standard_Integer Mode=0) |
| Strip hilight of owner | |
| virtual void | Clear (const Handle< PrsMgr_PresentationManager > &PM, const Standard_Integer Mode=0) |
| Clears the owners matching the value of the selection mode aMode from the presentation manager object aPM. | |
| MeshVS_MeshEntityOwner::MeshVS_MeshEntityOwner | ( | const SelectMgr_SOPtr & | SelObj, |
| const Standard_Integer | ID, | ||
| const Standard_Address | MeshEntity, | ||
| const MeshVS_EntityType & | Type, | ||
| const Standard_Integer | Priority = 0, |
||
| const Standard_Boolean | IsGroup = Standard_False |
||
| ) |
| virtual void MeshVS_MeshEntityOwner::Clear | ( | const Handle< PrsMgr_PresentationManager > & | aPM, |
| const Standard_Integer | aMode = 0 |
||
| ) | [virtual] |
Reimplemented from SelectMgr_EntityOwner.
| virtual void MeshVS_MeshEntityOwner::Hilight | ( | ) | [virtual] |
Reimplemented from SelectMgr_EntityOwner.
| virtual void MeshVS_MeshEntityOwner::Hilight | ( | const Handle< PrsMgr_PresentationManager > & | PM, |
| const Standard_Integer | Mode = 0 |
||
| ) | [virtual] |
Reimplemented from SelectMgr_EntityOwner.
| virtual void MeshVS_MeshEntityOwner::HilightWithColor | ( | const Handle< PrsMgr_PresentationManager3d > & | PM, |
| const Quantity_NameOfColor | theColor, | ||
| const Standard_Integer | Mode = 0 |
||
| ) | [virtual] |
Reimplemented from SelectMgr_EntityOwner.
| Standard_Integer MeshVS_MeshEntityOwner::ID | ( | ) | const |
| virtual Standard_Boolean MeshVS_MeshEntityOwner::IsHilighted | ( | const Handle< PrsMgr_PresentationManager > & | PM, |
| const Standard_Integer | Mode = 0 |
||
| ) | const [virtual] |
Reimplemented from SelectMgr_EntityOwner.
| virtual void MeshVS_MeshEntityOwner::Unhilight | ( | const Handle< PrsMgr_PresentationManager > & | PM, |
| const Standard_Integer | Mode = 0 |
||
| ) | [virtual] |
Reimplemented from SelectMgr_EntityOwner.
1.8.0