Go to the documentation of this file.
9 #ifndef opengl_CSimpleLine_H
10 #define opengl_CSimpleLine_H
43 void setLineCoords(
float x0,
float y0,
float z0,
float x1,
float y1,
float z1)
45 m_x0=x0; m_y0=y0; m_z0=z0;
46 m_x1=x1; m_y1=y1; m_z1=z1;
50 void getLineCoords(
float &x0,
float &y0,
float &z0,
float &x1,
float &y1,
float &z1)
const
52 x0=m_x0; y0=m_y0; z0=m_z0;
53 x1=m_x1; y1=m_y1; z1=m_z1;
61 static CSimpleLinePtr Create(
62 float x0,
float y0,
float z0,
63 float x1,
float y1,
float z1,
float lineWidth = 1 );
72 float x0=0,
float y0=0,
float z0=0,
73 float x1=0,
float y1=0,
float z1=0,
float lineWidth = 1,
74 bool antiAliasing = true);
bool isAntiAliasingEnabled() const
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.
#define DEFINE_SERIALIZABLE_POST_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
#define DEFINE_SERIALIZABLE_PRE_CUSTOM_BASE_LINKAGE(class_name, base_name, _LINKAGE_)
This declaration must be inserted in all CSerializable classes definition, before the class declarati...
float getLineWidth() const
#define DEFINE_SERIALIZABLE(class_name)
This declaration must be inserted in all CSerializable classes definition, within the class declarati...
void setLineWidth(float w)
void setLineCoords(float x0, float y0, float z0, float x1, float y1, float z1)
#define MRPT_OVERRIDE
C++11 "override" for virtuals:
void enableAntiAliasing(bool enable=true)
Page generated by Doxygen 1.8.17 for MRPT 1.4.0 SVN: at Tue Mar 3 09:15:16 UTC 2020 | | |