CustusX
15.3.3-beta
An IGT application
|
Helper for rendering a torus in 3D. More...
#include <cxGraphicalTorus3D.h>
Public Member Functions | |
GraphicalTorus3D (vtkRendererPtr renderer=vtkRendererPtr()) | |
void | setRenderer (vtkRendererPtr renderer=vtkRendererPtr()) |
~GraphicalTorus3D () | |
void | setRadius (double value) |
void | setThickness (double radius) |
void | setColor (QColor color) |
void | setPosition (Vector3D point) |
void | setDirection (Vector3D direction) |
vtkActorPtr | getActor () |
vtkPolyDataPtr | getPolyData () |
Helper for rendering a torus in 3D.
Definition at line 54 of file cxGraphicalTorus3D.h.
cx::GraphicalTorus3D::GraphicalTorus3D | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 52 of file cxGraphicalTorus3D.cpp.
cx::GraphicalTorus3D::~GraphicalTorus3D | ( | ) |
Definition at line 72 of file cxGraphicalTorus3D.cpp.
vtkActorPtr cx::GraphicalTorus3D::getActor | ( | ) |
Definition at line 140 of file cxGraphicalTorus3D.cpp.
vtkPolyDataPtr cx::GraphicalTorus3D::getPolyData | ( | ) |
Definition at line 145 of file cxGraphicalTorus3D.cpp.
void cx::GraphicalTorus3D::setColor | ( | QColor | color | ) |
Definition at line 96 of file cxGraphicalTorus3D.cpp.
void cx::GraphicalTorus3D::setDirection | ( | Vector3D | direction | ) |
Definition at line 107 of file cxGraphicalTorus3D.cpp.
void cx::GraphicalTorus3D::setPosition | ( | Vector3D | point | ) |
Definition at line 101 of file cxGraphicalTorus3D.cpp.
void cx::GraphicalTorus3D::setRadius | ( | double | value | ) |
Definition at line 86 of file cxGraphicalTorus3D.cpp.
void cx::GraphicalTorus3D::setRenderer | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 77 of file cxGraphicalTorus3D.cpp.
void cx::GraphicalTorus3D::setThickness | ( | double | radius | ) |
Definition at line 91 of file cxGraphicalTorus3D.cpp.