Version: 6.3.1
Public Member Functions | Private Attributes

SVTK_Prs Class Reference

#include <SVTK_Prs.h>

Inheritance diagram for SVTK_Prs:
Inheritance graph

Public Member Functions

 SVTK_Prs ()
 SVTK_Prs (const vtkActor *obj)
 ~SVTK_Prs ()
vtkActorCollection * GetObjects () const
void AddObject (const vtkActor *obj)
bool IsNull () const
virtual void DisplayIn (SALOME_View *) const
 It uses double dispatch in order to invoke Display() method corresponding to the actual type of presentation.
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.
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.
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.
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.
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.
virtual void Update (SALOME_Displayer *)
 It uses double dispatch in order to invoke Update() method corresponding to the actual type of presentation.
virtual void LocalSelectionIn (SALOME_View *, const int) const
 Key method for double dispatch of activation of subshapes selection.

Private Attributes

vtkActorCollection * myObjects

Constructor & Destructor Documentation

SVTK_Prs::SVTK_Prs ( )

Default constructor

SVTK_Prs::SVTK_Prs ( const vtkActor *  obj)

Standard constructor

References AddObject().

SVTK_Prs::~SVTK_Prs ( )

Destructor

References myObjects.


Member Function Documentation

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

References myObjects.

void SVTK_Prs::AddObject ( const vtkActor *  obj)

Add actor

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.

void SALOME_VTKPrs::DisplayIn ( SALOME_View v) const [virtual, inherited]

Dispatches display operation to proper Display() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View.Display().

void SALOME_VTKPrs::EraseIn ( SALOME_View v,
const bool  forced = false 
) const [virtual, inherited]

Dispatches display operation to proper Erase() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View.Erase().

void SALOME_VTKPrs::BeforeDisplayIn ( SALOME_Displayer d,
SALOME_View v 
) const [virtual, inherited]

Dispatches display operation to proper BeforeDisplay() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer.BeforeDisplay().

void SALOME_VTKPrs::AfterDisplayIn ( SALOME_Displayer d,
SALOME_View v 
) const [virtual, inherited]

Dispatches display operation to proper AfterDisplay() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer.AfterDisplay().

void SALOME_VTKPrs::BeforeEraseIn ( SALOME_Displayer d,
SALOME_View v 
) const [virtual, inherited]

Dispatches display operation to proper BeforeErase() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer.BeforeErase().

void SALOME_VTKPrs::AfterEraseIn ( SALOME_Displayer d,
SALOME_View v 
) const [virtual, inherited]

Dispatches display operation to proper AfterErase() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer.AfterErase().

void SALOME_VTKPrs::Update ( SALOME_Displayer d) [virtual, inherited]

Dispatches update operation to proper Update() method of SALOME_Displayer

Implements SALOME_Prs.

References SALOME_Displayer.Update().

void SALOME_VTKPrs::LocalSelectionIn ( SALOME_View v,
const int  mode 
) const [virtual, inherited]

Dispatches operation to proper LocalSelectionIn() method of SALOME_View

Implements SALOME_Prs.

References SALOME_View.LocalSelection().


Field Documentation

vtkActorCollection* SVTK_Prs.myObjects [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS