10 #ifndef opengl_CGridPlaneXZ_H 11 #define opengl_CGridPlaneXZ_H 65 float& xmin,
float& xmax,
float& zmin,
float&
zmax)
const 88 float xMin = -10,
float xMax = 10,
float zMin = -10,
float zMax = 10,
89 float y = 0,
float frequency = 1,
float lineWidth = 1.3f,
90 bool antiAliasing =
true);
104 float xMin = -10,
float xMax = 10,
float zMin = -10,
float zMax = 10,
105 float y = 0,
float frequency = 1,
float lineWidth = 1.3f,
106 bool antiAliasing =
true);
float getGridFrequency() const
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 ASSERT_(f)
Defines an assertion mechanism.
CGridPlaneXZ(float xMin=-10, float xMax=10, float zMin=-10, float zMax=10, float y=0, float frequency=1, float lineWidth=1.3f, bool antiAliasing=true)
Constructor.
virtual ~CGridPlaneXZ()
Private, virtual destructor: only can be deleted from smart pointers.
void setGridFrequency(float freq)
bool isAntiAliasingEnabled() const
float getLineWidth() const
void setLineWidth(float w)
float getPlaneYcoord() const
#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 render_dl() const override
Render.
The namespace for 3D scene representation and rendering.
void getBoundingBox(mrpt::math::TPoint3D &bb_min, mrpt::math::TPoint3D &bb_max) const override
Evaluates the bounding box of this object (including possible children) in the coordinate frame of th...
void getPlaneLimits(float &xmin, float &xmax, float &zmin, float &zmax) const
void enableAntiAliasing(bool enable=true)
static Ptr Create(Args &&... args)