29 float x0,
float y0,
float z0,
float x1,
float y1,
float z1)
41 float& x0,
float& y0,
float& z0,
float& x1,
float& y1,
float& z1)
const 60 float x0 = 0,
float y0 = 0,
float z0 = 0,
float x1 = 0,
float y1 = 0,
61 float z1 = 0,
float lineWidth = 1,
bool antiAliasing =
true);
void notifyChange() const
Call to enable calling renderUpdateBuffers() before the next render() rendering iteration.
void onUpdateBuffers_Wireframe() override
Must be implemented in derived classes to update the geometric entities to be drawn in "m_*_buffer" f...
void getLineCoords(float &x0, float &y0, float &z0, float &x1, float &y1, float &z1) const
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...
CSimpleLine(float x0=0, float y0=0, float z0=0, float x1=0, float y1=0, float z1=0, float lineWidth=1, bool antiAliasing=true)
Constructor.
Renderizable generic renderer for objects using the wireframe shader.
The namespace for 3D scene representation and rendering.
~CSimpleLine() override=default
Private, virtual destructor: only can be deleted from smart pointers.
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void setLineCoords(float x0, float y0, float z0, float x1, float y1, float z1)