#include <SVTK_DeviceActor.h>

Public Member Functions | |
| 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_DataSetMapper * | GetDataSetMapper () |
| 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) |
For selection mapping purpose | |
| 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... | |
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 | |
| 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_DeviceActor * | New () |
Protected Member Functions | |
| 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 | |
| VTKViewer::Representation::Type | myRepresentation |
| vtkProperty * | myProperty |
| bool | myIsShaded |
| VTKViewer_GeometryFilter * | myGeomFilter |
| VTKViewer_TransformFilter * | myTransformFilter |
| std::vector < vtkPassThroughFilter * > | myPassFilter |
| vtkShrinkFilter * | myShrinkFilter |
| vtkFeatureEdges * | myFeatureEdges |
| VTKViewer_DataSetMapper * | myMapper |
| bool | myIsShrinkable |
| bool | myIsShrunk |
| bool | myIsFeatureEdgesAllowed |
| bool | myIsFeatureEdgesEnabled |
| bool | myIsResolveCoincidentTopology |
| double | myPolygonOffsetFactor |
| double | myPolygonOffsetUnits |
Private Member Functions | |
| SVTK_DeviceActor (const SVTK_DeviceActor &) | |
| void | operator= (const SVTK_DeviceActor &) |
|
protected |
Constructor
References VTKViewer_DataSetMapper::New(), VTKViewer_TransformFilter::New(), VTKViewer_GeometryFilter::New(), and VTKViewer::Representation::Surface.
|
protected |
Destructor
|
private |
| VTKViewer_DataSetMapper * SVTK_DeviceActor::GetDataSetMapper | ( | ) |
References myMapper.
|
virtual |
|
virtual |
|
virtual |
Get corresponding #vtkCell for given object index
|
virtual |
Maps VTK index of a cell to corresponding object index
|
virtual |
|
virtual |
|
virtual |
Gets information about kinds of edges which are displayed by feature edges' filter
| theIsFeatureEdges | flag which shows whether feature edges are displayed |
| theIsBoundaryEdges | flag which shows whether boundary edges are displayed |
| theIsManifoldEdges | flag which shows whether manifold edges are displayed |
| theIsNonManifoldEdges | flag which shows whether non-manifold edges are displayed |
|
virtual |
Allows to get initial vtkDataSet
| VTK::MarkerScale SVTK_DeviceActor::GetMarkerScale | ( | ) |
Get scale of the point marker
References VTKViewer_DataSetMapper::GetMarkerScale(), and myMapper.
| int SVTK_DeviceActor::GetMarkerTexture | ( | ) |
Get texture identifier of the point marker
References VTKViewer_DataSetMapper::GetMarkerTexture(), and myMapper.
| VTK::MarkerType SVTK_DeviceActor::GetMarkerType | ( | ) |
Get type of the point marker
References VTKViewer_DataSetMapper::GetMarkerType(), and myMapper.
|
virtual |
|
virtual |
Get coordinates of a node for given object index
|
virtual |
Maps VTK index of a node to corresponding object index
|
protected |
Get polygon offset parameters
| factor,units | - Opengl polygon offset parameters |
|
virtual |
Return Max angle of the representation 2D quadratic element as arked polygon
References VTKViewer_GeometryFilter::GetQuadraticArcAngle(), and myGeomFilter.
|
virtual |
Return true if 2D quadratic element displayed as arked polygon
References VTKViewer_GeometryFilter::GetQuadraticArcMode(), and myGeomFilter.
| VTKViewer::Representation::Type SVTK_DeviceActor::GetRepresentation | ( | ) |
| double SVTK_DeviceActor::GetShrinkFactor | ( | ) |
|
protected |
To initialize internal pipeline
|
virtual |
References VTKViewer_GeometryFilter::GetAppendCoincident3D(), and myGeomFilter.
|
virtual |
|
virtual |
| bool SVTK_DeviceActor::IsShaded | ( | ) |
| bool SVTK_DeviceActor::IsShrunk | ( | ) |
| bool SVTK_DeviceActor::IsShrunkable | ( | ) |
|
static |
|
private |
|
virtual |
Renders actor
| void SVTK_DeviceActor::SetBallEnabled | ( | bool | theBallEnabled | ) |
Set ball drawing enabled
| theBallEnabled | flag to enable/disable balls |
References myMapper, and VTKViewer_DataSetMapper::SetBallEnabled().
| void SVTK_DeviceActor::SetBallScale | ( | double | theBallScale | ) |
Set ball scale factor
| theBallScale | double value a scale factor of ball element |
References myMapper, and VTKViewer_DataSetMapper::SetBallScale().
|
virtual |
References myGeomFilter, and VTKViewer_GeometryFilter::SetAppendCoincident3D().
|
virtual |
Allows feature edges for this actor on or off
| theIsFeatureEdgesAllowed | - flag which allows feature edges for this actor on or off |
|
virtual |
Sets angle of feature edges' filter
| theAngle | angle of feature edges' filter |
|
virtual |
Sets feature edges' coloring flag
| theIsColoring | feature edges' coloring flag |
|
virtual |
Enables feature edges on or off
| theIsFeatureEdgesEnabled | - flag which enables feature edges on or off |
|
virtual |
Sets different kinds of edges to be displayed by feature edges' filter
| theIsFeatureEdges | flag which displays feature edges |
| theIsBoundaryEdges | flag which displays boundary edges |
| theIsManifoldEdges | flag which displays manifold edges |
| theIsNonManifoldEdges | flag which displays non-manifold edges |
|
virtual |
Allows to set initial vtkDataSet
|
virtual |
Allows to set initial vtkDataSet
|
virtual |
To insert some additional filters and then sets the given vtkMapper
| void SVTK_DeviceActor::SetMarkerEnabled | ( | bool | theMarkerEnabled | ) |
Set point marker enabled
| theMarkerEnabled | flag to enable/disable point marker |
References myMapper, and VTKViewer_DataSetMapper::SetMarkerEnabled().
| void SVTK_DeviceActor::SetMarkerStd | ( | VTK::MarkerType | theMarkerType, |
| VTK::MarkerScale | theMarkerScale | ||
| ) |
Set standard point marker
| theMarkerType | type of the marker |
| theMarkerScale | scale of the marker |
References myMapper, and VTKViewer_DataSetMapper::SetMarkerStd().
| void SVTK_DeviceActor::SetMarkerTexture | ( | int | theMarkerId, |
| VTK::MarkerTexture | theMarkerTexture | ||
| ) |
Set custom point marker
| theMarkerId | id of the marker texture |
| theMarkerTexture | marker texture |
References myMapper, and VTKViewer_DataSetMapper::SetMarkerTexture().
|
protected |
Set polygon offset parameters
| factor,units | - Opengl polygon offset parameters |
|
virtual |
Set Max angle for representation 2D quadratic element as arked polygon
References myGeomFilter, and VTKViewer_GeometryFilter::SetQuadraticArcAngle().
|
virtual |
On/Off representation 2D quadratic element as arked polygon
References myGeomFilter, and VTKViewer_GeometryFilter::SetQuadraticArcMode().
|
virtual |
Set representation (VTK_SURFACE, VTK_POINTS, VTK_WIREFRAME and so on) param theMode - new mode
References VTKViewer::Representation::Insideframe, VTKViewer::Representation::Points, VTKViewer::Representation::Surface, VTKViewer::Representation::SurfaceWithEdges, and VTKViewer::Representation::Wireframe.
| void SVTK_DeviceActor::SetResolveCoincidentTopology | ( | bool | theIsResolve | ) |
| void SVTK_DeviceActor::SetShaded | ( | bool | theShaded | ) |
Sets shaded state of actor
| theShaded | - new shaded state |
|
virtual |
Insert shrink filter into pipeline
|
virtual |
Changes shrinkable state of actor theIsShrinkable - new shrinkable state
|
virtual |
Changes shrink factor
| theValue | - new shrink factor |
|
virtual |
To provide VTK to Object and backward mapping
References myGeomFilter, and VTKViewer_GeometryFilter::SetStoreMapping().
|
virtual |
Apply a view transformation
| theTransform | - transformation |
|
virtual |
Remove shrink filter from pipeline
| SVTK_DeviceActor::vtkTypeMacro | ( | SVTK_DeviceActor | , |
| vtkLODActor | |||
| ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |