Version: 6.3.1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

VTKViewer_ZAxis Class Reference

Z Axis actor.

Inheritance diagram for VTKViewer_ZAxis:
Inheritance graph

Public Member Functions

 vtkTypeMacro (VTKViewer_ZAxis, VTKViewer_Axis)
 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 (vtkFloatingPointType theSize)
virtual vtkTextActor * GetLabel ()
virtual vtkFollowerGetArrow ()
virtual bool OwnActor (const vtkActor *theActor)

Static Public Member Functions

static VTKViewer_ZAxisNew ()

Protected Member Functions

 VTKViewer_ZAxis ()
 VTKViewer_ZAxis (const VTKViewer_ZAxis &)

Protected Attributes

VTKViewer_Trihedron::TVisibility myVisibility
vtkFloatingPointType myDir [3]
vtkFloatingPointType myRot [3]
VTKViewer_LineActormyLineActor
vtkFollowermyArrowActor
vtkTextActor * myLabelActor
vtkPolyDataMapper * myMapper [3]
vtkLineSource * myLineSource
vtkConeSource * myConeSource
vtkTextMapper * myTextMapper

Constructor & Destructor Documentation

VTKViewer_ZAxis::VTKViewer_ZAxis ( ) [protected]
VTKViewer_ZAxis.VTKViewer_ZAxis ( const VTKViewer_ZAxis ) [protected]

Member Function Documentation

VTKViewer_ZAxis.vtkTypeMacro ( VTKViewer_ZAxis  ,
VTKViewer_Axis   
)
static VTKViewer_ZAxis* VTKViewer_ZAxis.New ( ) [static]
VTKViewer_Axis.vtkTypeMacro ( VTKViewer_Axis  ,
vtkObject   
) [inherited]

vtk type macros.

void VTKViewer_Axis::AddToRender ( vtkRenderer *  theRenderer) [virtual, inherited]

Add to theRenderer actors: myLineActor,myLabelActor,myArrowActor

Add to renderer

Parameters:
theRenderer- vtkRenderer pointer

  • Order of the calls are important

References VTKViewer_Axis.myArrowActor, VTKViewer_Axis.myLabelActor, and VTKViewer_Axis.myLineActor.

void VTKViewer_Axis::RemoveFromRender ( vtkRenderer *  theRenderer) [virtual, inherited]

Remove actor of acis from theRenderer which are in myPresent.

Parameters:
theRenderer- vtkRenderer pointer

  • Order of the calls are important

References VTKViewer_Axis.myArrowActor, VTKViewer_Axis.myLabelActor, and VTKViewer_Axis.myLineActor.

void VTKViewer_Axis::SetVisibility ( VTKViewer_Trihedron::TVisibility  theVis) [virtual, inherited]

Sets visibility for actors: myLineActor,myLabelActor,myArrowActor

Sets visibility for all Axis to theVis

References VTKViewer_Trihedron.eOff, VTKViewer_Trihedron.eOn, VTKViewer_Trihedron.eOnlyLineOn, VTKViewer_Axis.myArrowActor, VTKViewer_Axis.myLabelActor, VTKViewer_Axis.myLineActor, and VTKViewer_Axis.myVisibility.

virtual VTKViewer_Trihedron::TVisibility VTKViewer_Axis.GetVisibility ( ) [virtual, inherited]

Return visibility of VTKViewer_Axis

Return values:
myVisibility
void VTKViewer_Axis::SetCamera ( vtkCamera *  theCamera) [virtual, inherited]

Set camera for myLabelActor

References VTKViewer_Axis.myLabelActor.

void VTKViewer_Axis::SetColor ( double  theRed,
double  theGreen,
double  theBlue 
) [virtual, inherited]

Sets color for actors: myLineActor,myLabelActor,myArrowActor

Parameters:
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 VTKViewer_Axis.myArrowActor, VTKViewer_Axis.myLabelActor, and VTKViewer_Axis.myLineActor.

void VTKViewer_Axis::SetSize ( vtkFloatingPointType  theSize) [virtual, inherited]
virtual vtkTextActor* VTKViewer_Axis.GetLabel ( ) [virtual, inherited]

Get label actor.

Return values:
ReturnmyLabelActor.
virtual vtkFollower* VTKViewer_Axis.GetArrow ( ) [virtual, inherited]

Get arrow actor.

Return values:
ReturnmyArrowActor
bool VTKViewer_Axis::OwnActor ( const vtkActor *  theActor) [virtual, inherited]

Check if actor belongs to the axis object

Parameters:
theActor- vtkActor pointer
Return values:
Returntrue if the actor belongs to the axis object

References VTKViewer_Axis.myArrowActor, VTKViewer_Axis.myLabelActor, and VTKViewer_Axis.myLineActor.


Field Documentation

Visibility flag.

VTKViewer_Axis::myDir[3] [protected, inherited]

Direction vector

VTKViewer_Axis::myRot[3] [protected, inherited]

Orientation vector

VTKViewer_LineActor actor pointer

vtkFollower* VTKViewer_Axis.myArrowActor [protected, inherited]

vtkFollower actor pointer

vtkTextActor* VTKViewer_Axis.myLabelActor [protected, inherited]

VTKViewer_UnScaledActor actor pointer

vtkPolyDataMapper* VTKViewer_Axis.myMapper[3] [protected, inherited]
  • myMapper[0] - for the Line pipe-line representation
  • myMapper[1] - for the Arrow pipe-line representation
  • myMapper[2] - for the Label pipe-line representation
vtkLineSource* VTKViewer_Axis.myLineSource [protected, inherited]

vtkLineSource pointer (Line)

vtkConeSource* VTKViewer_Axis.myConeSource [protected, inherited]

vtkConeSource pointer (Arrow)

vtkTextMapper* VTKViewer_Axis.myTextMapper [protected, inherited]

vtkTextMapper pointer (Label)

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS