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)
float getPlaneZcoord() const
A grid of lines over the XY plane.
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
float getGridFrequency() const
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated) ...
A renderizable object suitable for rendering with OpenGL's display lists.
void setGridFrequency(float freq)
bool isAntiAliasingEnabled() const
#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 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)
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
virtual ~CGridPlaneXY()
Private, virtual destructor: only can be deleted from smart pointers.