Go to the documentation of this file.
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);
virtual ~CSimpleLine()
Private, virtual destructor: only can be deleted from smart pointers.
void render_dl() const override
Render.
bool isAntiAliasingEnabled() const
std::shared_ptr< CSimpleLine > Ptr
void getLineCoords(float &x0, float &y0, float &z0, float &x1, float &y1, float &z1) const
A renderizable object suitable for rendering with OpenGL's display lists.
EIGEN_STRONG_INLINE void notifyChange() const
Must be called to notify that the object has changed (so, the display list must be updated)
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
GLubyte GLubyte GLubyte GLubyte w
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...
float getLineWidth() const
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
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)
static Ptr Create(Args &&... args)
void enableAntiAliasing(bool enable=true)
Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST | |