50 float& xmin,
float& xmax,
float& ymin,
float& ymax)
const 80 float xMin = -10,
float xMax = 10,
float yMin = -10,
float yMax = 10,
81 float z = 0,
float frequency = 1,
float lineWidth = 1.3f,
82 bool antiAliasing =
true);
A grid of lines over the XY plane.
void notifyChange() const
Call to enable calling renderUpdateBuffers() before the next render() rendering iteration.
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 setGridFrequency(float freq)
#define ASSERT_(f)
Defines an assertion mechanism.
float getGridFrequency() const
~CGridPlaneXY() override=default
Private, virtual destructor: only can be deleted from smart pointers.
void setPlaneLimits(float xmin, float xmax, float ymin, float ymax)
void setPlaneZcoord(float z)
Renderizable generic renderer for objects using the wireframe shader.
The namespace for 3D scene representation and rendering.
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void onUpdateBuffers_Wireframe() override
Must be implemented in derived classes to update the geometric entities to be drawn in "m_*_buffer" f...
void getPlaneLimits(float &xmin, float &xmax, float &ymin, float &ymax) const
CGridPlaneXY(float xMin=-10, float xMax=10, float yMin=-10, float yMax=10, float z=0, float frequency=1, float lineWidth=1.3f, bool antiAliasing=true)
Constructor.
float getPlaneZcoord() const