Go to the documentation of this file.
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 getPlaneYcoord() const
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.
void notifyChange() const
Call to enable calling renderUpdateBuffers() before the next render() rendering iteration.
#define DEFINE_SERIALIZABLE(class_name, NS)
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
Renderizable generic renderer for objects using the wireframe shader.
#define ASSERT_(f)
Defines an assertion mechanism.
void setPlaneLimits(float xmin, float xmax, float zmin, float zmax)
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.
float getGridFrequency() const
A grid of lines over the XZ plane.
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...
The namespace for 3D scene representation and rendering.
void setPlaneYcoord(float y)
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sun Jul 19 17:54:30 UTC 2020 | |