#include <SVTK_DeviceActor.h>

Public Member Functions | |
| vtkTypeMacro (SVTK_DeviceActor, vtkLODActor) | |
| virtual void | SetTransform (VTKViewer_Transform *theTransform) |
| Apply a view transformation. | |
| virtual void | SetMapper (vtkMapper *theMapper) |
| To insert some additional filters and then sets the given #vtkMapper. | |
| virtual vtkDataSet * | GetInput () |
| Allows to get initial #vtkDataSet. | |
| virtual void | SetInput (vtkDataSet *theDataSet) |
| Allows to set initial #vtkDataSet. | |
| virtual unsigned long int | GetMTime () |
| virtual void | Render (vtkRenderer *, vtkMapper *) |
| VTKViewer_DataSetMapper * | GetDataSetMapper () |
| virtual void | SetQuadraticArcMode (bool theFlag) |
| Setting for displaying quadratic elements. | |
| virtual bool | GetQuadraticArcMode () |
| virtual void | SetQuadraticArcAngle (vtkFloatingPointType theMaxAngle) |
| virtual vtkFloatingPointType | GetQuadraticArcAngle () |
For selection mapping purpose | |
| virtual int | GetNodeObjId (int theVtkID) |
| virtual vtkFloatingPointType * | 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. | |
For shrink mamnagement purpose | |
| vtkFloatingPointType | GetShrinkFactor () |
| virtual void | SetShrinkFactor (vtkFloatingPointType 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 vtkFloatingPointType | GetFeatureEdgesAngle () |
| virtual void | SetFeatureEdgesAngle (vtkFloatingPointType 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 (SVTK::Representation::Type theMode) |
| SVTK::Representation::Type | GetRepresentation () |
| virtual vtkFloatingPointType | GetDefaultPointSize () |
| virtual vtkFloatingPointType | GetDefaultLineWidth () |
| bool | IsShaded () |
| void | SetShaded (bool theShaded) |
For marker management purpose | |
| void | SetMarkerEnabled (bool) |
| 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. | |
| void | SetPolygonOffsetParameters (vtkFloatingPointType factor, vtkFloatingPointType units) |
| void | GetPolygonOffsetParameters (vtkFloatingPointType &factor, vtkFloatingPointType &units) |
| SVTK_DeviceActor () | |
| ~SVTK_DeviceActor () | |
Protected Attributes | |
| SVTK::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 |
| vtkFloatingPointType | myPolygonOffsetFactor |
| vtkFloatingPointType | myPolygonOffsetUnits |
Private Member Functions | |
| SVTK_DeviceActor (const SVTK_DeviceActor &) | |
| void | operator= (const SVTK_DeviceActor &) |
| SVTK_DeviceActor::SVTK_DeviceActor | ( | ) | [protected] |
Constructor
References VTKViewer_TransformFilter.New(), VTKViewer_GeometryFilter.New(), VTKViewer_DataSetMapper.New(), and SVTK.Representation.Surface.
| SVTK_DeviceActor::~SVTK_DeviceActor | ( | ) | [protected] |
Destructor
| SVTK_DeviceActor.SVTK_DeviceActor | ( | const SVTK_DeviceActor & | ) | [private] |
| SVTK_DeviceActor.vtkTypeMacro | ( | SVTK_DeviceActor | , |
| vtkLODActor | |||
| ) |
| static SVTK_DeviceActor* SVTK_DeviceActor.New | ( | ) | [static] |
Reimplemented in SVTK_Actor.
| void SVTK_DeviceActor::SetTransform | ( | VTKViewer_Transform * | theTransform | ) | [virtual] |
Apply a view transformation
| theTransform | - transformation |
| void SVTK_DeviceActor::SetMapper | ( | vtkMapper * | theMapper | ) | [virtual] |
To insert some additional filters and then sets the given vtkMapper
| vtkDataSet * SVTK_DeviceActor::GetInput | ( | ) | [virtual] |
Allows to get initial vtkDataSet
| void SVTK_DeviceActor::SetInput | ( | vtkDataSet * | theDataSet | ) | [virtual] |
Allows to set initial vtkDataSet
| int SVTK_DeviceActor::GetNodeObjId | ( | int | theVtkID | ) | [virtual] |
Maps VTK index of a node to corresponding object index
| vtkFloatingPointType * SVTK_DeviceActor::GetNodeCoord | ( | int | theObjID | ) | [virtual] |
Get coordinates of a node for given object index
| int SVTK_DeviceActor::GetElemObjId | ( | int | theVtkID | ) | [virtual] |
Maps VTK index of a cell to corresponding object index
| vtkCell * SVTK_DeviceActor::GetElemCell | ( | int | theObjID | ) | [virtual] |
Get corresponding #vtkCell for given object index
| void SVTK_DeviceActor::SetStoreMapping | ( | bool | theStoreMapping | ) | [virtual] |
To provide VTK to Object and backward mapping
| unsigned long int SVTK_DeviceActor::GetMTime | ( | ) | [virtual] |
| vtkFloatingPointType SVTK_DeviceActor::GetShrinkFactor | ( | ) |
| void SVTK_DeviceActor::SetShrinkFactor | ( | vtkFloatingPointType | theValue | ) | [virtual] |
Changes shrink factor
| theValue | - new shrink factor |
| void SVTK_DeviceActor::SetShrinkable | ( | bool | theIsShrinkable | ) | [virtual] |
Changes shrinkable state of actor theIsShrinkable - new shrinkable state
| bool SVTK_DeviceActor::IsShrunkable | ( | ) |
| bool SVTK_DeviceActor::IsShrunk | ( | ) |
| void SVTK_DeviceActor::SetShrink | ( | ) | [virtual] |
Insert shrink filter into pipeline
| void SVTK_DeviceActor::UnShrink | ( | ) | [virtual] |
Remove shrink filter from pipeline
| bool SVTK_DeviceActor::IsFeatureEdgesAllowed | ( | ) | [virtual] |
| void SVTK_DeviceActor::SetFeatureEdgesAllowed | ( | bool | theIsFeatureEdgesAllowed | ) | [virtual] |
Allows feature edges for this actor on or off
| theIsFeatureEdgesAllowed | - flag which allows feature edges for this actor on or off |
| bool SVTK_DeviceActor::IsFeatureEdgesEnabled | ( | ) | [virtual] |
| void SVTK_DeviceActor::SetFeatureEdgesEnabled | ( | bool | theIsFeatureEdgesEnabled | ) | [virtual] |
Enables feature edges on or off
| theIsFeatureEdgesEnabled | - flag which enables feature edges on or off |
| vtkFloatingPointType SVTK_DeviceActor::GetFeatureEdgesAngle | ( | ) | [virtual] |
| void SVTK_DeviceActor::SetFeatureEdgesAngle | ( | vtkFloatingPointType | theAngle | ) | [virtual] |
Sets angle of feature edges' filter
| theAngle | angle of feature edges' filter |
| 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
| 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 |
| 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
| 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 |
| bool SVTK_DeviceActor::GetFeatureEdgesColoring | ( | ) | [virtual] |
| void SVTK_DeviceActor::SetFeatureEdgesColoring | ( | bool | theIsColoring | ) | [virtual] |
Sets feature edges' coloring flag
| theIsColoring | feature edges' coloring flag |
| void SVTK_DeviceActor::SetRepresentation | ( | SVTK::Representation::Type | theMode | ) | [virtual] |
Set representation (VTK_SURFACE, VTK_POINTS, VTK_WIREFRAME and so on) param theMode - new mode
References SVTK.Representation.Insideframe, SVTK.Representation.Points, SVTK.Representation.Surface, and SVTK.Representation.Wireframe.
| SVTK::Representation::Type SVTK_DeviceActor::GetRepresentation | ( | ) |
| vtkFloatingPointType SVTK_DeviceActor::GetDefaultPointSize | ( | ) | [virtual] |
| vtkFloatingPointType SVTK_DeviceActor::GetDefaultLineWidth | ( | ) | [virtual] |
| bool SVTK_DeviceActor::IsShaded | ( | ) |
| void SVTK_DeviceActor::SetShaded | ( | bool | theShaded | ) |
Sets shaded state of actor
| theShaded | - new shaded state |
| void SVTK_DeviceActor::SetMarkerEnabled | ( | bool | theMarkerEnabled | ) |
Set point marker enabled
| theMarkerEnabled | flag to enable/disable point marker |
| void SVTK_DeviceActor::SetMarkerStd | ( | VTK::MarkerType | theMarkerType, |
| VTK::MarkerScale | theMarkerScale | ||
| ) |
Set standard point marker
| theMarkerType | type of the marker |
| theMarkerScale | scale of the marker |
| void SVTK_DeviceActor::SetMarkerTexture | ( | int | theMarkerId, |
| VTK::MarkerTexture | theMarkerTexture | ||
| ) |
Set custom point marker
| theMarkerId | id of the marker texture |
| theMarkerTexture | marker texture |
| VTK::MarkerType SVTK_DeviceActor::GetMarkerType | ( | ) |
Get type of the point marker
| VTK::MarkerScale SVTK_DeviceActor::GetMarkerScale | ( | ) |
Get scale of the point marker
| int SVTK_DeviceActor::GetMarkerTexture | ( | ) |
Get texture identifier of the point marker
| void SVTK_DeviceActor::Render | ( | vtkRenderer * | ren, |
| vtkMapper * | m | ||
| ) | [virtual] |
Renders actor
| VTKViewer_DataSetMapper * SVTK_DeviceActor::GetDataSetMapper | ( | ) |
| void SVTK_DeviceActor::SetQuadraticArcMode | ( | bool | theFlag | ) | [virtual] |
On/Off representation 2D quadratic element as arked polygon
| bool SVTK_DeviceActor::GetQuadraticArcMode | ( | ) | [virtual] |
Return true if 2D quadratic element displayed as arked polygon
| void SVTK_DeviceActor::SetQuadraticArcAngle | ( | vtkFloatingPointType | theMaxAngle | ) | [virtual] |
Set Max angle for representation 2D quadratic element as arked polygon
| vtkFloatingPointType SVTK_DeviceActor::GetQuadraticArcAngle | ( | ) | [virtual] |
Return Max angle of the representation 2D quadratic element as arked polygon
| void SVTK_DeviceActor::InitPipeLine | ( | vtkMapper * | theMapper | ) | [protected] |
To initialize internal pipeline
| void SVTK_DeviceActor::SetPolygonOffsetParameters | ( | vtkFloatingPointType | factor, |
| vtkFloatingPointType | units | ||
| ) | [protected] |
Set polygon offset parameters
| factor,units | - Opengl polygon offset parameters |
| void SVTK_DeviceActor::GetPolygonOffsetParameters | ( | vtkFloatingPointType & | factor, |
| vtkFloatingPointType & | units | ||
| ) | [protected] |
Get polygon offset parameters
| factor,units | - Opengl polygon offset parameters |
| void SVTK_DeviceActor.operator= | ( | const SVTK_DeviceActor & | ) | [private] |
vtkProperty* SVTK_DeviceActor.myProperty [protected] |
bool SVTK_DeviceActor.myIsShaded [protected] |
VTKViewer_GeometryFilter* SVTK_DeviceActor.myGeomFilter [protected] |
std::vector<vtkPassThroughFilter*> SVTK_DeviceActor.myPassFilter [protected] |
vtkShrinkFilter* SVTK_DeviceActor.myShrinkFilter [protected] |
vtkFeatureEdges* SVTK_DeviceActor.myFeatureEdges [protected] |
VTKViewer_DataSetMapper* SVTK_DeviceActor.myMapper [protected] |
bool SVTK_DeviceActor.myIsShrinkable [protected] |
bool SVTK_DeviceActor.myIsShrunk [protected] |
bool SVTK_DeviceActor.myIsFeatureEdgesAllowed [protected] |
bool SVTK_DeviceActor.myIsFeatureEdgesEnabled [protected] |
bool SVTK_DeviceActor.myIsResolveCoincidentTopology [protected] |