Version: 9.12.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 ()
 Initialize the instance completely. More...
 
virtual void MapCells (SALOME_Actor *theMapActor, const SVTK_TIndexedMapOfVtkId &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 ()
 
virtual ~SMESH_SVTKActor ()
 Constructor. More...
 

Protected Attributes

SVTK_DeviceActor * my0DActor
 
SVTK_DeviceActor * myBallActor
 
vtkUnstructuredGridmy0DGrid
 
vtkUnstructuredGridmyBallGrid
 
TVisualObjPtr myVisualObj
 

Constructor & Destructor Documentation

◆ SMESH_SVTKActor()

SMESH_SVTKActor::SMESH_SVTKActor ( )
protected

◆ ~SMESH_SVTKActor()

SMESH_SVTKActor::~SMESH_SVTKActor ( )
protectedvirtual

Constructor.

References my0DActor, my0DGrid, myBallActor, and myBallGrid.

Member Function Documentation

◆ AddToRender()

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.

◆ Initialize()

void SMESH_SVTKActor::Initialize ( )
virtual

Initialize the instance completely.

◆ MapCells()

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

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

◆ New()

static SMESH_SVTKActor* SMESH_SVTKActor::New ( )
static

◆ RemoveFromRender()

void SMESH_SVTKActor::RemoveFromRender ( vtkRenderer *  theRendere)
virtual

To remove the actor an all its internal devices.

Removes the actor from all its internal devices.

◆ Set0DSize()

void SMESH_SVTKActor::Set0DSize ( float  theSize)

References my0DActor.

◆ SetBallSize()

void SMESH_SVTKActor::SetBallSize ( float  theSize)

References myBallActor.

◆ SetVisibility()

void SMESH_SVTKActor::SetVisibility ( int  theVisibility)
virtual

References my0DActor, and myBallActor.

◆ SetVisualObject()

void SMESH_SVTKActor::SetVisualObject ( TVisualObjPtr  theVisualObj)

References myVisualObj.

◆ vtkTypeMacro()

SMESH_SVTKActor::vtkTypeMacro ( SMESH_SVTKActor  ,
SVTK_Actor   
)

Field Documentation

◆ my0DActor

SVTK_DeviceActor* SMESH_SVTKActor::my0DActor
protected

◆ my0DGrid

vtkUnstructuredGrid* SMESH_SVTKActor::my0DGrid
protected

Referenced by ~SMESH_SVTKActor().

◆ myBallActor

SVTK_DeviceActor* SMESH_SVTKActor::myBallActor
protected

◆ myBallGrid

vtkUnstructuredGrid* SMESH_SVTKActor::myBallGrid
protected

Referenced by ~SMESH_SVTKActor().

◆ myVisualObj

TVisualObjPtr SMESH_SVTKActor::myVisualObj
protected

Referenced by SetVisualObject().