This class used for internal SVTK package purpose (highlight and prehighlight)
#include <SVTK_Actor.h>

Public Member Functions | |
| vtkTypeMacro (SVTK_Actor, SVTK_DeviceActor) | |
| void | Initialize () |
| Initialiaze the instance completely. | |
| void | SetSource (vtkUnstructuredGrid *theUnstructuredGrid) |
| Allows to set an external source. | |
| vtkUnstructuredGrid * | GetSource () |
| Get its internal data set. | |
| void | MapCells (SALOME_Actor *theMapActor, const TColStd_IndexedMapOfInteger &theMapIndex) |
| Allow to recostruct selected cells from source SALOME_Actor and map of subindexes. | |
| void | MapPoints (SALOME_Actor *theMapActor, const TColStd_IndexedMapOfInteger &theMapIndex) |
| Allow to recostruct selected points from source SALOME_Actor and map of subindexes. | |
| void | MapEdge (SALOME_Actor *theMapActor, const TColStd_IndexedMapOfInteger &theMapIndex) |
| Allow to recostruct selected edges from source SALOME_Actor and map of subindexes. | |
| const TColStd_IndexedMapOfInteger & | GetMapIndex () const |
| 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_Actor * | New () |
Protected Member Functions | |
| SVTK_Actor () | |
| virtual | ~SVTK_Actor () |
| void | InitPipeLine (vtkMapper *theMapper) |
| To initialize internal pipeline. | |
| void | SetPolygonOffsetParameters (vtkFloatingPointType factor, vtkFloatingPointType units) |
| void | GetPolygonOffsetParameters (vtkFloatingPointType &factor, vtkFloatingPointType &units) |
Protected Attributes | |
| TColStd_IndexedMapOfInteger | myMapIndex |
| vtkSmartPointer < vtkUnstructuredGrid > | myUnstructuredGrid |
| 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 |
| SVTK_Actor::SVTK_Actor | ( | ) | [protected] |
Constructor
| SVTK_Actor::~SVTK_Actor | ( | ) | [protected, virtual] |
Destructor
| static SVTK_Actor* SVTK_Actor.New | ( | ) | [static] |
Reimplemented from SVTK_DeviceActor.
| SVTK_Actor.vtkTypeMacro | ( | SVTK_Actor | , |
| SVTK_DeviceActor | |||
| ) |
| void SVTK_Actor::Initialize | ( | ) |
| void SVTK_Actor::SetSource | ( | vtkUnstructuredGrid * | theUnstructuredGrid | ) |
| vtkUnstructuredGrid * SVTK_Actor::GetSource | ( | ) |
| void SVTK_Actor::MapCells | ( | SALOME_Actor * | theMapActor, |
| const TColStd_IndexedMapOfInteger & | theMapIndex | ||
| ) |
| void SVTK_Actor::MapPoints | ( | SALOME_Actor * | theMapActor, |
| const TColStd_IndexedMapOfInteger & | theMapIndex | ||
| ) |
References VTKViewer_Actor.GetNodeCoord().
| void SVTK_Actor::MapEdge | ( | SALOME_Actor * | theMapActor, |
| const TColStd_IndexedMapOfInteger & | theMapIndex | ||
| ) |
| const TColStd_IndexedMapOfInteger & SVTK_Actor::GetMapIndex | ( | ) | const |
| SVTK_DeviceActor.vtkTypeMacro | ( | SVTK_DeviceActor | , |
| vtkLODActor | |||
| ) | [inherited] |
| void SVTK_DeviceActor::SetTransform | ( | VTKViewer_Transform * | theTransform | ) | [virtual, inherited] |
Apply a view transformation
| theTransform | - transformation |
| void SVTK_DeviceActor::SetMapper | ( | vtkMapper * | theMapper | ) | [virtual, inherited] |
To insert some additional filters and then sets the given vtkMapper
| vtkDataSet * SVTK_DeviceActor::GetInput | ( | ) | [virtual, inherited] |
Allows to get initial vtkDataSet
| void SVTK_DeviceActor::SetInput | ( | vtkDataSet * | theDataSet | ) | [virtual, inherited] |
Allows to set initial vtkDataSet
| int SVTK_DeviceActor::GetNodeObjId | ( | int | theVtkID | ) | [virtual, inherited] |
Maps VTK index of a node to corresponding object index
| vtkFloatingPointType * SVTK_DeviceActor::GetNodeCoord | ( | int | theObjID | ) | [virtual, inherited] |
Get coordinates of a node for given object index
| int SVTK_DeviceActor::GetElemObjId | ( | int | theVtkID | ) | [virtual, inherited] |
Maps VTK index of a cell to corresponding object index
| vtkCell * SVTK_DeviceActor::GetElemCell | ( | int | theObjID | ) | [virtual, inherited] |
Get corresponding #vtkCell for given object index
| void SVTK_DeviceActor::SetStoreMapping | ( | bool | theStoreMapping | ) | [virtual, inherited] |
To provide VTK to Object and backward mapping
| unsigned long int SVTK_DeviceActor::GetMTime | ( | ) | [virtual, inherited] |
| vtkFloatingPointType SVTK_DeviceActor::GetShrinkFactor | ( | ) | [inherited] |
| void SVTK_DeviceActor::SetShrinkFactor | ( | vtkFloatingPointType | theValue | ) | [virtual, inherited] |
Changes shrink factor
| theValue | - new shrink factor |
| void SVTK_DeviceActor::SetShrinkable | ( | bool | theIsShrinkable | ) | [virtual, inherited] |
Changes shrinkable state of actor theIsShrinkable - new shrinkable state
| bool SVTK_DeviceActor::IsShrunkable | ( | ) | [inherited] |
| bool SVTK_DeviceActor::IsShrunk | ( | ) | [inherited] |
| void SVTK_DeviceActor::SetShrink | ( | ) | [virtual, inherited] |
Insert shrink filter into pipeline
| void SVTK_DeviceActor::UnShrink | ( | ) | [virtual, inherited] |
Remove shrink filter from pipeline
| bool SVTK_DeviceActor::IsFeatureEdgesAllowed | ( | ) | [virtual, inherited] |
| void SVTK_DeviceActor::SetFeatureEdgesAllowed | ( | bool | theIsFeatureEdgesAllowed | ) | [virtual, inherited] |
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, inherited] |
| void SVTK_DeviceActor::SetFeatureEdgesEnabled | ( | bool | theIsFeatureEdgesEnabled | ) | [virtual, inherited] |
Enables feature edges on or off
| theIsFeatureEdgesEnabled | - flag which enables feature edges on or off |
| vtkFloatingPointType SVTK_DeviceActor::GetFeatureEdgesAngle | ( | ) | [virtual, inherited] |
| void SVTK_DeviceActor::SetFeatureEdgesAngle | ( | vtkFloatingPointType | theAngle | ) | [virtual, inherited] |
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, inherited] |
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, inherited] |
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, inherited] |
| void SVTK_DeviceActor::SetFeatureEdgesColoring | ( | bool | theIsColoring | ) | [virtual, inherited] |
Sets feature edges' coloring flag
| theIsColoring | feature edges' coloring flag |
| void SVTK_DeviceActor::SetRepresentation | ( | SVTK::Representation::Type | theMode | ) | [virtual, inherited] |
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 | ( | ) | [inherited] |
| vtkFloatingPointType SVTK_DeviceActor::GetDefaultPointSize | ( | ) | [virtual, inherited] |
| vtkFloatingPointType SVTK_DeviceActor::GetDefaultLineWidth | ( | ) | [virtual, inherited] |
| bool SVTK_DeviceActor::IsShaded | ( | ) | [inherited] |
| void SVTK_DeviceActor::SetShaded | ( | bool | theShaded | ) | [inherited] |
Sets shaded state of actor
| theShaded | - new shaded state |
| void SVTK_DeviceActor::SetMarkerEnabled | ( | bool | theMarkerEnabled | ) | [inherited] |
Set point marker enabled
| theMarkerEnabled | flag to enable/disable point marker |
| void SVTK_DeviceActor::SetMarkerStd | ( | VTK::MarkerType | theMarkerType, |
| VTK::MarkerScale | theMarkerScale | ||
| ) | [inherited] |
Set standard point marker
| theMarkerType | type of the marker |
| theMarkerScale | scale of the marker |
| void SVTK_DeviceActor::SetMarkerTexture | ( | int | theMarkerId, |
| VTK::MarkerTexture | theMarkerTexture | ||
| ) | [inherited] |
Set custom point marker
| theMarkerId | id of the marker texture |
| theMarkerTexture | marker texture |
| VTK::MarkerType SVTK_DeviceActor::GetMarkerType | ( | ) | [inherited] |
Get type of the point marker
| VTK::MarkerScale SVTK_DeviceActor::GetMarkerScale | ( | ) | [inherited] |
Get scale of the point marker
| int SVTK_DeviceActor::GetMarkerTexture | ( | ) | [inherited] |
Get texture identifier of the point marker
| void SVTK_DeviceActor::Render | ( | vtkRenderer * | ren, |
| vtkMapper * | m | ||
| ) | [virtual, inherited] |
Renders actor
| VTKViewer_DataSetMapper * SVTK_DeviceActor::GetDataSetMapper | ( | ) | [inherited] |
| void SVTK_DeviceActor::SetQuadraticArcMode | ( | bool | theFlag | ) | [virtual, inherited] |
On/Off representation 2D quadratic element as arked polygon
| bool SVTK_DeviceActor::GetQuadraticArcMode | ( | ) | [virtual, inherited] |
Return true if 2D quadratic element displayed as arked polygon
| void SVTK_DeviceActor::SetQuadraticArcAngle | ( | vtkFloatingPointType | theMaxAngle | ) | [virtual, inherited] |
Set Max angle for representation 2D quadratic element as arked polygon
| vtkFloatingPointType SVTK_DeviceActor::GetQuadraticArcAngle | ( | ) | [virtual, inherited] |
Return Max angle of the representation 2D quadratic element as arked polygon
| void SVTK_DeviceActor::InitPipeLine | ( | vtkMapper * | theMapper | ) | [protected, inherited] |
To initialize internal pipeline
| void SVTK_DeviceActor::SetPolygonOffsetParameters | ( | vtkFloatingPointType | factor, |
| vtkFloatingPointType | units | ||
| ) | [protected, inherited] |
Set polygon offset parameters
| factor,units | - Opengl polygon offset parameters |
| void SVTK_DeviceActor::GetPolygonOffsetParameters | ( | vtkFloatingPointType & | factor, |
| vtkFloatingPointType & | units | ||
| ) | [protected, inherited] |
Get polygon offset parameters
| factor,units | - Opengl polygon offset parameters |
TColStd_IndexedMapOfInteger SVTK_Actor.myMapIndex [protected] |
vtkSmartPointer<vtkUnstructuredGrid> SVTK_Actor.myUnstructuredGrid [protected] |
SVTK::Representation::Type SVTK_DeviceActor.myRepresentation [protected, inherited] |
vtkProperty* SVTK_DeviceActor.myProperty [protected, inherited] |
bool SVTK_DeviceActor.myIsShaded [protected, inherited] |
VTKViewer_GeometryFilter* SVTK_DeviceActor.myGeomFilter [protected, inherited] |
VTKViewer_TransformFilter* SVTK_DeviceActor.myTransformFilter [protected, inherited] |
std::vector<vtkPassThroughFilter*> SVTK_DeviceActor.myPassFilter [protected, inherited] |
vtkShrinkFilter* SVTK_DeviceActor.myShrinkFilter [protected, inherited] |
vtkFeatureEdges* SVTK_DeviceActor.myFeatureEdges [protected, inherited] |
VTKViewer_DataSetMapper* SVTK_DeviceActor.myMapper [protected, inherited] |
bool SVTK_DeviceActor.myIsShrinkable [protected, inherited] |
bool SVTK_DeviceActor.myIsShrunk [protected, inherited] |
bool SVTK_DeviceActor.myIsFeatureEdgesAllowed [protected, inherited] |
bool SVTK_DeviceActor.myIsFeatureEdgesEnabled [protected, inherited] |
bool SVTK_DeviceActor.myIsResolveCoincidentTopology [protected, inherited] |
vtkFloatingPointType SVTK_DeviceActor.myPolygonOffsetFactor [protected, inherited] |
vtkFloatingPointType SVTK_DeviceActor.myPolygonOffsetUnits [protected, inherited] |