#include <VTKViewer_Trihedron.h>
Public Types | |
enum | TVisibility { eOff, eOn, eOnlyLineOn } |
Public Member Functions | |
vtkTypeMacro (VTKViewer_Trihedron, vtkObject) | |
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) |
Static Public Member Functions | |
static VTKViewer_Trihedron * | New () |
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.
Constructor
References myAxis, myPresent, VTKViewer_XAxis::New(), VTKViewer_YAxis::New(), VTKViewer_ZAxis::New(), and SetSize().
|
protected |
Const copy constructor.
|
protectedvirtual |
|
virtual |
Add to render all Axis
theRenderer | - vtkRenderer pointer |
References VTKViewer_Axis::AddToRender(), 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().
|
static |
Create new instance of VTKViewer_Trihedron.
|
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 |
|
inlinevirtual |
OFF visibility for all Axis.
|
inlinevirtual |
ON visibility for all Axis.
VTKViewer_Trihedron::vtkTypeMacro | ( | VTKViewer_Trihedron | , |
vtkObject | |||
) |
vtk type macros.
|
protected |
|
protected |
Actor collection
|
protected |
Common size for trihedron, for each axis.