Go to the documentation of this file.
10 #define opengl_CAxis_H
46 float xmin,
float ymin,
float zmin,
float xmax,
float ymax,
float zmax);
57 int axis,
float yaw_deg,
float pitch_deg,
float roll_deg);
60 int axis,
float& yaw_deg,
float& pitch_deg,
float& roll_deg)
const;
67 float xmin,
float ymin,
float zmin,
float xmax,
float ymax,
float zmax,
68 float frecuency = 1,
float lineWidth = 3,
bool marks =
false);
81 float xmin = -1.0f,
float ymin = -1.0f,
float zmin = -1.0f,
82 float xmax = 1.0f,
float ymax = 1.0f,
float zmax = 1.0f,
83 float frecuency = 0.25f,
float lineWidth = 3.0f,
bool marks =
false);
float getFrequency() const
virtual ~CAxis()
Private, virtual destructor: only can be deleted from smart pointers.
float getLineWidth() const
A renderizable object suitable for rendering with OpenGL's display lists.
void setTextLabelOrientation(int axis, float yaw_deg, float pitch_deg, float roll_deg)
axis: {0,1,2}=>{X,Y,Z}
bool m_marks[3]
draw marks for X,Y,Z
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLubyte GLubyte GLubyte GLubyte w
float getTextScale() const
void setAxisLimits(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
static Ptr Create(Args &&... args)
void setTextScale(float f)
Changes the size of text labels (default:0.25)
void render_dl() const override
Render.
void getBoundingBox(mrpt::math::TPoint3D &bb_min, mrpt::math::TPoint3D &bb_max) const override
Evaluates the bounding box of this object (including possible children) in the coordinate frame of th...
std::shared_ptr< CAxis > Ptr
void setLineWidth(float w)
void enableTickMarks(bool v=true)
#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.
void setFrequency(float f)
Changes the frequency of the "ticks".
CAxis(float xmin=-1.0f, float ymin=-1.0f, float zmin=-1.0f, float xmax=1.0f, float ymax=1.0f, float zmax=1.0f, float frecuency=0.25f, float lineWidth=3.0f, bool marks=false)
Constructor.
void getTextLabelOrientation(int axis, float &yaw_deg, float &pitch_deg, float &roll_deg) const
axis: {0,1,2}=>{X,Y,Z}
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |