Version: 8.3.0
SMESH_SVTKActor Class Reference

#include <SMESH_SVTKActor.h>

Inheritance diagram for SMESH_SVTKActor:

Public Member Functions

 vtkTypeMacro (SMESH_SVTKActor, SVTK_Actor)
 
void SetBallScale (double theSize)
 
void SetBallSize (float theSize)
 
void Set0DSize (float theSize)
 
virtual void AddToRender (vtkRenderer *theRendere)
 To publish the actor an all its internal devices. More...
 
virtual void SetVisibility (int theVisibility)
 
virtual void Initialize ()
 Initialiaze the instance completely. More...
 
virtual void MapCells (SALOME_Actor *theMapActor, const TColStd_IndexedMapOfInteger &theMapIndex)
 Allow to recostruct selected cells from source SALOME_Actor and map of subindexes. More...
 
virtual void RemoveFromRender (vtkRenderer *theRendere)
 To remove the actor an all its internal devices. More...
 
void SetVisualObject (TVisualObjPtr theVisualObj)
 

Static Public Member Functions

static SMESH_SVTKActorNew ()
 

Protected Member Functions

 SMESH_SVTKActor ()
 Constructor. More...
 
virtual ~SMESH_SVTKActor ()
 Constructor. More...
 

Protected Attributes

SVTK_DeviceActor * my0DActor
 
SVTK_DeviceActor * myBallActor
 
vtkUnstructuredGridmy0DGrid
 
vtkUnstructuredGridmyBallGrid
 
TVisualObjPtr myVisualObj
 

Constructor & Destructor Documentation

SMESH_SVTKActor::SMESH_SVTKActor ( )
protected

Constructor.

References my0DActor, my0DGrid, myBallActor, and myBallGrid.

SMESH_SVTKActor::~SMESH_SVTKActor ( )
protectedvirtual

Constructor.

References my0DActor, my0DGrid, myBallActor, and myBallGrid.

Member Function Documentation

void SMESH_SVTKActor::AddToRender ( vtkRenderer *  theRendere)
virtual

To publish the actor an all its internal devices.

Publishes the actor in all its internal devices.

References my0DActor, and myBallActor.

void SMESH_SVTKActor::Initialize ( )
virtual

Initialiaze the instance completely.

void SMESH_SVTKActor::MapCells ( SALOME_Actor theMapActor,
const TColStd_IndexedMapOfInteger &  theMapIndex 
)
virtual

Allow to recostruct selected cells from source SALOME_Actor and map of subindexes.

static SMESH_SVTKActor* SMESH_SVTKActor::New ( )
static
void SMESH_SVTKActor::RemoveFromRender ( vtkRenderer *  theRendere)
virtual

To remove the actor an all its internal devices.

Removes the actor from all its internal devices.

void SMESH_SVTKActor::Set0DSize ( float  theSize)

References my0DActor.

void SMESH_SVTKActor::SetBallScale ( double  theSize)

References myBallActor.

void SMESH_SVTKActor::SetBallSize ( float  theSize)

References myBallActor.

void SMESH_SVTKActor::SetVisibility ( int  theVisibility)
virtual

References my0DActor, and myBallActor.

void SMESH_SVTKActor::SetVisualObject ( TVisualObjPtr  theVisualObj)

References myVisualObj.

SMESH_SVTKActor::vtkTypeMacro ( SMESH_SVTKActor  ,
SVTK_Actor   
)

Field Documentation

SVTK_DeviceActor* SMESH_SVTKActor::my0DActor
protected
vtkUnstructuredGrid* SMESH_SVTKActor::my0DGrid
protected
SVTK_DeviceActor* SMESH_SVTKActor::myBallActor
protected
vtkUnstructuredGrid* SMESH_SVTKActor::myBallGrid
protected
TVisualObjPtr SMESH_SVTKActor::myVisualObj
protected

Referenced by SetVisualObject().