#include <VTKViewer_Trihedron.h>

Public Member Functions | |
| vtkTypeMacro (VTKViewer_Axis, vtkObject) | |
| virtual void | AddToRender (vtkRenderer *theRenderer) | 
| virtual void | RemoveFromRender (vtkRenderer *theRenderer) | 
| virtual void | SetVisibility (VTKViewer_Trihedron::TVisibility theVis) | 
| virtual  VTKViewer_Trihedron::TVisibility  | GetVisibility () | 
| virtual void | SetCamera (vtkCamera *theCamera) | 
| virtual void | SetColor (double theRed, double theGreen, double theBlue) | 
| virtual void | SetSize (double theSize) | 
| virtual vtkTextActor * | GetLabel () | 
| virtual vtkFollower * | GetArrow () | 
| virtual bool | OwnActor (const vtkActor *theActor) | 
Protected Member Functions | |
| VTKViewer_Axis () | |
| VTKViewer_Axis (const VTKViewer_Axis &) | |
| virtual | ~VTKViewer_Axis () | 
Protected Attributes | |
| VTKViewer_Trihedron::TVisibility | myVisibility | 
| double | myDir [3] | 
| double | myRot [3] | 
| VTKViewer_LineActor * | myLineActor | 
| vtkFollower * | myArrowActor | 
| vtkTextActor * | myLabelActor | 
| vtkPolyDataMapper * | myMapper [3] | 
| vtkLineSource * | myLineSource | 
| vtkConeSource * | myConeSource | 
| vtkTextMapper * | myTextMapper | 
The base class for concreate Axis. Its only duty is to give correct initialization and destruction of its pipe-lines
      
  | 
  protected | 
Constructor
References VTKViewer_Trihedron::eOn, myArrowActor, myConeSource, myLabelActor, myLineActor, myLineSource, myMapper, myTextMapper, myVisibility, VTKViewer_UnScaledActor::New(), VTKViewer_LineActor::New(), VTKViewer_LineActor::SetArrowActor(), and VTKViewer_LineActor::SetLabelActor().
      
  | 
  protected | 
      
  | 
  protectedvirtual | 
Destructor
References myArrowActor, myConeSource, myLabelActor, myLineActor, myLineSource, myMapper, and myTextMapper.
      
  | 
  virtual | 
Add to theRenderer actors: myLineActor,myLabelActor,myArrowActor
Add to renderer
| theRenderer | - vtkRenderer pointer | 
References myArrowActor, myLabelActor, and myLineActor.
      
  | 
  inlinevirtual | 
Get arrow actor.
| Return | myArrowActor | 
      
  | 
  inlinevirtual | 
Get label actor.
| Return | myLabelActor. | 
      
  | 
  inlinevirtual | 
Return visibility of VTKViewer_Axis
| myVisibility | 
      
  | 
  virtual | 
Check if actor belongs to the axis object
| theActor | - vtkActor pointer | 
| Return | true if the actor belongs to the axis object | 
References myArrowActor, myLabelActor, and myLineActor.
      
  | 
  virtual | 
Remove actor of acis from theRenderer which are in myPresent.
| theRenderer | - vtkRenderer pointer | 
References myArrowActor, myLabelActor, and myLineActor.
      
  | 
  virtual | 
Set camera for myLabelActor
References myLabelActor.
      
  | 
  virtual | 
Sets color for actors: myLineActor,myLabelActor,myArrowActor
| theRed | - red component of the color | 
| theGreen | - green component of the color | 
| theBlue | - blue component of the color | 
Sets color for actors: myLineActor,myLabelActor,myArrowActor
References myArrowActor, myLabelActor, and myLineActor.
      
  | 
  virtual | 
Set size of VTKViewer_Axis
References myArrowActor, myDir, myLabelActor, myLineSource, and myRot.
      
  | 
  virtual | 
Sets visibility for actors: myLineActor,myLabelActor,myArrowActor
Sets visibility for all Axis to theVis
References VTKViewer_Trihedron::eOff, VTKViewer_Trihedron::eOn, VTKViewer_Trihedron::eOnlyLineOn, myArrowActor, myLabelActor, myLineActor, and myVisibility.
| VTKViewer_Axis::vtkTypeMacro | ( | VTKViewer_Axis | , | 
| vtkObject | |||
| ) | 
vtk type macros.
      
  | 
  protected | 
vtkFollower actor pointer
      
  | 
  protected | 
vtkConeSource pointer (Arrow)
      
  | 
  protected | 
Direction vector
      
  | 
  protected | 
VTKViewer_UnScaledActor actor pointer
      
  | 
  protected | 
VTKViewer_LineActor actor pointer
      
  | 
  protected | 
vtkLineSource pointer (Line)
      
  | 
  protected | 
      
  | 
  protected | 
Orientation vector
      
  | 
  protected | 
vtkTextMapper pointer (Label)
      
  | 
  protected | 
Visibility flag.