10 #define opengl_CAxis_H 44 float m_textRot[3][3];
47 void setAxisLimits(
float xmin,
float ymin,
float zmin,
float xmax,
float ymax,
float zmax);
48 void setFrequency(
float f);
49 float getFrequency()
const;
50 void setLineWidth(
float w);
51 float getLineWidth()
const;
52 void setTextScale(
float f);
53 float getTextScale()
const;
54 void setTextLabelOrientation(
int axis,
float yaw_deg,
float pitch_deg,
float roll_deg);
55 void getTextLabelOrientation(
int axis,
float &yaw_deg,
float &pitch_deg,
float &roll_deg)
const;
57 void enableTickMarks(
bool v=
true);
58 void enableTickMarks(
bool show_x,
bool show_y,
bool show_z);
61 static CAxisPtr Create(
62 float xmin,
float ymin,
float zmin,
63 float xmax,
float ymax,
float zmax,
64 float frecuency = 1,
float lineWidth = 3,
bool marks=
false);
74 float xmin=-1.0f,
float ymin=-1.0f,
float zmin=-1.0f,
75 float xmax=1.0f,
float ymax=1.0f,
float zmax=1.0f,
76 float frecuency = 0.25f,
float lineWidth = 3.0f,
bool marks=false);
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
GLubyte GLubyte GLubyte GLubyte w
A renderizable object suitable for rendering with OpenGL's display lists.
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
Draw a 3D world axis, with coordinate marks at some regular interval.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)