![]() |
CustusX
22.04-rc3
An IGT application
|
Helper for rendering a torus in 3D. More...
#include <cxGraphicalTorus3D.h>
Public Member Functions | |
| GraphicalTorus3D (vtkRendererPtr renderer=vtkRendererPtr()) | |
| ~GraphicalTorus3D () | |
| void | setRadius (double value) |
| void | setThickness (double radius) |
| void | setColor (QColor color) |
Public Member Functions inherited from cx::GraphicalObjectWithDirection | |
| GraphicalObjectWithDirection (vtkRendererPtr renderer=vtkRendererPtr()) | |
| virtual | ~GraphicalObjectWithDirection () |
| vtkActorPtr | getActor () const |
| vtkPolyDataPtr | getPolyData () const |
| vtkPolyDataMapperPtr | getMapper () const |
| void | setPosition (Vector3D point) |
| void | setDirection (Vector3D direction) |
| void | setVectorUp (const Vector3D &up) |
| void | setScale (Vector3D scale) |
| void | setRenderer (vtkRendererPtr renderer=vtkRendererPtr()) |
Additional Inherited Members | |
Protected Member Functions inherited from cx::GraphicalObjectWithDirection | |
| void | updateOrientation () |
Protected Attributes inherited from cx::GraphicalObjectWithDirection | |
| vtkSuperquadricSourcePtr | mSource |
| vtkPolyDataMapperPtr | mMapper |
| vtkActorPtr | mActor |
| vtkRendererPtr | mRenderer |
| Vector3D | mPoint |
| Vector3D | mDirection |
| Vector3D | mVectorUp |
| Vector3D | mScale |
Helper for rendering a torus in 3D.
Definition at line 31 of file cxGraphicalTorus3D.h.
| cx::GraphicalTorus3D::GraphicalTorus3D | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 24 of file cxGraphicalTorus3D.cpp.
| cx::GraphicalTorus3D::~GraphicalTorus3D | ( | ) |
Definition at line 33 of file cxGraphicalTorus3D.cpp.
| void cx::GraphicalTorus3D::setColor | ( | QColor | color | ) |
Definition at line 47 of file cxGraphicalTorus3D.cpp.
| void cx::GraphicalTorus3D::setRadius | ( | double | value | ) |
Definition at line 37 of file cxGraphicalTorus3D.cpp.
| void cx::GraphicalTorus3D::setThickness | ( | double | radius | ) |
Definition at line 42 of file cxGraphicalTorus3D.cpp.