45 void setAxisLimits(
float xmin,
float ymin,
float zmin,
float xmax,
float ymax,
float zmax)
47 m_xmin=xmin; m_ymin=ymin; m_zmin=zmin;
48 m_xmax=xmax; m_ymax=ymax; m_zmax=zmax;
62 float xmin,
float ymin,
float zmin,
63 float xmax,
float ymax,
float zmax,
64 float frecuency = 1,
float lineWidth = 3,
bool marks=
false);
77 float xmin=-1.0f,
float ymin=-1.0f,
float zmin=-1.0f,
78 float xmax=1.0f,
float ymax=1.0f,
float zmax=1.0f,
79 float frecuency = 0.25f,
float lineWidth = 3.0f,
bool marks=false) :
80 m_xmin(xmin),m_ymin(ymin),m_zmin(zmin),
81 m_xmax(xmax),m_ymax(ymax),m_zmax(zmax),
82 m_frecuency(frecuency),
83 m_lineWidth(lineWidth),
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
#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...
Draw a 3D world axis, with coordinate marks at some regular interval.
void enableTickMarks(bool v=true)
void setFrequency(float f)
Changes the frequency of the "ticks".
static CAxisPtr Create(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax, float frecuency=1, float lineWidth=3, bool marks=false)
Class factory
virtual ~CAxis()
Private, virtual destructor: only can be deleted from smart pointers.
float getLineWidth() const
void render_dl() const MRPT_OVERRIDE
Render.
void setAxisLimits(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
void setLineWidth(float w)
A renderizable object suitable for rendering with OpenGL's display lists.
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated)
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.