Go to the documentation of this file.
10 #define opengl_CAxis_H
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;
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);
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),
void setFrequency(float f)
Changes the frequency of the "ticks".
virtual ~CAxis()
Private, virtual destructor: only can be deleted from smart pointers.
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)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
float getLineWidth() const
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#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...
void setAxisLimits(float xmin, float ymin, float zmin, float xmax, float ymax, float zmax)
#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 MRPT_OVERRIDE
C++11 "override" for virtuals:
void enableTickMarks(bool v=true)
void setLineWidth(float w)
Page generated by Doxygen 1.8.16 for MRPT 1.4.0 SVN: at Mon Oct 14 23:11:08 UTC 2019 | | |