|
SHAPER
9.15.0
|
Presentation. More...
Public Member Functions | |
| ModuleBase_ViewerPrs (ObjectPtr theResult=ObjectPtr(), const GeomShapePtr &theShape=GeomShapePtr(), HandlettheOwner=NULL) | |
| Constructor. More... | |
| virtual | ~ModuleBase_ViewerPrs () |
| Destructor. More... | |
| void | setObject (ObjectPtr theResult) |
| Sets the object. More... | |
| ObjectPtr | object () const |
| Returns the feature. More... | |
| void | setOwner (Handle_SelectMgr_EntityOwner theOwner) |
| Set the presentation owner. More... | |
| Handle_SelectMgr_EntityOwner | owner () const |
| Returns the presentation owner. More... | |
| void | setShape (const GeomShapePtr &theShape) |
| Sets the shape. More... | |
| const GeomShapePtr & | shape () const |
| Returns the shape. More... | |
| void | setInteractive (const Handle &&theIO) |
| Set interactive object. More... | |
| Handleiinteractive () const | |
| Returns interactive object if it is installed. More... | |
| bool | isEmpty () const |
| Returns true if all presentation fields are empty. More... | |
| bool | isEqual (ModuleBase_ViewerPrs *thePrs) const |
| Returns true if all presentation fields are empty. More... | |
| bool | operator== (const ModuleBase_ViewerPrs &thePrs) |
| Returns True if the current object is equal to the given one. More... | |
Presentation.
Provides container to have feature, shape and/or selection owner.
| ModuleBase_ViewerPrs::ModuleBase_ViewerPrs | ( | ObjectPtr | theResult = ObjectPtr(), |
| const GeomShapePtr & | theShape = GeomShapePtr(), |
||
| HandlettheOwner | = NULL |
||
| ) |
Constructor.
| theResult | an object |
| theShape | a viewer shape |
| theOwner | a selection owner |
|
virtual |
Destructor.
|
inline |
Sets the object.
| theResult | an object instance |
|
inline |
Returns the feature.
|
inline |
Set the presentation owner.
| theOwner | an owner to set |
|
inline |
Returns the presentation owner.
|
inline |
Sets the shape.
| theShape | a shape instance |
|
inline |
Returns the shape.
|
inline |
Set interactive object.
| theIO | an interactive object |
|
inline |
Returns interactive object if it is installed.
|
inline |
Returns true if all presentation fields are empty.
| bool ModuleBase_ViewerPrs::isEqual | ( | ModuleBase_ViewerPrs * | thePrs | ) | const |
Returns true if all presentation fields are empty.
owners are different
AIS are different
| bool ModuleBase_ViewerPrs::operator== | ( | const ModuleBase_ViewerPrs & | thePrs | ) |
Returns True if the current object is equal to the given one.
| thePrs | an object to compare |
owners are different
AIS are different