10 #ifndef opengl_CGridPlaneXZ_H 11 #define opengl_CGridPlaneXZ_H 56 m_xMin=xmin; m_xMax = xmax;
57 m_zMin=zmin; m_zMax =
zmax;
63 xmin=m_xMin; xmax=m_xMax;
64 zmin=m_zMin;
zmax=m_zMax;
76 static CGridPlaneXZPtr Create(
83 float lineWidth = 1.3f,
84 bool antiAliasing =
true 102 float lineWidth = 1.3f,
103 bool antiAliasing = true
float getGridFrequency() const
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
void setPlaneYcoord(float y)
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated) ...
A grid of lines over the XZ plane.
GLubyte GLubyte GLubyte GLubyte w
A renderizable object suitable for rendering with OpenGL's display lists.
#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 setGridFrequency(float freq)
bool isAntiAliasingEnabled() const
float getLineWidth() const
void setLineWidth(float w)
float getPlaneYcoord() const
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 setPlaneLimits(float xmin, float xmax, float zmin, float zmax)
void getPlaneLimits(float &xmin, float &xmax, float &zmin, float &zmax) const
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
void enableAntiAliasing(bool enable=true)