10 #ifndef opengl_CGridPlaneXY_H 11 #define opengl_CGridPlaneXY_H 56 m_xMin=xmin; m_xMax = xmax;
57 m_yMin=ymin; m_yMax = ymax;
63 xmin=m_xMin; xmax=m_xMax;
64 ymin=m_yMin; ymax=m_yMax;
81 static CGridPlaneXYPtr Create(
88 float lineWidth = 1.3f,
89 bool antiAliasing = true);
101 float lineWidth = 1.3f,
102 bool antiAliasing = true);
void enableAntiAliasing(bool enable=true)
A grid of lines over the XY plane.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated) ...
GLubyte GLubyte GLubyte GLubyte w
A renderizable object suitable for rendering with OpenGL's display lists.
void setGridFrequency(float freq)
#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...
float getGridFrequency() const
void setPlaneLimits(float xmin, float xmax, float ymin, float ymax)
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...
void setPlaneZcoord(float z)
bool isAntiAliasingEnabled() const
float getLineWidth() const
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
void getPlaneLimits(float &xmin, float &xmax, float &ymin, float &ymax) const
float getPlaneZcoord() const
void setLineWidth(float w)