Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SVTK_Prs Class Reference

#include <SVTK_Prs.h>

Inheritance diagram for SVTK_Prs:
Inheritance graph

Public Member Functions

 SVTK_Prs (const char *entry)
 
 SVTK_Prs (const char *entry, const vtkActor *obj)
 
 ~SVTK_Prs ()
 
vtkActorCollection * GetObjects () const
 
void AddObject (const vtkActor *obj)
 
bool IsNull () const
 
- Public Member Functions inherited from SALOME_VTKPrs
 SALOME_VTKPrs (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...
 
- 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...
 
virtual void LocalSelectionIn (SALOME_View *, const std::list< int >) const
 
bool IsClippable () const
 
void SetClippable (bool isClippable)
 

Private Attributes

vtkActorCollection * myObjects
 

Additional Inherited Members

- Protected Attributes inherited from SALOME_Prs
std::string myEntry
 
bool myIsClippable
 

Constructor & Destructor Documentation

SVTK_Prs::SVTK_Prs ( const char *  entry)
explicit

Default constructor

SVTK_Prs::SVTK_Prs ( const char *  entry,
const vtkActor *  obj 
)

Standard constructor

References AddObject().

SVTK_Prs::~SVTK_Prs ( )

Destructor

References myObjects.

Member Function Documentation

void SVTK_Prs::AddObject ( const vtkActor *  obj)

Add actor

References myObjects.

vtkActorCollection * SVTK_Prs::GetObjects ( ) const
Returns
actors list

References myObjects.

bool SVTK_Prs::IsNull ( ) const
virtual
Returns
0 if list of the actors is empty [ Reimplemented from SALOME_Prs ]

Implements SALOME_Prs.

References myObjects.

Member Data Documentation

vtkActorCollection* SVTK_Prs::myObjects
private

The documentation for this class was generated from the following files: