Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
VTKViewer_LineActor Class Reference

#include <VTKViewer_Trihedron.h>

Inheritance diagram for VTKViewer_LineActor:
Inheritance graph

Public Member Functions

 vtkTypeMacro (VTKViewer_LineActor, vtkFollower)
 
void SetLabelActor (vtkTextActor *theLabelActor)
 
void SetArrowActor (vtkFollower *theArrowActor)
 
virtual void Render (vtkRenderer *theRenderer)
 

Static Public Member Functions

static VTKViewer_LineActorNew ()
 

Protected Member Functions

 VTKViewer_LineActor ()
 
 ~VTKViewer_LineActor ()
 

Protected Attributes

vtkTextActor * LabelActor
 
vtkFollowerArrowActor
 

Private Member Functions

 VTKViewer_LineActor (const VTKViewer_LineActor &)
 

Detailed Description

a subclass of actor that always faces the camera

See Also
vtkFollower

Constructor & Destructor Documentation

VTKViewer_LineActor::VTKViewer_LineActor ( const VTKViewer_LineActor )
private
VTKViewer_LineActor::VTKViewer_LineActor ( )
inlineprotected

Constructor which sets LabelActor and ArrowActor to NULL

VTKViewer_LineActor::~VTKViewer_LineActor ( )
inlineprotected

Destructor which call SetLabelActor(NULL) and SetArrowActor(NULL)

Member Function Documentation

static VTKViewer_LineActor* VTKViewer_LineActor::New ( )
static

Create new instance of VTKViewer_LineActor.

void VTKViewer_LineActor::Render ( vtkRenderer *  theRenderer)
virtual

Adds Label and Arrow actors to theRenderer.

References ArrowActor, and LabelActor.

void VTKViewer_LineActor::SetArrowActor ( vtkFollower theArrowActor)

Sets Arrow actor.

Parameters
theLabelActor- VTKViewer_UnScaledActor
void VTKViewer_LineActor::SetLabelActor ( vtkTextActor *  theLabelActor)

Sets Label actor.

Parameters
theLabelActor- vtkTextActor
VTKViewer_LineActor::vtkTypeMacro ( VTKViewer_LineActor  ,
vtkFollower   
)

vtk type macros.

Member Data Documentation

vtkFollower* VTKViewer_LineActor::ArrowActor
protected

Arrow actor pointer

vtkTextActor* VTKViewer_LineActor::LabelActor
protected

Label actor pointer


The documentation for this class was generated from the following files: