Fraxinus  18.10
An IGT application
cx::GraphicalTorus3D Class Reference

Helper for rendering a torus in 3D. More...

#include <cxGraphicalTorus3D.h>

Inheritance diagram for cx::GraphicalTorus3D:
cx::GraphicalObjectWithDirection

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
 

Detailed Description

Helper for rendering a torus in 3D.

Date
12.02.2014-02-12
Author
christiana

Definition at line 31 of file cxGraphicalTorus3D.h.

Constructor & Destructor Documentation

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.

Member Function Documentation

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.


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