Fraxinus
2023.01.05-dev+develop.0da12
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 31 of file cxGraphicalObjectWithDirection.h.
cx::GraphicalObjectWithDirection::GraphicalObjectWithDirection | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 24 of file cxGraphicalObjectWithDirection.cpp.
|
virtual |
Definition at line 41 of file cxGraphicalObjectWithDirection.cpp.
vtkActorPtr cx::GraphicalObjectWithDirection::getActor | ( | ) | const |
Definition at line 46 of file cxGraphicalObjectWithDirection.cpp.
vtkPolyDataMapperPtr cx::GraphicalObjectWithDirection::getMapper | ( | ) | const |
Definition at line 56 of file cxGraphicalObjectWithDirection.cpp.
vtkPolyDataPtr cx::GraphicalObjectWithDirection::getPolyData | ( | ) | const |
Definition at line 51 of file cxGraphicalObjectWithDirection.cpp.
void cx::GraphicalObjectWithDirection::setDirection | ( | Vector3D | direction | ) |
Definition at line 67 of file cxGraphicalObjectWithDirection.cpp.
void cx::GraphicalObjectWithDirection::setPosition | ( | Vector3D | point | ) |
Definition at line 61 of file cxGraphicalObjectWithDirection.cpp.
void cx::GraphicalObjectWithDirection::setRenderer | ( | vtkRendererPtr | renderer = vtkRendererPtr() | ) |
Definition at line 85 of file cxGraphicalObjectWithDirection.cpp.
void cx::GraphicalObjectWithDirection::setScale | ( | Vector3D | scale | ) |
Definition at line 79 of file cxGraphicalObjectWithDirection.cpp.
void cx::GraphicalObjectWithDirection::setVectorUp | ( | const Vector3D & | up | ) |
Definition at line 73 of file cxGraphicalObjectWithDirection.cpp.
|
protected |
Definition at line 94 of file cxGraphicalObjectWithDirection.cpp.
|
protected |
Definition at line 51 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 55 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 50 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 54 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 52 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 57 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 49 of file cxGraphicalObjectWithDirection.h.
|
protected |
Definition at line 56 of file cxGraphicalObjectWithDirection.h.