Version: 9.15.0
SVTK_Actor Class Reference

This class used for internal SVTK package purpose (highlight and prehighlight) More...

#include <SVTK_Actor.h>

Inheritance diagram for SVTK_Actor:
Inheritance graph

Public Member Functions

 vtkTypeMacro (SVTK_Actor, SVTK_DeviceActor) virtual void Initialize()
 Initialiaze the instance completely. More...
 
void SetSource (vtkUnstructuredGrid *theUnstructuredGrid)
 Allows to set an external source. More...
 
vtkUnstructuredGrid * GetSource ()
 Get its internal data set. More...
 
virtual void AddToRender (vtkRenderer *theRenderer)
 
virtual void RemoveFromRender (vtkRenderer *theRenderer)
 
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 MapPoints (SALOME_Actor *theMapActor, const SVTK_TIndexedMapOfVtkId &theMapIndex)
 Allow to recostruct selected points from source SALOME_Actor and map of subindexes. More...
 
virtual void MapEdge (SALOME_Actor *theMapActor, const SVTK_TIndexedMapOfVtkId &theMapIndex)
 Allow to recostruct selected edges from source SALOME_Actor and map of subindexes. More...
 
virtual void MapEdge (SALOME_Actor *theMapActor, const SVTK_IndexedMapOfVtkIds &theMapCompositeIndex)
 Allow to recostruct selected edges from source SALOME_Actor and map of subindexes using corner node ids. More...
 
const SVTK_TIndexedMapOfVtkIdGetMapIndex () const
 
const SVTK_IndexedMapOfVtkIdsGetMapCompositeIndex () const
 
- Public Member Functions inherited from SVTK_DeviceActor
 vtkTypeMacro (SVTK_DeviceActor, vtkLODActor) static SVTK_DeviceActor *New()
 
virtual void SetTransform (VTKViewer_Transform *theTransform)
 Apply a view transformation. More...
 
virtual void SetMapper (vtkMapper *theMapper)
 To insert some additional filters and then sets the given #vtkMapper. More...
 
virtual vtkDataSet * GetInput ()
 Allows to get initial #vtkDataSet. More...
 
virtual void SetInputData (vtkDataSet *theDataSet)
 Allows to set initial #vtkDataSet. More...
 
virtual void SetInputConnection (vtkAlgorithmOutput *theAlgorithmOutput)
 Allows to set initial #vtkAlgorithmOutput. More...
 
virtual vtkIdType GetNodeObjId (vtkIdType theVtkID)
 
virtual double * GetNodeCoord (vtkIdType theObjID)
 
virtual vtkIdType GetElemObjId (vtkIdType theVtkID)
 
virtual vtkCell * GetElemCell (vtkIdType theObjID)
 
virtual void SetStoreMapping (bool theStoreMapping)
 To provide VTK to Object and backward mapping. More...
 
virtual vtkMTimeType GetMTime ()
 
double GetShrinkFactor ()
 
virtual void SetShrinkFactor (double value)
 
virtual void SetShrinkable (bool theIsShrinkable)
 
bool IsShrunkable ()
 
bool IsShrunk ()
 
virtual void SetShrink ()
 
virtual void UnShrink ()
 
virtual bool IsFeatureEdgesAllowed ()
 
virtual void SetFeatureEdgesAllowed (bool theIsFeatureEdgesAllowed)
 
virtual bool IsFeatureEdgesEnabled ()
 
virtual void SetFeatureEdgesEnabled (bool theIsFeatureEdgesEnabled)
 
virtual double GetFeatureEdgesAngle ()
 
virtual void SetFeatureEdgesAngle (double theAngle)
 
virtual void GetFeatureEdgesFlags (bool &theIsFeatureEdges, bool &theIsBoundaryEdges, bool &theIsManifoldEdges, bool &theIsNonManifoldEdges)
 
virtual void SetFeatureEdgesFlags (bool theIsFeatureEdges, bool theIsBoundaryEdges, bool theIsManifoldEdges, bool theIsNonManifoldEdges)
 
virtual bool GetFeatureEdgesColoring ()
 
virtual void SetFeatureEdgesColoring (bool theIsColoring)
 
virtual void SetRepresentation (VTKViewer::Representation::Type theMode)
 
VTKViewer::Representation::Type GetRepresentation ()
 
virtual double GetDefaultPointSize ()
 
virtual double GetDefaultLineWidth ()
 
bool IsShaded ()
 
void SetShaded (bool theShaded)
 
void SetBallEnabled (bool)
 
void SetMarkerEnabled (bool)
 
void SetBallScale (double)
 
void SetMarkerStd (VTK::MarkerType, VTK::MarkerScale)
 
void SetMarkerTexture (int, VTK::MarkerTexture)
 
VTK::MarkerType GetMarkerType ()
 
VTK::MarkerScale GetMarkerScale ()
 
int GetMarkerTexture ()
 
virtual void Render (vtkRenderer *, vtkMapper *)
 
VTKViewer_DataSetMapperGetDataSetMapper ()
 
virtual void SetQuadraticArcMode (bool theFlag)
 Setting for displaying quadratic elements. More...
 
virtual bool GetQuadraticArcMode ()
 
virtual void SetQuadraticArcAngle (double theMaxAngle)
 
virtual double GetQuadraticArcAngle ()
 
virtual void SetCoincident3DAllowed (bool theIsFeatureEdgesAllowed)
 
virtual bool IsCoincident3DAllowed () const
 
void SetResolveCoincidentTopology (bool theIsResolve)
 

Static Public Member Functions

static SVTK_ActorNew ()
 

Protected Member Functions

 SVTK_Actor ()
 
virtual ~SVTK_Actor ()
 
- Protected Member Functions inherited from SVTK_DeviceActor
void InitPipeLine (vtkMapper *theMapper)
 To initialize internal pipeline. More...
 
void SetPolygonOffsetParameters (double factor, double units)
 
void GetPolygonOffsetParameters (double &factor, double &units)
 
 SVTK_DeviceActor ()
 
 ~SVTK_DeviceActor ()
 

Protected Attributes

SVTK_TIndexedMapOfVtkId myMapIndex
 
SVTK_IndexedMapOfVtkIds myMapCompositeIndex
 
vtkSmartPointer< vtkUnstructuredGrid > myUnstructuredGrid
 
- Protected Attributes inherited from SVTK_DeviceActor
VTKViewer::Representation::Type myRepresentation
 
vtkProperty * myProperty
 
bool myIsShaded
 
VTKViewer_GeometryFiltermyGeomFilter
 
VTKViewer_TransformFiltermyTransformFilter
 
std::vector< vtkPassThrough * > myPassFilter
 
vtkShrinkFiltermyShrinkFilter
 
vtkFeatureEdges * myFeatureEdges
 
VTKViewer_DataSetMappermyMapper
 
bool myIsShrinkable
 
bool myIsShrunk
 
bool myIsFeatureEdgesAllowed
 
bool myIsFeatureEdgesEnabled
 
bool myIsResolveCoincidentTopology
 
double myPolygonOffsetFactor
 
double myPolygonOffsetUnits
 

Detailed Description

This class used for internal SVTK package purpose (highlight and prehighlight)

Constructor & Destructor Documentation

◆ SVTK_Actor()

SVTK_Actor::SVTK_Actor ( )
protected

◆ ~SVTK_Actor()

SVTK_Actor::~SVTK_Actor ( )
protectedvirtual

Destructor

Member Function Documentation

◆ AddToRender()

void SVTK_Actor::AddToRender ( vtkRenderer *  theRenderer)
virtual

To publish the actor an all its internal devices

◆ GetMapCompositeIndex()

const SVTK_IndexedMapOfVtkIds & SVTK_Actor::GetMapCompositeIndex ( ) const

◆ GetMapIndex()

const SVTK_TIndexedMapOfVtkId & SVTK_Actor::GetMapIndex ( ) const

◆ GetSource()

vtkUnstructuredGrid * SVTK_Actor::GetSource ( )

Get its internal data set.

◆ MapCells()

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

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

References VTKViewer_Actor::GetElemCell(), VTKViewer_Actor::GetInput(), VTKViewer_Actor::GetShrinkFactor(), and VTKViewer_Actor::IsShrunk().

◆ MapEdge() [1/2]

void SVTK_Actor::MapEdge ( SALOME_Actor theMapActor,
const SVTK_IndexedMapOfVtkIds theMapCompositeIndex 
)
virtual

Allow to recostruct selected edges from source SALOME_Actor and map of subindexes using corner node ids.

References VTKViewer_Actor::GetInput(), VTKViewer_Actor::GetNodeVtkId(), VTKViewer_Actor::GetShrinkFactor(), and VTKViewer_Actor::IsShrunk().

◆ MapEdge() [2/2]

void SVTK_Actor::MapEdge ( SALOME_Actor theMapActor,
const SVTK_TIndexedMapOfVtkId theMapIndex 
)
virtual

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

References VTKViewer_Actor::GetElemCell(), VTKViewer_Actor::GetInput(), VTKViewer_Actor::GetShrinkFactor(), and VTKViewer_Actor::IsShrunk().

◆ MapPoints()

void SVTK_Actor::MapPoints ( SALOME_Actor theMapActor,
const SVTK_TIndexedMapOfVtkId theMapIndex 
)
virtual

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

References VTKViewer_Actor::GetNodeCoord().

◆ New()

static SVTK_Actor* SVTK_Actor::New ( )
static

◆ RemoveFromRender()

void SVTK_Actor::RemoveFromRender ( vtkRenderer *  theRenderer)
virtual

◆ SetSource()

void SVTK_Actor::SetSource ( vtkUnstructuredGrid *  theUnstructuredGrid)

Allows to set an external source.

◆ vtkTypeMacro()

SVTK_Actor::vtkTypeMacro ( SVTK_Actor  ,
SVTK_DeviceActor   
)

Initialiaze the instance completely.

Member Data Documentation

◆ myMapCompositeIndex

SVTK_IndexedMapOfVtkIds SVTK_Actor::myMapCompositeIndex
protected

◆ myMapIndex

SVTK_TIndexedMapOfVtkId SVTK_Actor::myMapIndex
protected

◆ myUnstructuredGrid

vtkSmartPointer<vtkUnstructuredGrid> SVTK_Actor::myUnstructuredGrid
protected

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