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