9 #ifndef opengl_CSimpleLine_H 10 #define opengl_CSimpleLine_H 46 float x0,
float y0,
float z0,
float x1,
float y1,
float z1)
58 float& x0,
float& y0,
float& z0,
float& x1,
float& y1,
float&
z1)
const 74 float x0,
float y0,
float z0,
float x1,
float y1,
float z1,
86 float x0 = 0,
float y0 = 0,
float z0 = 0,
float x1 = 0,
float y1 = 0,
87 float z1 = 0,
float lineWidth = 1,
bool antiAliasing =
true);
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated) ...
GLubyte GLubyte GLubyte GLubyte w
A renderizable object suitable for rendering with OpenGL's display lists.
float getLineWidth() const
void getLineCoords(float &x0, float &y0, float &z0, float &x1, float &y1, float &z1) const
void render_dl() const override
Render.
virtual ~CSimpleLine()
Private, virtual destructor: only can be deleted from smart pointers.
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...
bool isAntiAliasingEnabled() const
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void enableAntiAliasing(bool enable=true)
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 setLineWidth(float w)
void setLineCoords(float x0, float y0, float z0, float x1, float y1, float z1)
std::shared_ptr< CSimpleLine > Ptr
static Ptr Create(Args &&... args)