Version: 9.12.0
SVTK_DeviceActor Class Reference

#include <SVTK_DeviceActor.h>

Inheritance diagram for SVTK_DeviceActor:
Inheritance graph

Public Member Functions

 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...
 
For selection mapping purpose
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 ()
 
For shrink mamnagement purpose
double GetShrinkFactor ()
 
virtual void SetShrinkFactor (double value)
 
virtual void SetShrinkable (bool theIsShrinkable)
 
bool IsShrunkable ()
 
bool IsShrunk ()
 
virtual void SetShrink ()
 
virtual void UnShrink ()
 
For feature edges management purpose
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)
 
For representation mamnagement purpose
virtual void SetRepresentation (VTKViewer::Representation::Type theMode)
 
VTKViewer::Representation::Type GetRepresentation ()
 
virtual double GetDefaultPointSize ()
 
virtual double GetDefaultLineWidth ()
 
bool IsShaded ()
 
void SetShaded (bool theShaded)
 
For ball marker management purpose
void SetBallEnabled (bool)
 

For marker management purpose

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
 
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)
 
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 ()
 
 SVTK_DeviceActor (const SVTK_DeviceActor &)
 
void operator= (const SVTK_DeviceActor &)
 

Constructor & Destructor Documentation

◆ SVTK_DeviceActor() [1/2]

SVTK_DeviceActor::SVTK_DeviceActor ( )
protected

◆ ~SVTK_DeviceActor()

SVTK_DeviceActor::~SVTK_DeviceActor ( )
protected

Destructor

◆ SVTK_DeviceActor() [2/2]

SVTK_DeviceActor::SVTK_DeviceActor ( const SVTK_DeviceActor )
private

Member Function Documentation

◆ GetDataSetMapper()

VTKViewer_DataSetMapper * SVTK_DeviceActor::GetDataSetMapper ( )

References myMapper.

◆ GetDefaultLineWidth()

double SVTK_DeviceActor::GetDefaultLineWidth ( )
virtual
Returns
default line width

◆ GetDefaultPointSize()

double SVTK_DeviceActor::GetDefaultPointSize ( )
virtual
Returns
default point size

◆ GetElemCell()

vtkCell * SVTK_DeviceActor::GetElemCell ( vtkIdType  theObjID)
virtual

Get corresponding #vtkCell for given object index

◆ GetElemObjId()

vtkIdType SVTK_DeviceActor::GetElemObjId ( vtkIdType  theVtkID)
virtual

Maps VTK index of a cell to corresponding object index

◆ GetFeatureEdgesAngle()

double SVTK_DeviceActor::GetFeatureEdgesAngle ( )
virtual
Returns
angle of feature edges' filter

◆ GetFeatureEdgesColoring()

bool SVTK_DeviceActor::GetFeatureEdgesColoring ( )
virtual
Returns
feature edges' coloring flag

◆ GetFeatureEdgesFlags()

void SVTK_DeviceActor::GetFeatureEdgesFlags ( bool &  theIsFeatureEdges,
bool &  theIsBoundaryEdges,
bool &  theIsManifoldEdges,
bool &  theIsNonManifoldEdges 
)
virtual

Gets information about kinds of edges which are displayed by feature edges' filter

Parameters
theIsFeatureEdgesflag which shows whether feature edges are displayed
theIsBoundaryEdgesflag which shows whether boundary edges are displayed
theIsManifoldEdgesflag which shows whether manifold edges are displayed
theIsNonManifoldEdgesflag which shows whether non-manifold edges are displayed

◆ GetInput()

vtkDataSet * SVTK_DeviceActor::GetInput ( )
virtual

Allows to get initial #vtkDataSet.

Allows to get initial vtkDataSet

◆ GetMarkerScale()

VTK::MarkerScale SVTK_DeviceActor::GetMarkerScale ( )

Get scale of the point marker

Returns
scale of the point marker

References VTKViewer_DataSetMapper::GetMarkerScale(), and myMapper.

◆ GetMarkerTexture()

int SVTK_DeviceActor::GetMarkerTexture ( )

Get texture identifier of the point marker

Returns
texture identifier of the point marker

References VTKViewer_DataSetMapper::GetMarkerTexture(), and myMapper.

◆ GetMarkerType()

VTK::MarkerType SVTK_DeviceActor::GetMarkerType ( )

Get type of the point marker

Returns
type of the point marker

References VTKViewer_DataSetMapper::GetMarkerType(), and myMapper.

◆ GetMTime()

vtkMTimeType SVTK_DeviceActor::GetMTime ( )
virtual
Returns
time of modification

◆ GetNodeCoord()

double * SVTK_DeviceActor::GetNodeCoord ( vtkIdType  theObjID)
virtual

Get coordinates of a node for given object index

◆ GetNodeObjId()

vtkIdType SVTK_DeviceActor::GetNodeObjId ( vtkIdType  theVtkID)
virtual

Maps VTK index of a node to corresponding object index

◆ GetPolygonOffsetParameters()

void SVTK_DeviceActor::GetPolygonOffsetParameters ( double &  factor,
double &  units 
)
protected

Get polygon offset parameters

Parameters
factor,units- Opengl polygon offset parameters

◆ GetQuadraticArcAngle()

double SVTK_DeviceActor::GetQuadraticArcAngle ( )
virtual

Return Max angle of the representation 2D quadratic element as arked polygon

References VTKViewer_GeometryFilter::GetQuadraticArcAngle(), and myGeomFilter.

◆ GetQuadraticArcMode()

bool SVTK_DeviceActor::GetQuadraticArcMode ( )
virtual

Return true if 2D quadratic element displayed as arked polygon

References VTKViewer_GeometryFilter::GetQuadraticArcMode(), and myGeomFilter.

◆ GetRepresentation()

VTKViewer::Representation::Type SVTK_DeviceActor::GetRepresentation ( )
Returns
current representation mode

◆ GetShrinkFactor()

double SVTK_DeviceActor::GetShrinkFactor ( )
Returns
shrink factor

◆ InitPipeLine()

void SVTK_DeviceActor::InitPipeLine ( vtkMapper *  theMapper)
protected

To initialize internal pipeline.

To initialize internal pipeline

◆ IsCoincident3DAllowed()

bool SVTK_DeviceActor::IsCoincident3DAllowed ( ) const
virtual

◆ IsFeatureEdgesAllowed()

bool SVTK_DeviceActor::IsFeatureEdgesAllowed ( )
virtual
Returns
true if feature edges are allowed for this actor

◆ IsFeatureEdgesEnabled()

bool SVTK_DeviceActor::IsFeatureEdgesEnabled ( )
virtual
Returns
true if feature edges are enabled

◆ IsShaded()

bool SVTK_DeviceActor::IsShaded ( )
Returns
true if actor is shaded

◆ IsShrunk()

bool SVTK_DeviceActor::IsShrunk ( )
Returns
true if actor is shrunkable

◆ IsShrunkable()

bool SVTK_DeviceActor::IsShrunkable ( )
Returns
true if actor is shrinkable

◆ operator=()

void SVTK_DeviceActor::operator= ( const SVTK_DeviceActor )
private

◆ Render()

void SVTK_DeviceActor::Render ( vtkRenderer *  ren,
vtkMapper *  m 
)
virtual

Renders actor

◆ SetBallEnabled()

void SVTK_DeviceActor::SetBallEnabled ( bool  theBallEnabled)

Set ball drawing enabled

Parameters
theBallEnabledflag to enable/disable balls

References myMapper, and VTKViewer_DataSetMapper::SetBallEnabled().

◆ SetBallScale()

void SVTK_DeviceActor::SetBallScale ( double  theBallScale)

Set ball scale factor

Parameters
theBallScaledouble value a scale factor of ball element

References myMapper, and VTKViewer_DataSetMapper::SetBallScale().

◆ SetCoincident3DAllowed()

void SVTK_DeviceActor::SetCoincident3DAllowed ( bool  theIsFeatureEdgesAllowed)
virtual

◆ SetFeatureEdgesAllowed()

void SVTK_DeviceActor::SetFeatureEdgesAllowed ( bool  theIsFeatureEdgesAllowed)
virtual

Allows feature edges for this actor on or off

Parameters
theIsFeatureEdgesAllowed- flag which allows feature edges for this actor on or off

◆ SetFeatureEdgesAngle()

void SVTK_DeviceActor::SetFeatureEdgesAngle ( double  theAngle)
virtual

Sets angle of feature edges' filter

Parameters
theAngleangle of feature edges' filter

◆ SetFeatureEdgesColoring()

void SVTK_DeviceActor::SetFeatureEdgesColoring ( bool  theIsColoring)
virtual

Sets feature edges' coloring flag

Parameters
theIsColoringfeature edges' coloring flag

◆ SetFeatureEdgesEnabled()

void SVTK_DeviceActor::SetFeatureEdgesEnabled ( bool  theIsFeatureEdgesEnabled)
virtual

Enables feature edges on or off

Parameters
theIsFeatureEdgesEnabled- flag which enables feature edges on or off

◆ SetFeatureEdgesFlags()

void SVTK_DeviceActor::SetFeatureEdgesFlags ( bool  theIsFeatureEdges,
bool  theIsBoundaryEdges,
bool  theIsManifoldEdges,
bool  theIsNonManifoldEdges 
)
virtual

Sets different kinds of edges to be displayed by feature edges' filter

Parameters
theIsFeatureEdgesflag which displays feature edges
theIsBoundaryEdgesflag which displays boundary edges
theIsManifoldEdgesflag which displays manifold edges
theIsNonManifoldEdgesflag which displays non-manifold edges

◆ SetInputConnection()

void SVTK_DeviceActor::SetInputConnection ( vtkAlgorithmOutput *  theAlgorithmOutput)
virtual

Allows to set initial #vtkAlgorithmOutput.

Allows to set initial vtkDataSet

◆ SetInputData()

void SVTK_DeviceActor::SetInputData ( vtkDataSet *  theDataSet)
virtual

Allows to set initial #vtkDataSet.

Allows to set initial vtkDataSet

◆ SetMapper()

void SVTK_DeviceActor::SetMapper ( vtkMapper *  theMapper)
virtual

To insert some additional filters and then sets the given #vtkMapper.

To insert some additional filters and then sets the given vtkMapper

◆ SetMarkerEnabled()

void SVTK_DeviceActor::SetMarkerEnabled ( bool  theMarkerEnabled)

Set point marker enabled

Parameters
theMarkerEnabledflag to enable/disable point marker

References myMapper.

◆ SetMarkerStd()

void SVTK_DeviceActor::SetMarkerStd ( VTK::MarkerType  theMarkerType,
VTK::MarkerScale  theMarkerScale 
)

Set standard point marker

Parameters
theMarkerTypetype of the marker
theMarkerScalescale of the marker

References myMapper, and VTKViewer_DataSetMapper::SetMarkerStd().

◆ SetMarkerTexture()

void SVTK_DeviceActor::SetMarkerTexture ( int  theMarkerId,
VTK::MarkerTexture  theMarkerTexture 
)

Set custom point marker

Parameters
theMarkerIdid of the marker texture
theMarkerTexturemarker texture

References myMapper, and VTKViewer_DataSetMapper::SetMarkerTexture().

◆ SetPolygonOffsetParameters()

void SVTK_DeviceActor::SetPolygonOffsetParameters ( double  factor,
double  units 
)
protected

Set polygon offset parameters

Parameters
factor,units- Opengl polygon offset parameters

◆ SetQuadraticArcAngle()

void SVTK_DeviceActor::SetQuadraticArcAngle ( double  theMaxAngle)
virtual

Set Max angle for representation 2D quadratic element as arked polygon

References myGeomFilter, and VTKViewer_GeometryFilter::SetQuadraticArcAngle().

◆ SetQuadraticArcMode()

void SVTK_DeviceActor::SetQuadraticArcMode ( bool  theFlag)
virtual

Setting for displaying quadratic elements.

On/Off representation 2D quadratic element as arked polygon

References myGeomFilter, and VTKViewer_GeometryFilter::SetQuadraticArcMode().

◆ SetRepresentation()

void SVTK_DeviceActor::SetRepresentation ( VTKViewer::Representation::Type  theMode)
virtual

◆ SetResolveCoincidentTopology()

void SVTK_DeviceActor::SetResolveCoincidentTopology ( bool  theIsResolve)

◆ SetShaded()

void SVTK_DeviceActor::SetShaded ( bool  theShaded)

Sets shaded state of actor

Parameters
theShaded- new shaded state

◆ SetShrink()

void SVTK_DeviceActor::SetShrink ( )
virtual

Insert shrink filter into pipeline

◆ SetShrinkable()

void SVTK_DeviceActor::SetShrinkable ( bool  theIsShrinkable)
virtual

Changes shrinkable state of actor theIsShrinkable - new shrinkable state

◆ SetShrinkFactor()

void SVTK_DeviceActor::SetShrinkFactor ( double  theValue)
virtual

Changes shrink factor

Parameters
theValue- new shrink factor

◆ SetStoreMapping()

void SVTK_DeviceActor::SetStoreMapping ( bool  theStoreMapping)
virtual

To provide VTK to Object and backward mapping.

To provide VTK to Object and backward mapping

References myGeomFilter, and VTKViewer_GeometryFilter::SetStoreMapping().

◆ SetTransform()

void SVTK_DeviceActor::SetTransform ( VTKViewer_Transform theTransform)
virtual

Apply a view transformation.

Apply a view transformation

Parameters
theTransform- transformation

◆ UnShrink()

void SVTK_DeviceActor::UnShrink ( )
virtual

Remove shrink filter from pipeline

◆ vtkTypeMacro()

SVTK_DeviceActor::vtkTypeMacro ( SVTK_DeviceActor  ,
vtkLODActor   
)

Member Data Documentation

◆ myFeatureEdges

vtkFeatureEdges* SVTK_DeviceActor::myFeatureEdges
protected

◆ myGeomFilter

VTKViewer_GeometryFilter* SVTK_DeviceActor::myGeomFilter
protected

◆ myIsFeatureEdgesAllowed

bool SVTK_DeviceActor::myIsFeatureEdgesAllowed
protected

◆ myIsFeatureEdgesEnabled

bool SVTK_DeviceActor::myIsFeatureEdgesEnabled
protected

◆ myIsResolveCoincidentTopology

bool SVTK_DeviceActor::myIsResolveCoincidentTopology
protected

◆ myIsShaded

bool SVTK_DeviceActor::myIsShaded
protected

◆ myIsShrinkable

bool SVTK_DeviceActor::myIsShrinkable
protected

◆ myIsShrunk

bool SVTK_DeviceActor::myIsShrunk
protected

◆ myMapper

VTKViewer_DataSetMapper* SVTK_DeviceActor::myMapper
protected

◆ myPassFilter

std::vector<vtkPassThrough*> SVTK_DeviceActor::myPassFilter
protected

◆ myPolygonOffsetFactor

double SVTK_DeviceActor::myPolygonOffsetFactor
protected

◆ myPolygonOffsetUnits

double SVTK_DeviceActor::myPolygonOffsetUnits
protected

◆ myProperty

vtkProperty* SVTK_DeviceActor::myProperty
protected

◆ myRepresentation

VTKViewer::Representation::Type SVTK_DeviceActor::myRepresentation
protected

◆ myShrinkFilter

vtkShrinkFilter* SVTK_DeviceActor::myShrinkFilter
protected

◆ myTransformFilter

VTKViewer_TransformFilter* SVTK_DeviceActor::myTransformFilter
protected

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