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 bool isAntiAliasingEnabled() const
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
void setPlaneYcoord(float y)
float getLineWidth() const
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated) ...
float getPlaneYcoord() const
A grid of lines over the XZ plane.
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...
virtual ~CGridPlaneXZ()
Private, virtual destructor: only can be deleted from smart pointers.
void setGridFrequency(float freq)
float getGridFrequency() 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 getPlaneLimits(float &xmin, float &xmax, float &zmin, float &zmax) const
void setPlaneLimits(float xmin, float xmax, float zmin, float zmax)
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
void enableAntiAliasing(bool enable=true)