Fraxinus
17.12-rc2
An IGT application
|
Base helper class for rendering objects with a specific direction in 3D. More...
#include <cxGraphicalObjectWithDirection.h>
Public Member Functions | |
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()) |
Protected Member Functions | |
void | updateOrientation () |
Protected Attributes | |
vtkSuperquadricSourcePtr | mSource |
vtkPolyDataMapperPtr | mMapper |
vtkActorPtr | mActor |
vtkRendererPtr | mRenderer |
Vector3D | mPoint |
Vector3D | mDirection |
Vector3D | mVectorUp |
Vector3D | mScale |
Base helper class for rendering objects with a specific direction in 3D.
Definition at line 52 of file cxGraphicalObjectWithDirection.h.
cx::GraphicalObjectWithDirection::GraphicalObjectWithDirection | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 45 of file cxGraphicalObjectWithDirection.cpp.
|
virtual |
Definition at line 62 of file cxGraphicalObjectWithDirection.cpp.
vtkActorPtr cx::GraphicalObjectWithDirection::getActor | ( | ) | const |
Definition at line 67 of file cxGraphicalObjectWithDirection.cpp.
vtkPolyDataMapperPtr cx::GraphicalObjectWithDirection::getMapper | ( | ) | const |
Definition at line 77 of file cxGraphicalObjectWithDirection.cpp.
vtkPolyDataPtr cx::GraphicalObjectWithDirection::getPolyData | ( | ) | const |
Definition at line 72 of file cxGraphicalObjectWithDirection.cpp.
void cx::GraphicalObjectWithDirection::setDirection | ( | Vector3D | direction | ) |
Definition at line 88 of file cxGraphicalObjectWithDirection.cpp.
void cx::GraphicalObjectWithDirection::setPosition | ( | Vector3D | point | ) |
Definition at line 82 of file cxGraphicalObjectWithDirection.cpp.
void cx::GraphicalObjectWithDirection::setRenderer | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 106 of file cxGraphicalObjectWithDirection.cpp.
void cx::GraphicalObjectWithDirection::setScale | ( | Vector3D | scale | ) |
Definition at line 100 of file cxGraphicalObjectWithDirection.cpp.
void cx::GraphicalObjectWithDirection::setVectorUp | ( | const Vector3D & | up | ) |
Definition at line 94 of file cxGraphicalObjectWithDirection.cpp.
|
protected |
Definition at line 115 of file cxGraphicalObjectWithDirection.cpp.
|
protected |
Definition at line 72 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 76 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 71 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 75 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 73 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 78 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 70 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 77 of file cxGraphicalObjectWithDirection.h.