Image Component Library (ICL)
|
Special SceneObject implementation that define a visible coordinate frame. More...
#include <CoordinateFrameSceneObject.h>
Public Member Functions | |
CoordinateFrameSceneObject (float axisLength=100, float axisThickness=5) | |
Default constructor with useful default size. | |
void | setParams (float axisLength, float axisThickness) |
Dynamic adaption. | |
float | getAxisLength () const |
returns current length of the axis' | |
float | getAxisThickness () const |
returns current thickness of the axis' | |
Private Attributes | |
float | axisLength |
length for x-, y- and z-axis | |
float | axisThickness |
thickness of the axis' | |
SceneObject * | axis [3] |
only internally used for later adaption of parameters |
Special SceneObject implementation that define a visible coordinate frame.
The CoordinateFrameSceneObject is already integrated with the Scene class. Simply set scene.setDrawCoordinateFrameEnabled(true,l,t) to visualize a Scene's coordintate frame. If you need a coordinate frame that is not alligned with the scene's origin, you can use this class.
icl::geom::CoordinateFrameSceneObject::CoordinateFrameSceneObject | ( | float | axisLength = 100 , |
float | axisThickness = 5 |
||
) | [inline] |
Default constructor with useful default size.
float icl::geom::CoordinateFrameSceneObject::getAxisLength | ( | ) | const [inline] |
returns current length of the axis'
float icl::geom::CoordinateFrameSceneObject::getAxisThickness | ( | ) | const [inline] |
returns current thickness of the axis'
void icl::geom::CoordinateFrameSceneObject::setParams | ( | float | axisLength, |
float | axisThickness | ||
) | [inline] |
Dynamic adaption.
SceneObject* icl::geom::CoordinateFrameSceneObject::axis[3] [private] |
only internally used for later adaption of parameters
float icl::geom::CoordinateFrameSceneObject::axisLength [private] |
length for x-, y- and z-axis
float icl::geom::CoordinateFrameSceneObject::axisThickness [private] |
thickness of the axis'