33 #ifndef ICL_HAVE_OPENGL 35 #pragma WARNING("this header must not be included if ICL_HAVE_OPENGL is not defined") 37 #warning "this header must not be included if ICL_HAVE_OPENGL is not defined" 67 axisLength(axisLength),axisThickness(axisThickness){
69 axis[i] = addCube(0,0,0,1);
75 setParams(axisLength,axisThickness);
78 void setParams(
float axisLength,
float axisThickness){
79 this->axisLength = axisLength;
80 this->axisThickness = axisThickness;
81 const float &l = axisLength, t=axisThickness;
84 axis[i]->removeTransformation();
85 axis[i]->scale((i==0)*l+(i!=0)*t,
88 axis[i]->translate((i==0)*l/2,
Definition: Primitive.h:63
undocument this line if you encounter any issues!
Definition: Any.h:37
void setParams(float axisLength, float axisThickness)
Dynamic adaption.
Definition: CoordinateFrameSceneObject.h:78
#define ICLGeom_API
Definition: CompatMacros.h:179
Definition: Primitive.h:66
CoordinateFrameSceneObject(float axisLength=100, float axisThickness=5)
Default constructor with useful default size.
Definition: CoordinateFrameSceneObject.h:66
Definition: Primitive.h:64
Special SceneObject implementation that define a visible coordinate frame.
Definition: CoordinateFrameSceneObject.h:52
core::Color4D32f GeomColor
color for geometry primitives
Definition: GeomDefs.h:45
float axisThickness
thickness of the axis'
Definition: CoordinateFrameSceneObject.h:58
axis
for flipping of images
Definition: Types.h:99
float axisLength
length for x-, y- and z-axis
Definition: CoordinateFrameSceneObject.h:55
float getAxisThickness() const
returns current thickness of the axis'
Definition: CoordinateFrameSceneObject.h:98
float getAxisLength() const
returns current length of the axis'
Definition: CoordinateFrameSceneObject.h:95
The SceneObject class defines visible objects in scenes or scene graph nodes.
Definition: SceneObject.h:140