#include <VTKViewer_Actor.h>

Public Member Functions | |
| vtkTypeMacro (VTKViewer_Actor, vtkLODActor) virtual const char *getName() | |
| Get its name. More... | |
| virtual void | setName (const char *theName) |
| Name the VTKViewer_Actor. More... | |
| virtual void | SetOpacity (double theOpacity) |
| Change opacity. More... | |
| virtual double | GetOpacity () |
| Get current opacity. More... | |
| virtual void | SetColor (double r, double g, double b) |
| Change color. More... | |
| virtual void | GetColor (double &r, double &g, double &b) |
| Get current color. More... | |
| virtual void | SetColor (const double theRGB[3]) |
| Change color. More... | |
| virtual void | SetMaterial (std::vector< vtkProperty * > theProps) |
| Change material. More... | |
| virtual vtkProperty * | GetFrontMaterial () |
| Get current front material. More... | |
| virtual vtkProperty * | GetBackMaterial () |
| Get current back material. More... | |
| virtual vtkIdType | GetNodeObjId (vtkIdType theVtkID) |
| Maps VTK index of a node to corresponding object index. More... | |
| virtual double * | GetNodeCoord (vtkIdType theObjID) |
| Get coordinates of a node for given object index. More... | |
| virtual vtkIdType | GetNodeVtkId (vtkIdType theObjID) |
| Maps object index of a node to corresponding VTK index. More... | |
| virtual vtkIdType | GetElemObjId (vtkIdType theVtkID) |
| Maps VTK index of a cell to corresponding object index. More... | |
| virtual vtkCell * | GetElemCell (vtkIdType theObjID) |
| Get corresponding #vtkCell for given object index. More... | |
| virtual int | GetObjDimension (const vtkIdType theObjId) |
| Get dimension of corresponding mesh element. 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 | SetTransform (VTKViewer_Transform *theTransform) |
| Apply view transformation. More... | |
| virtual vtkMTimeType | GetMTime () |
| To calculatate last modified time. More... | |
| virtual void | SetRepresentation (int theMode) |
| Set representation (VTK_SURFACE, VTK_POINTS, VTK_WIREFRAME and so on) More... | |
| virtual int | GetRepresentation () |
| Get current representation mode. More... | |
| virtual int | getDisplayMode () |
| Get current display mode (obsolete) More... | |
| virtual void | setDisplayMode (int theMode) |
| Set display mode (obsolete) More... | |
| void | SetInfinitive (bool theIsInfinite) |
| Set infinive flag. More... | |
| virtual bool | IsInfinitive () |
| Get infinive flag. More... | |
| virtual double * | GetBounds () |
| To calcualte current bounding box. More... | |
| void | GetBounds (double bounds[6]) |
| To calcualte current bounding box. More... | |
| virtual bool | IsSetCamera () const |
| virtual bool | IsResizable () const |
| virtual void | SetSize (const double) |
| virtual void | SetCamera (vtkCamera *) |
| void | SetResolveCoincidentTopology (bool theIsResolve) |
| Set ResolveCoincidentTopology flag. More... | |
| void | SetPolygonOffsetParameters (double factor, double units) |
| Set ResolveCoincidentTopology parameters. More... | |
| void | GetPolygonOffsetParameters (double &factor, double &units) |
| Get current ResolveCoincidentTopology parameters. More... | |
| virtual void | Render (vtkRenderer *, vtkMapper *) |
| virtual double | GetShrinkFactor () |
| Get current shrink factor. More... | |
| virtual bool | IsShrunkable () |
| Is the actor is shrunkable. More... | |
| virtual bool | IsShrunk () |
| Is the actor is shrunk. More... | |
| virtual void | SetShrink () |
| Insert shrink filter into pipeline. More... | |
| virtual void | UnShrink () |
| Remove shrink filter from pipeline. More... | |
| virtual void | AddToRender (vtkRenderer *theRendere) |
| To publish the actor an all its internal devices. More... | |
| virtual void | RemoveFromRender (vtkRenderer *theRendere) |
| To remove the actor an all its internal devices. More... | |
| virtual void | GetChildActors (vtkActorCollection *) |
| Used to obtain all dependent actors. More... | |
| virtual void | EnableSelection (bool) |
| Is notified on enabling/disabling selection. More... | |
| virtual bool | hasHighlight () |
| Ask, if the descendant of the VTKViewer_Actor will implement its own highlight or not. More... | |
| virtual bool | isHighlighted () |
| Ask, if the VTKViewer_Actor is already highlighted. More... | |
| virtual bool | isPreselected () |
| Ask, if the VTKViewer_Actor is already preselected. More... | |
| virtual void | SetPreSelected (bool thePreselect=false) |
| Set preselection mode. More... | |
| virtual void | highlight (bool theHighlight) |
| Just to update visibility of the highlight devices. More... | |
| void | SetPreviewProperty (vtkProperty *theProperty) |
| virtual void | SetQuadraticArcMode (bool theFlag) |
| Setting for displaying quadratic elements. More... | |
| virtual bool | GetQuadraticArcMode () const |
| virtual void | SetQuadraticArcAngle (double theMaxAngle) |
| virtual double | GetQuadraticArcAngle () const |
| virtual vtkDataSet * | GetHighlightedDataSet () |
| Return pointer to the dataset, which used to calculation of the bounding box of the actor. More... | |
Static Public Member Functions | |
| static VTKViewer_Actor * | New () |
| static void | GetDefaultPolygonOffsetParameters (double &factor, double &units) |
| Get default ResolveCoincidentTopology parameters. More... | |
Protected Member Functions | |
| void | InitPipeLine (vtkMapper *theMapper) |
| VTKViewer_Actor () | |
| ~VTKViewer_Actor () | |
Protected Attributes | |
| bool | myIsResolveCoincidentTopology |
| double | myPolygonOffsetFactor |
| double | myPolygonOffsetUnits |
| std::string | myName |
| double | myOpacity |
| int | myDisplayMode |
| bool | myIsInfinite |
| bool | myStoreMapping |
| VTKViewer_GeometryFilter * | myGeomFilter |
| VTKViewer_TransformFilter * | myTransformFilter |
| std::vector< vtkPassThrough * > | myPassFilter |
| int | myRepresentation |
| vtkProperty * | myProperty |
| vtkProperty * | PreviewProperty |
| bool | myIsPreselected |
| bool | myIsHighlighted |
|
protected |
|
protected |
Destructor
|
virtual |
To publish the actor an all its internal devices.
To publish the actor an all its internal devices
Reimplemented in SALOME_Actor.
|
inlinevirtual |
Is notified on enabling/disabling selection.
|
virtual |
Get current back material.
Get current back material
|
virtual |
To calcualte current bounding box.
| void VTKViewer_Actor::GetBounds | ( | double | theBounds[6] | ) |
To calcualte current bounding box.
|
virtual |
Used to obtain all dependent actors.
Used to obtain all dependent actors
|
virtual |
Get current color.
Get color
|
static |
Get default ResolveCoincidentTopology parameters.
Get polygon offset parameters
| factor,units | - Opengl polygon offset parameters |
|
virtual |
Get current display mode (obsolete)
|
virtual |
Get corresponding #vtkCell for given object index.
Get corresponding #vtkCell for given object index
|
virtual |
|
virtual |
Get current front material.
Get current front material
|
virtual |
Return pointer to the dataset, which used to calculation of the bounding box of the actor.
Return pointer to the dataset, which used to calculation of the bounding box of the actor. By default it is the input dataset.
References GetInput().
|
virtual |
Allows to get initial #vtkDataSet.
Allows to get initial #vtkDataSet
|
virtual |
To calculatate last modified time.
To calculatate last modified time
|
virtual |
Get coordinates of a node for given object index.
Get coordinates of a node for given object index
|
virtual |
|
virtual |
|
virtual |
Get dimension of corresponding mesh element.
|
virtual |
Get current opacity.
| void VTKViewer_Actor::GetPolygonOffsetParameters | ( | double & | factor, |
| double & | units | ||
| ) |
Get current ResolveCoincidentTopology parameters.
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.
|
virtual |
Get current representation mode.
|
virtual |
Get current shrink factor.
|
virtual |
Ask, if the descendant of the VTKViewer_Actor will implement its own highlight or not.
|
virtual |
Just to update visibility of the highlight devices.
Just to update visibility of the highlight devices
Reimplemented in SALOME_Actor.
|
protected |
Initialization
|
virtual |
Ask, if the VTKViewer_Actor is already highlighted.
|
virtual |
Get infinive flag.
|
virtual |
Ask, if the VTKViewer_Actor is already preselected.
|
virtual |
|
virtual |
|
virtual |
Is the actor is shrunk.
|
virtual |
Is the actor is shrunkable.
|
static |
|
virtual |
To remove the actor an all its internal devices.
To remove the actor an all its internal devices
Reimplemented in SALOME_Actor.
|
virtual |
Renders actor
|
virtual |
|
virtual |
Change color.
Change color
|
virtual |
Change color.
Change color
|
virtual |
Set display mode (obsolete)
Change display mode
| void VTKViewer_Actor::SetInfinitive | ( | bool | theIsInfinite | ) |
Set infinive flag.
Infinitive means actor without size (point for example), which is not taken into account in calculation of boundaries of the scene
|
virtual |
To insert some additional filters and then sets the given #vtkMapper.
To insert some additional filters and then sets the given #vtkMapper
|
virtual |
Change material.
Change material
|
virtual |
|
virtual |
Change opacity.
| void VTKViewer_Actor::SetPolygonOffsetParameters | ( | double | factor, |
| double | units | ||
| ) |
Set ResolveCoincidentTopology parameters.
Set polygon offset parameters
| factor,units | - Opengl polygon offset parameters |
|
virtual |
Set preselection mode.
Set preselection mode
| void VTKViewer_Actor::SetPreviewProperty | ( | vtkProperty * | theProperty | ) |
|
virtual |
Set Max angle for representation 2D quadratic element as arked polygon
References myGeomFilter, and VTKViewer_GeometryFilter::SetQuadraticArcAngle().
|
virtual |
Setting for displaying quadratic elements.
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)
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, VTKViewer_POINT_SIZE, and VTKViewer::Representation::Wireframe.
| void VTKViewer_Actor::SetResolveCoincidentTopology | ( | bool | theIsResolve | ) |
Set ResolveCoincidentTopology flag.
Set ResolveCoincidentTopology flag
| theIsResolve | - new flag value |
|
virtual |
Insert shrink filter into pipeline.
Insert shrink filter into pipeline
|
virtual |
|
virtual |
Apply view transformation.
Apply view transformation
| theTransform | - view transformation |
Reimplemented in SALOME_Actor.
|
virtual |
Remove shrink filter from pipeline.
Remove shrink filter from pipeline
| VTKViewer_Actor::vtkTypeMacro | ( | VTKViewer_Actor | , |
| vtkLODActor | |||
| ) | const |
Get its name.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |