Fraxinus  2023.01.05-dev+develop.0da12
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 31 of file cxGraphicalObjectWithDirection.h.

Constructor & Destructor Documentation

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

Definition at line 24 of file cxGraphicalObjectWithDirection.cpp.

cx::GraphicalObjectWithDirection::~GraphicalObjectWithDirection ( )
virtual

Definition at line 41 of file cxGraphicalObjectWithDirection.cpp.

Member Function Documentation

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.

void cx::GraphicalObjectWithDirection::updateOrientation ( )
protected

Definition at line 94 of file cxGraphicalObjectWithDirection.cpp.

Member Data Documentation

vtkActorPtr cx::GraphicalObjectWithDirection::mActor
protected

Definition at line 51 of file cxGraphicalObjectWithDirection.h.

Vector3D cx::GraphicalObjectWithDirection::mDirection
protected

Definition at line 55 of file cxGraphicalObjectWithDirection.h.

vtkPolyDataMapperPtr cx::GraphicalObjectWithDirection::mMapper
protected

Definition at line 50 of file cxGraphicalObjectWithDirection.h.

Vector3D cx::GraphicalObjectWithDirection::mPoint
protected

Definition at line 54 of file cxGraphicalObjectWithDirection.h.

vtkRendererPtr cx::GraphicalObjectWithDirection::mRenderer
protected

Definition at line 52 of file cxGraphicalObjectWithDirection.h.

Vector3D cx::GraphicalObjectWithDirection::mScale
protected

Definition at line 57 of file cxGraphicalObjectWithDirection.h.

vtkSuperquadricSourcePtr cx::GraphicalObjectWithDirection::mSource
protected

Definition at line 49 of file cxGraphicalObjectWithDirection.h.

Vector3D cx::GraphicalObjectWithDirection::mVectorUp
protected

Definition at line 56 of file cxGraphicalObjectWithDirection.h.


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