#include <mrpt/opengl/CSimpleLine.h>
Public Member Functions | |
void | setLineWidth (float w) |
float | getLineWidth () const |
void | setLineCoords (float x0, float y0, float z0, float x1, float y1, float z1) |
void | getLineCoords (float &x0, float &y0, float &z0, float &x1, float &y1, float &z1) const |
void | render_dl () const |
Render. | |
Static Public Member Functions | |
static CSimpleLinePtr | Create (float x0, float y0, float z0, float x1, float y1, float z1, float lineWidth=1) |
Class factory. | |
Protected Attributes | |
float | m_x0 |
float | m_y0 |
float | m_z0 |
float | m_x1 |
float | m_y1 |
float | m_z1 |
float | m_lineWidth |
Private Member Functions | |
CSimpleLine (float x0=0, float y0=0, float z0=0, float x1=0, float y1=0, float z1=0, float lineWidth=1) | |
Constructor. | |
virtual | ~CSimpleLine () |
Private, virtual destructor: only can be deleted from smart pointers. | |
RTTI stuff | |
typedef CSimpleLinePtr | SmartPtr |
static mrpt::utils::CLASSINIT | _init_CSimpleLine |
static mrpt::utils::TRuntimeClassId | classCSimpleLine |
static const mrpt::utils::TRuntimeClassId * | classinfo |
static const mrpt::utils::TRuntimeClassId * | _GetBaseClass () |
virtual const mrpt::utils::TRuntimeClassId * | GetRuntimeClass () const |
Returns information about the class of an object in runtime. | |
virtual mrpt::utils::CObject * | duplicate () const |
Returns a copy of the object, indepently of its class. | |
static mrpt::utils::CObject * | CreateObject () |
static CSimpleLinePtr | Create () |
A typedef for the associated smart pointer
Definition at line 47 of file CSimpleLine.h.
mrpt::opengl::CSimpleLine::CSimpleLine | ( | float | x0 = 0 , |
float | y0 = 0 , |
||
float | z0 = 0 , |
||
float | x1 = 0 , |
||
float | y1 = 0 , |
||
float | z1 = 0 , |
||
float | lineWidth = 1 |
||
) | [inline, private] |
Constructor.
Definition at line 85 of file CSimpleLine.h.
virtual mrpt::opengl::CSimpleLine::~CSimpleLine | ( | ) | [inline, private, virtual] |
Private, virtual destructor: only can be deleted from smart pointers.
Definition at line 95 of file CSimpleLine.h.
static const mrpt::utils::TRuntimeClassId* mrpt::opengl::CSimpleLine::_GetBaseClass | ( | ) | [static, protected] |
Reimplemented from mrpt::opengl::CRenderizableDisplayList.
static CSimpleLinePtr mrpt::opengl::CSimpleLine::Create | ( | ) | [static] |
static CSimpleLinePtr mrpt::opengl::CSimpleLine::Create | ( | float | x0, |
float | y0, | ||
float | z0, | ||
float | x1, | ||
float | y1, | ||
float | z1, | ||
float | lineWidth = 1 |
||
) | [inline, static] |
static mrpt::utils::CObject* mrpt::opengl::CSimpleLine::CreateObject | ( | ) | [static] |
virtual mrpt::utils::CObject* mrpt::opengl::CSimpleLine::duplicate | ( | ) | const [virtual] |
Returns a copy of the object, indepently of its class.
Implements mrpt::utils::CObject.
void mrpt::opengl::CSimpleLine::getLineCoords | ( | float & | x0, |
float & | y0, | ||
float & | z0, | ||
float & | x1, | ||
float & | y1, | ||
float & | z1 | ||
) | const [inline] |
Definition at line 64 of file CSimpleLine.h.
float mrpt::opengl::CSimpleLine::getLineWidth | ( | ) | const [inline] |
Definition at line 55 of file CSimpleLine.h.
virtual const mrpt::utils::TRuntimeClassId* mrpt::opengl::CSimpleLine::GetRuntimeClass | ( | ) | const [virtual] |
Returns information about the class of an object in runtime.
Reimplemented from mrpt::opengl::CRenderizableDisplayList.
void mrpt::opengl::CSimpleLine::render_dl | ( | ) | const [virtual] |
Render.
Implements mrpt::opengl::CRenderizableDisplayList.
void mrpt::opengl::CSimpleLine::setLineCoords | ( | float | x0, |
float | y0, | ||
float | z0, | ||
float | x1, | ||
float | y1, | ||
float | z1 | ||
) | [inline] |
Definition at line 57 of file CSimpleLine.h.
References mrpt::opengl::CRenderizableDisplayList::notifyChange().
void mrpt::opengl::CSimpleLine::setLineWidth | ( | float | w | ) | [inline] |
Definition at line 54 of file CSimpleLine.h.
References mrpt::opengl::CRenderizableDisplayList::notifyChange().
mrpt::utils::CLASSINIT mrpt::opengl::CSimpleLine::_init_CSimpleLine [static, protected] |
Definition at line 47 of file CSimpleLine.h.
Definition at line 47 of file CSimpleLine.h.
const mrpt::utils::TRuntimeClassId* mrpt::opengl::CSimpleLine::classinfo [static] |
Definition at line 47 of file CSimpleLine.h.
float mrpt::opengl::CSimpleLine::m_lineWidth [protected] |
Definition at line 52 of file CSimpleLine.h.
float mrpt::opengl::CSimpleLine::m_x0 [protected] |
Definition at line 50 of file CSimpleLine.h.
float mrpt::opengl::CSimpleLine::m_x1 [protected] |
Definition at line 51 of file CSimpleLine.h.
float mrpt::opengl::CSimpleLine::m_y0 [protected] |
Definition at line 50 of file CSimpleLine.h.
float mrpt::opengl::CSimpleLine::m_y1 [protected] |
Definition at line 51 of file CSimpleLine.h.
float mrpt::opengl::CSimpleLine::m_z0 [protected] |
Definition at line 50 of file CSimpleLine.h.
float mrpt::opengl::CSimpleLine::m_z1 [protected] |
Definition at line 51 of file CSimpleLine.h.
Page generated by Doxygen 1.7.3 for MRPT 0.9.4 SVN: at Sat Mar 26 06:40:17 UTC 2011 |