Go to the documentation of this file.
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.
#define DEFINE_SERIALIZABLE(class_name, NS)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void getLineCoords(float &x0, float &y0, float &z0, float &x1, float &y1, float &z1) const
Renderizable generic renderer for objects using the wireframe shader.
~CSimpleLine() override=default
Private, virtual destructor: only can be deleted from smart pointers.
void onUpdateBuffers_Wireframe() override
Must be implemented in derived classes to update the geometric entities to be drawn in "m_*_buffer" f...
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.
void setLineCoords(float x0, float y0, float z0, float x1, float y1, float z1)
The namespace for 3D scene representation and rendering.
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sun Jul 19 15:15:43 UTC 2020 | |