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);
#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...
A grid of lines over the XY plane.
void setGridFrequency(float freq)
void getPlaneLimits(float &xmin, float &xmax, float &ymin, float &ymax) const
void setLineWidth(float w)
float getGridFrequency() const
void enableAntiAliasing(bool enable=true)
float getLineWidth() const
void setPlaneLimits(float xmin, float xmax, float ymin, float ymax)
bool isAntiAliasingEnabled() const
float getPlaneZcoord() const
void setPlaneZcoord(float z)
virtual void render_dl() const MRPT_OVERRIDE
Render.
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.