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
#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 XZ plane.
void setPlaneLimits(float xmin, float xmax, float zmin, float zmax)
void setGridFrequency(float freq)
float getPlaneYcoord() const
void setPlaneYcoord(float y)
float getLineWidth() const
void setLineWidth(float w)
void enableAntiAliasing(bool enable=true)
void getPlaneLimits(float &xmin, float &xmax, float &zmin, float &zmax) const
bool isAntiAliasingEnabled() const
float getGridFrequency() const
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)
GLubyte GLubyte GLubyte GLubyte w
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.