#include <VTKViewer_Trihedron.h>

Public Types | |
| enum | Axis { X = 0 , Y , Z } |
| enum | TVisibility { eOff , eOn , eOnlyLineOn } |
Public Member Functions | |
| vtkTypeMacro (VTKViewer_Trihedron, vtkObject) static VTKViewer_Trihedron *New() | |
| virtual void | SetSize (double theSize) |
| virtual double | GetSize () |
| virtual void | SetVisibility (TVisibility theVis) |
| virtual void | VisibilityOff () |
| virtual void | VisibilityOn () |
| virtual TVisibility | GetVisibility () |
| virtual void | AddToRender (vtkRenderer *theRenderer) |
| virtual void | RemoveFromRender (vtkRenderer *theRenderer) |
| virtual int | GetVisibleActorCount (vtkRenderer *theRenderer) |
| virtual bool | OwnActor (const vtkActor *theActor) |
| virtual void | SetTextColor (Axis axis, double theRed, double theGreen, double theBlue) |
Protected Member Functions | |
| VTKViewer_Trihedron () | |
| VTKViewer_Trihedron (const VTKViewer_Trihedron &) | |
| virtual | ~VTKViewer_Trihedron () |
Protected Attributes | |
| vtkActorCollection * | myPresent |
| VTKViewer_Axis * | myAxis [3] |
| double | mySize |
This class provide support trihedron object in vtk viewer.
|
protected |
Initialize fields by default values.
|
protected |
Const copy constructor.
|
protectedvirtual |
|
virtual |
Add to render all Axis
| theRenderer | - vtkRenderer pointer |
References myAxis, and VTKViewer_Axis::SetCamera().
|
inlinevirtual |
Get size of trihedron.
| mySize | - double value |
|
virtual |
Gets visibility of myAxis[0] actor.
References VTKViewer_Axis::GetVisibility(), and myAxis.
|
virtual |
Return count of visible actors.
| theRenderer | - vtkRenderer pointer |
Reimplemented in SVTK_Trihedron.
References VTK::ActorCollectionCopy::GetActors(), and OwnActor().
|
virtual |
Check if actor belongs to the trihedron object
| theActor | - vtkActor pointer |
| Return | true if the actor belongs to the trihedron object |
Check if actor belongs to the axis object
| theActor | - vtkActor pointer |
| Return | true if the actor belongs to the axis object |
|
virtual |
|
virtual |
|
virtual |
Sets a color to a text for the given axis
| axis | - axis to change a text color |
| theRed | - red color component |
| theGreen | - green color component |
| theBlue | - blue color component |
References myAxis, and VTKViewer_Axis::SetTextColor().
|
virtual |
|
inlinevirtual |
OFF visibility for all Axis.
|
inlinevirtual |
ON visibility for all Axis.
| VTKViewer_Trihedron::vtkTypeMacro | ( | VTKViewer_Trihedron | , |
| vtkObject | |||
| ) |
vtk type macros.
Create new instance of VTKViewer_Trihedron.
|
protected |
|
protected |
Actor collection
|
protected |
Common size for trihedron, for each axis.