Image Component Library (ICL)
|
Special SceneObject implementation that define a visible coordinate frame. More...
#include <ComplexCoordinateFrameSceneObject.h>
Public Member Functions | |
ICLGeom_API | ComplexCoordinateFrameSceneObject (float axisLength=100, float axisThickness=5, bool withXYZLabels=true) |
Default constructor with useful default size. | |
ICLGeom_API void | setParams (float axisLength, float axisThickness, bool withXYZLabels=true) |
Dynamic adaption. | |
float | getAxisLength () const |
returns current length of the axis' | |
float | getAxisThickness () const |
returns current thickness of the axis' | |
virtual void | lock () |
locks the internal mutex | |
virtual void | unlock () |
unlocks the internal mutex | |
Private Attributes | |
utils::Mutex | mutex |
internally used mutex | |
float | axisLength |
length of each axis | |
float | axisThickness |
thickness of each axis |
Special SceneObject implementation that define a visible coordinate frame.
In constrast to the normal CoordinateFrameSceneObject class, the ComplexCoordinateFrameSceneObject is build of cones and cylinders and it uses billboard text as axix label. The ComplexCoordinateFrameSceneObject 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.
ICLGeom_API icl::geom::ComplexCoordinateFrameSceneObject::ComplexCoordinateFrameSceneObject | ( | float | axisLength = 100 , |
float | axisThickness = 5 , |
||
bool | withXYZLabels = true |
||
) |
Default constructor with useful default size.
float icl::geom::ComplexCoordinateFrameSceneObject::getAxisLength | ( | ) | const [inline] |
returns current length of the axis'
float icl::geom::ComplexCoordinateFrameSceneObject::getAxisThickness | ( | ) | const [inline] |
returns current thickness of the axis'
virtual void icl::geom::ComplexCoordinateFrameSceneObject::lock | ( | ) | [inline, virtual] |
locks the internal mutex
ICLGeom_API void icl::geom::ComplexCoordinateFrameSceneObject::setParams | ( | float | axisLength, |
float | axisThickness, | ||
bool | withXYZLabels = true |
||
) |
Dynamic adaption.
virtual void icl::geom::ComplexCoordinateFrameSceneObject::unlock | ( | ) | [inline, virtual] |
unlocks the internal mutex
float icl::geom::ComplexCoordinateFrameSceneObject::axisLength [private] |
length of each axis
float icl::geom::ComplexCoordinateFrameSceneObject::axisThickness [private] |
thickness of each axis
internally used mutex