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

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

#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 TColStd_IndexedMapOfInteger &theMapIndex)
 Allow to recostruct selected cells from source SALOME_Actor and map of subindexes. More...
 
virtual void MapPoints (SALOME_Actor *theMapActor, const TColStd_IndexedMapOfInteger &theMapIndex)
 Allow to recostruct selected points from source SALOME_Actor and map of subindexes. More...
 
virtual void MapEdge (SALOME_Actor *theMapActor, const TColStd_IndexedMapOfInteger &theMapIndex)
 Allow to recostruct selected edges from source SALOME_Actor and map of subindexes. More...
 
const TColStd_IndexedMapOfInteger & GetMapIndex () const
 
- Public Member Functions inherited from SVTK_DeviceActor
 vtkTypeMacro (SVTK_DeviceActor, vtkLODActor)
 
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 vtkMTimeType GetMTime ()
 
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)
 
virtual int GetNodeObjId (int theVtkID)
 
virtual double * GetNodeCoord (int theObjID)
 
virtual int GetElemObjId (int theVtkID)
 
virtual vtkCell * GetElemCell (int theObjID)
 
virtual void SetStoreMapping (bool theStoreMapping)
 To provide VTK to Object and backward mapping. More...
 
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 ()
 

Static Public Member Functions

static SVTK_ActorNew ()
 
- Static Public Member Functions inherited from SVTK_DeviceActor
static SVTK_DeviceActorNew ()
 

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

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

Constructor & Destructor Documentation

SVTK_Actor::SVTK_Actor ( )
protected

Constructor

SVTK_Actor::~SVTK_Actor ( )
protectedvirtual

Destructor

Member Function Documentation

void SVTK_Actor::AddToRender ( vtkRenderer *  theRenderer)
virtual

To publish the actor an all its internal devices

const TColStd_IndexedMapOfInteger & SVTK_Actor::GetMapIndex ( ) const
vtkUnstructuredGrid * SVTK_Actor::GetSource ( )
void SVTK_Actor::Initialize ( )
virtual
void SVTK_Actor::MapCells ( SALOME_Actor theMapActor,
const TColStd_IndexedMapOfInteger &  theMapIndex 
)
virtual
void SVTK_Actor::MapEdge ( SALOME_Actor theMapActor,
const TColStd_IndexedMapOfInteger &  theMapIndex 
)
virtual
void SVTK_Actor::MapPoints ( SALOME_Actor theMapActor,
const TColStd_IndexedMapOfInteger &  theMapIndex 
)
virtual
static SVTK_Actor* SVTK_Actor::New ( )
static
void SVTK_Actor::RemoveFromRender ( vtkRenderer *  theRenderer)
virtual
void SVTK_Actor::SetSource ( vtkUnstructuredGrid *  theUnstructuredGrid)
SVTK_Actor::vtkTypeMacro ( SVTK_Actor  ,
SVTK_DeviceActor   
)

Member Data Documentation

TColStd_IndexedMapOfInteger SVTK_Actor::myMapIndex
protected
vtkSmartPointer<vtkUnstructuredGrid> SVTK_Actor::myUnstructuredGrid
protected

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