Fraxinus  17.12-rc2
An IGT application
cx::GraphicalObjectWithDirection Class Reference

Base helper class for rendering objects with a specific direction in 3D. More...

#include <cxGraphicalObjectWithDirection.h>

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

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
 

Detailed Description

Base helper class for rendering objects with a specific direction in 3D.

Date
25.05.2016-05-25
Author
jone

Definition at line 52 of file cxGraphicalObjectWithDirection.h.

Constructor & Destructor Documentation

cx::GraphicalObjectWithDirection::GraphicalObjectWithDirection ( vtkRendererPtr  renderer = vtkRendererPtr())

Definition at line 45 of file cxGraphicalObjectWithDirection.cpp.

cx::GraphicalObjectWithDirection::~GraphicalObjectWithDirection ( )
virtual

Definition at line 62 of file cxGraphicalObjectWithDirection.cpp.

Member Function Documentation

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.

void cx::GraphicalObjectWithDirection::updateOrientation ( )
protected

Definition at line 115 of file cxGraphicalObjectWithDirection.cpp.

Member Data Documentation

vtkActorPtr cx::GraphicalObjectWithDirection::mActor
protected

Definition at line 72 of file cxGraphicalObjectWithDirection.h.

Vector3D cx::GraphicalObjectWithDirection::mDirection
protected

Definition at line 76 of file cxGraphicalObjectWithDirection.h.

vtkPolyDataMapperPtr cx::GraphicalObjectWithDirection::mMapper
protected

Definition at line 71 of file cxGraphicalObjectWithDirection.h.

Vector3D cx::GraphicalObjectWithDirection::mPoint
protected

Definition at line 75 of file cxGraphicalObjectWithDirection.h.

vtkRendererPtr cx::GraphicalObjectWithDirection::mRenderer
protected

Definition at line 73 of file cxGraphicalObjectWithDirection.h.

Vector3D cx::GraphicalObjectWithDirection::mScale
protected

Definition at line 78 of file cxGraphicalObjectWithDirection.h.

vtkSuperquadricSourcePtr cx::GraphicalObjectWithDirection::mSource
protected

Definition at line 70 of file cxGraphicalObjectWithDirection.h.

Vector3D cx::GraphicalObjectWithDirection::mVectorUp
protected

Definition at line 77 of file cxGraphicalObjectWithDirection.h.


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