#include <SOCC_Prs.h>

Public Member Functions | |
| SOCC_Prs (const char *entry) | |
| SOCC_Prs (const char *entry, const Handle(AIS_InteractiveObject)&obj) | |
| ~SOCC_Prs () | |
| void | GetObjects (AIS_ListOfInteractive &list) const |
| void | AddObject (const Handle(AIS_InteractiveObject)&obj) |
| void | PrependObject (const Handle(AIS_InteractiveObject)&obj) |
| void | RemoveFirst () |
| void | Clear () |
| bool | IsNull () const |
| void | SetToActivate (const bool) |
| bool | ToActivate () const |
Public Member Functions inherited from SALOME_OCCPrs | |
| SALOME_OCCPrs (const char *e) | |
| Constructor. More... | |
| virtual void | DisplayIn (SALOME_View *) const |
| It uses double dispatch in order to invoke Display() method corresponding to the actual type of presentation. More... | |
| virtual void | EraseIn (SALOME_View *, const bool=false) const |
| It uses double dispatch in order to invoke Erase() method corresponding to the actual type of presentation. More... | |
| virtual void | BeforeDisplayIn (SALOME_Displayer *, SALOME_View *) const |
| It uses double dispatch in order to invoke BeforeDisplayIn() method corresponding to the actual type of presentation. More... | |
| virtual void | AfterDisplayIn (SALOME_Displayer *, SALOME_View *) const |
| It uses double dispatch in order to invoke AfterDisplayIn() method corresponding to the actual type of presentation. More... | |
| virtual void | BeforeEraseIn (SALOME_Displayer *, SALOME_View *) const |
| It uses double dispatch in order to invoke BeforeEraseIn() method corresponding to the actual type of presentation. More... | |
| virtual void | AfterEraseIn (SALOME_Displayer *, SALOME_View *) const |
| It uses double dispatch in order to invoke AfterEraseIn() method corresponding to the actual type of presentation. More... | |
| virtual void | Update (SALOME_Displayer *) |
| It uses double dispatch in order to invoke Update() method corresponding to the actual type of presentation. More... | |
| virtual void | LocalSelectionIn (SALOME_View *, const int) const |
| Key method for double dispatch of activation of sub-shapes selection. More... | |
| virtual void | LocalSelectionIn (SALOME_View *, const std::list< int >) const |
Public Member Functions inherited from SALOME_Prs | |
| SALOME_Prs (const char *) | |
| Constructor. More... | |
| virtual | ~SALOME_Prs () |
| Destructor. More... | |
| const char * | GetEntry () const |
| Get entry. More... | |
| bool | IsClippable () const |
| void | SetClippable (bool isClippable) |
Private Attributes | |
| AIS_ListOfInteractive | myObjects |
| bool | myToActivate |
Additional Inherited Members | |
Protected Attributes inherited from SALOME_Prs | |
| std::string | myEntry |
| bool | myIsClippable |
|
explicit |
Default constructor
References myToActivate.
| SOCC_Prs::SOCC_Prs | ( | const char * | entry, |
| const Handle(AIS_InteractiveObject)& | obj | ||
| ) |
Standard constructor
References AddObject().
| SOCC_Prs::~SOCC_Prs | ( | ) |
Destructor
References myObjects.
| void SOCC_Prs::AddObject | ( | const Handle(AIS_InteractiveObject)& | obj | ) |
Add interactive object
References myObjects.
| void SOCC_Prs::Clear | ( | ) |
Remove all interactive objects
References myObjects.
| void SOCC_Prs::GetObjects | ( | AIS_ListOfInteractive & | list | ) | const |
Get interactive objects list
References myObjects.
|
virtual |
Implements SALOME_Prs.
References myObjects.
| void SOCC_Prs::PrependObject | ( | const Handle(AIS_InteractiveObject)& | obj | ) |
Prepend interactive object
References myObjects.
| void SOCC_Prs::RemoveFirst | ( | ) |
Remove first interactive object
References myObjects.
| void SOCC_Prs::SetToActivate | ( | const bool | toActivate | ) |
This method is used for activisation/deactivisation of objects in the moment of displaying
References myToActivate.
| bool SOCC_Prs::ToActivate | ( | ) | const |
References myToActivate.
|
private |
|
private |