PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPlusToolAxesActor Class Reference

Actor for displaying coordinate system axes. More...

#include <src/PlusRendering/vtkPlusToolAxesActor.h>

Inheritance diagram for vtkPlusToolAxesActor:
Inheritance graph
[legend]
Collaboration diagram for vtkPlusToolAxesActor:
Collaboration graph
[legend]

Classes

class  AxisInfo
 Stores rendering objects for each axis. More...
 

Public Types

typedef vtkProp3D Superclass
 

Public Member Functions

virtual void GetActors (vtkPropCollection *)
 
void GetBounds (double bounds[6])
 
double * GetBounds ()
 
virtual const char * GetClassName ()
 
vtkMTimeType GetMTime ()
 
vtkMTimeType GetRedrawMTime ()
 
virtual double GetShaftLength ()
 
virtual bool GetShowLabels ()
 
virtual bool GetShowName ()
 
virtual int HasTranslucentPolygonalGeometry ()
 
virtual int IsA (const char *type)
 
virtual void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
void ReleaseGraphicsResources (vtkWindow *)
 
virtual int RenderOpaqueGeometry (vtkViewport *viewport)
 
virtual int RenderOverlay (vtkViewport *viewport)
 
virtual int RenderTranslucentPolygonalGeometry (vtkViewport *viewport)
 
void SetName (const std::string &name)
 
void SetShaftLength (double shaftLength)
 
virtual void SetShowLabels (bool)
 
virtual void SetShowName (bool)
 
virtual void ShowLabelsOff ()
 
virtual void ShowLabelsOn ()
 
virtual void ShowNameOff ()
 
virtual void ShowNameOn ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPlusToolAxesActorNew ()
 
static vtkPlusToolAxesActorSafeDownCast (vtkObject *o)
 

Protected Member Functions

void ExtendMaxBounds (vtkActor *actor, double *bounds)
 
void UpdateProps ()
 
 vtkPlusToolAxesActor ()
 
 ~vtkPlusToolAxesActor ()
 

Protected Attributes

AxisInfo Axes [3]
 
vtkCaptionActor2D * NameLabelActor
 
double ShaftLength
 
bool ShowLabels
 
bool ShowName
 

Detailed Description

Actor for displaying coordinate system axes.

The actor's UserTransform shall be the tool to world transform.

Definition at line 33 of file vtkPlusToolAxesActor.h.

Member Typedef Documentation

◆ Superclass

Definition at line 37 of file vtkPlusToolAxesActor.h.

Constructor & Destructor Documentation

◆ vtkPlusToolAxesActor()

vtkPlusToolAxesActor::vtkPlusToolAxesActor ( )
protected

Definition at line 113 of file vtkPlusToolAxesActor.cxx.

◆ ~vtkPlusToolAxesActor()

vtkPlusToolAxesActor::~vtkPlusToolAxesActor ( )
protected

Definition at line 142 of file vtkPlusToolAxesActor.cxx.

Member Function Documentation

◆ ExtendMaxBounds()

void vtkPlusToolAxesActor::ExtendMaxBounds ( vtkActor *  actor,
double *  bounds 
)
protected

Definition at line 295 of file vtkPlusToolAxesActor.cxx.

◆ GetActors()

void vtkPlusToolAxesActor::GetActors ( vtkPropCollection *  ac)
virtual

For some exporters and other other operations we must be able to collect all the actors or volumes. These methods are used in that process.

Definition at line 149 of file vtkPlusToolAxesActor.cxx.

◆ GetBounds() [1/2]

void vtkPlusToolAxesActor::GetBounds ( double  bounds[6])

Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). (The method GetBounds(double bounds[6]) is available from the superclass.)

Definition at line 283 of file vtkPlusToolAxesActor.cxx.

◆ GetBounds() [2/2]

double * vtkPlusToolAxesActor::GetBounds ( )

Get the bounds for this Actor as (Xmin,Xmax,Ymin,Ymax,Zmin,Zmax). (The method GetBounds(double bounds[6]) is available from the superclass.)

Definition at line 314 of file vtkPlusToolAxesActor.cxx.

◆ GetClassName()

virtual const char* vtkPlusToolAxesActor::GetClassName ( )
virtual

◆ GetMTime()

vtkMTimeType vtkPlusToolAxesActor::GetMTime ( )

Get the actors mtime plus consider its properties and texture if set.

Definition at line 324 of file vtkPlusToolAxesActor.cxx.

◆ GetRedrawMTime()

vtkMTimeType vtkPlusToolAxesActor::GetRedrawMTime ( )

Return the mtime of anything that would cause the rendered image to appear differently. Usually this involves checking the mtime of the prop plus anything else it depends on such as properties, textures etc.

Definition at line 331 of file vtkPlusToolAxesActor.cxx.

◆ GetShaftLength()

virtual double vtkPlusToolAxesActor::GetShaftLength ( )
virtual

Get shaft length

◆ GetShowLabels()

virtual bool vtkPlusToolAxesActor::GetShowLabels ( )
virtual

Get show labels flag

◆ GetShowName()

virtual bool vtkPlusToolAxesActor::GetShowName ( )
virtual

Get show name flag

◆ HasTranslucentPolygonalGeometry()

int vtkPlusToolAxesActor::HasTranslucentPolygonalGeometry ( )
virtual

Does this prop have some translucent polygonal geometry?

Definition at line 225 of file vtkPlusToolAxesActor.cxx.

◆ IsA()

virtual int vtkPlusToolAxesActor::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkPlusToolAxesActor::IsTypeOf ( const char *  type)
static

◆ New()

static vtkPlusToolAxesActor* vtkPlusToolAxesActor::New ( )
static

◆ PrintSelf()

void vtkPlusToolAxesActor::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

Definition at line 402 of file vtkPlusToolAxesActor.cxx.

◆ ReleaseGraphicsResources()

void vtkPlusToolAxesActor::ReleaseGraphicsResources ( vtkWindow *  win)

Release any graphics resources that are being consumed by this actor. The parameter window could be used to determine which graphic resources to release.

Definition at line 273 of file vtkPlusToolAxesActor.cxx.

◆ RenderOpaqueGeometry()

int vtkPlusToolAxesActor::RenderOpaqueGeometry ( vtkViewport *  viewport)
virtual

Support the standard render methods.

Definition at line 169 of file vtkPlusToolAxesActor.cxx.

◆ RenderOverlay()

int vtkPlusToolAxesActor::RenderOverlay ( vtkViewport *  viewport)
virtual

Support the standard render methods.

Definition at line 251 of file vtkPlusToolAxesActor.cxx.

◆ RenderTranslucentPolygonalGeometry()

int vtkPlusToolAxesActor::RenderTranslucentPolygonalGeometry ( vtkViewport *  viewport)
virtual

Support the standard render methods.

Definition at line 196 of file vtkPlusToolAxesActor.cxx.

◆ SafeDownCast()

static vtkPlusToolAxesActor* vtkPlusToolAxesActor::SafeDownCast ( vtkObject *  o)
static

◆ SetName()

void vtkPlusToolAxesActor::SetName ( const std::string &  name)

Set the name of the coordinate frame that is displayed as a label in the origin.

Definition at line 411 of file vtkPlusToolAxesActor.cxx.

◆ SetShaftLength()

void vtkPlusToolAxesActor::SetShaftLength ( double  shaftLength)

Set shaft length

Definition at line 417 of file vtkPlusToolAxesActor.cxx.

◆ SetShowLabels()

virtual void vtkPlusToolAxesActor::SetShowLabels ( bool  )
virtual

Set show labels flag

◆ SetShowName()

virtual void vtkPlusToolAxesActor::SetShowName ( bool  )
virtual

Set show name flag

◆ ShowLabelsOff()

virtual void vtkPlusToolAxesActor::ShowLabelsOff ( )
virtual

◆ ShowLabelsOn()

virtual void vtkPlusToolAxesActor::ShowLabelsOn ( )
virtual

◆ ShowNameOff()

virtual void vtkPlusToolAxesActor::ShowNameOff ( )
virtual

◆ ShowNameOn()

virtual void vtkPlusToolAxesActor::ShowNameOn ( )
virtual

◆ UpdateProps()

void vtkPlusToolAxesActor::UpdateProps ( )
protected

Definition at line 338 of file vtkPlusToolAxesActor.cxx.

Member Data Documentation

◆ Axes

AxisInfo vtkPlusToolAxesActor::Axes[3]
protected

Definition at line 141 of file vtkPlusToolAxesActor.h.

◆ NameLabelActor

vtkCaptionActor2D* vtkPlusToolAxesActor::NameLabelActor
protected

Definition at line 143 of file vtkPlusToolAxesActor.h.

◆ ShaftLength

double vtkPlusToolAxesActor::ShaftLength
protected

Definition at line 145 of file vtkPlusToolAxesActor.h.

◆ ShowLabels

bool vtkPlusToolAxesActor::ShowLabels
protected

Definition at line 146 of file vtkPlusToolAxesActor.h.

◆ ShowName

bool vtkPlusToolAxesActor::ShowName
protected

Definition at line 147 of file vtkPlusToolAxesActor.h.


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