CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::Axes3D Class Reference

Helper for drawing a coordinate axis in 3D. More...

#include <cxVtkHelperClasses.h>

Public Member Functions

 Axes3D (vtkRendererPtr renderer=vtkRendererPtr())
 
 ~Axes3D ()
 
void setPosition (const Transform3D &pos)
 
vtkProp3DPtr getProp ()
 

Detailed Description

Helper for drawing a coordinate axis in 3D.

Wrapper class for a vtkAxes. Sets up some nice defaults and draws the axes in the world coordinate system.

Definition at line 172 of file cxVtkHelperClasses.h.

Constructor & Destructor Documentation

cx::Axes3D::Axes3D ( vtkRendererPtr  renderer = vtkRendererPtr())

Definition at line 438 of file cxVtkHelperClasses.cpp.

cx::Axes3D::~Axes3D ( )

Definition at line 471 of file cxVtkHelperClasses.cpp.

Member Function Documentation

vtkProp3DPtr cx::Axes3D::getProp ( )

Definition at line 477 of file cxVtkHelperClasses.cpp.

void cx::Axes3D::setPosition ( const Transform3D pos)

Set the transform the axis will represent

Definition at line 462 of file cxVtkHelperClasses.cpp.


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