#include <mrpt/opengl/CSetOfLines.h>

Public Member Functions | |
| void | clear () |
| void | setLineWidth (float w) |
| Clear the list of segments. | |
| float | getLineWidth () const |
| void | appendLine (const float &x0, const float &y0, const float &z0, const float &x1, const float &y1, const float &z1) |
| void | resize (const size_t &nLines) |
| void | reserve (size_t r) |
| template<class T , class U > | |
| void | appendLine (T p0, U p1) |
| size_t | getLineCount () const |
| void | setLineByIndex (const size_t &index, const float &x0, const float &y0, const float &z0, const float &x1, const float &y1, const float &z1) |
| void | render () const |
| Render. | |
Static Public Member Functions | |
| static CSetOfLinesPtr | Create () |
| Class factory. | |
Protected Attributes | |
| vector_float | m_x0 |
| vector_float | m_y0 |
| vector_float | m_z0 |
| vector_float | m_x1 |
| vector_float | m_y1 |
| vector_float | m_z1 |
| float | m_lineWidth |
Private Member Functions | |
| CSetOfLines () | |
| Constructor. | |
| virtual | ~CSetOfLines () |
| Private, virtual destructor: only can be deleted from smart pointers. | |
Definition at line 46 of file CSetOfLines.h.
| mrpt::opengl::CSetOfLines::CSetOfLines | ( | ) | [inline, private] |
| virtual mrpt::opengl::CSetOfLines::~CSetOfLines | ( | ) | [inline, private, virtual] |
Private, virtual destructor: only can be deleted from smart pointers.
Definition at line 102 of file CSetOfLines.h.
| void mrpt::opengl::CSetOfLines::appendLine | ( | T | p0, | |
| U | p1 | |||
| ) | [inline] |
Definition at line 69 of file CSetOfLines.h.
| void mrpt::opengl::CSetOfLines::appendLine | ( | const float & | x0, | |
| const float & | y0, | |||
| const float & | z0, | |||
| const float & | x1, | |||
| const float & | y1, | |||
| const float & | z1 | |||
| ) |
| void mrpt::opengl::CSetOfLines::clear | ( | ) |
| static CSetOfLinesPtr mrpt::opengl::CSetOfLines::Create | ( | ) | [inline, static] |
| size_t mrpt::opengl::CSetOfLines::getLineCount | ( | ) | const [inline] |
Definition at line 73 of file CSetOfLines.h.
| float mrpt::opengl::CSetOfLines::getLineWidth | ( | ) | const [inline] |
Definition at line 58 of file CSetOfLines.h.
| void mrpt::opengl::CSetOfLines::render | ( | ) | const [virtual] |
| void mrpt::opengl::CSetOfLines::reserve | ( | size_t | r | ) |
| void mrpt::opengl::CSetOfLines::resize | ( | const size_t & | nLines | ) |
| void mrpt::opengl::CSetOfLines::setLineByIndex | ( | const size_t & | index, | |
| const float & | x0, | |||
| const float & | y0, | |||
| const float & | z0, | |||
| const float & | x1, | |||
| const float & | y1, | |||
| const float & | z1 | |||
| ) |
| void mrpt::opengl::CSetOfLines::setLineWidth | ( | float | w | ) | [inline] |
float mrpt::opengl::CSetOfLines::m_lineWidth [protected] |
Definition at line 52 of file CSetOfLines.h.
vector_float mrpt::opengl::CSetOfLines::m_x0 [protected] |
Definition at line 50 of file CSetOfLines.h.
vector_float mrpt::opengl::CSetOfLines::m_x1 [protected] |
Definition at line 51 of file CSetOfLines.h.
vector_float mrpt::opengl::CSetOfLines::m_y0 [protected] |
Definition at line 50 of file CSetOfLines.h.
vector_float mrpt::opengl::CSetOfLines::m_y1 [protected] |
Definition at line 51 of file CSetOfLines.h.
vector_float mrpt::opengl::CSetOfLines::m_z0 [protected] |
Definition at line 50 of file CSetOfLines.h.
vector_float mrpt::opengl::CSetOfLines::m_z1 [protected] |
Definition at line 51 of file CSetOfLines.h.
| Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN: at Thu Feb 26 02:07:47 EST 2009 |