#include <mrpt/opengl/CPointCloudColoured.h>
Classes | |
struct | TPointColour |
Public Types | |
typedef TListPointColour::iterator | iterator |
typedef TListPointColour::const_iterator | const_iterator |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
void | push_back (double x, double y, double z, double R, double G, double B) |
void | push_back (float x, float y, float z, float R, float G, float B) |
void | reserve (size_t N) |
void | resize (size_t N) |
TPointColour & | operator[] (size_t i) |
Read or write access to each individual point. | |
size_t | size () const |
void | clear () |
void | setPointSize (float pointSize) |
float | getPointSize () const |
void | loadFromPointsMap (const mrpt::slam::CPointsMap *map) |
Load the points from a points map, depending on the type of point map passed: for the case of a mrpt::slam::CColouredPointMap the colours of individual points will be also copied. | |
void | render () const |
Render. | |
Static Public Member Functions | |
static CPointCloudColouredPtr | Create () |
Class factory. | |
Private Types | |
typedef mrpt::utils::vector_serializable < TPointColour > | TListPointColour |
Private Member Functions | |
CPointCloudColoured () | |
Constructor. | |
virtual | ~CPointCloudColoured () |
Private, virtual destructor: only can be deleted from smart pointers. | |
Private Attributes | |
TListPointColour | m_points |
float | m_pointSize |
By default is 1.0. |
The alpha component is shared by all the points and is stored in the base member m_color_A.
Definition at line 51 of file CPointCloudColoured.h.
typedef TListPointColour::const_iterator mrpt::opengl::CPointCloudColoured::const_iterator |
Definition at line 82 of file CPointCloudColoured.h.
typedef TListPointColour::iterator mrpt::opengl::CPointCloudColoured::iterator |
Definition at line 81 of file CPointCloudColoured.h.
typedef mrpt::utils::vector_serializable<TPointColour> mrpt::opengl::CPointCloudColoured::TListPointColour [private] |
Definition at line 65 of file CPointCloudColoured.h.
mrpt::opengl::CPointCloudColoured::CPointCloudColoured | ( | ) | [inline, private] |
virtual mrpt::opengl::CPointCloudColoured::~CPointCloudColoured | ( | ) | [inline, private, virtual] |
Private, virtual destructor: only can be deleted from smart pointers.
Definition at line 78 of file CPointCloudColoured.h.
const_iterator mrpt::opengl::CPointCloudColoured::begin | ( | ) | const [inline] |
Definition at line 85 of file CPointCloudColoured.h.
iterator mrpt::opengl::CPointCloudColoured::begin | ( | ) | [inline] |
Definition at line 84 of file CPointCloudColoured.h.
void mrpt::opengl::CPointCloudColoured::clear | ( | void | ) | [inline] |
Definition at line 106 of file CPointCloudColoured.h.
static CPointCloudColouredPtr mrpt::opengl::CPointCloudColoured::Create | ( | ) | [inline, static] |
Class factory.
Definition at line 113 of file CPointCloudColoured.h.
References mrpt::opengl::CPointCloudColoured.
const_iterator mrpt::opengl::CPointCloudColoured::end | ( | ) | const [inline] |
Definition at line 87 of file CPointCloudColoured.h.
iterator mrpt::opengl::CPointCloudColoured::end | ( | ) | [inline] |
Definition at line 86 of file CPointCloudColoured.h.
float mrpt::opengl::CPointCloudColoured::getPointSize | ( | ) | const [inline] |
Definition at line 109 of file CPointCloudColoured.h.
void mrpt::opengl::CPointCloudColoured::loadFromPointsMap | ( | const mrpt::slam::CPointsMap * | map | ) |
Load the points from a points map, depending on the type of point map passed: for the case of a mrpt::slam::CColouredPointMap the colours of individual points will be also copied.
TPointColour& mrpt::opengl::CPointCloudColoured::operator[] | ( | size_t | i | ) | [inline] |
Read or write access to each individual point.
Definition at line 103 of file CPointCloudColoured.h.
void mrpt::opengl::CPointCloudColoured::push_back | ( | float | x, | |
float | y, | |||
float | z, | |||
float | R, | |||
float | G, | |||
float | B | |||
) | [inline] |
Definition at line 94 of file CPointCloudColoured.h.
void mrpt::opengl::CPointCloudColoured::push_back | ( | double | x, | |
double | y, | |||
double | z, | |||
double | R, | |||
double | G, | |||
double | B | |||
) | [inline] |
Definition at line 89 of file CPointCloudColoured.h.
void mrpt::opengl::CPointCloudColoured::render | ( | ) | const [virtual] |
void mrpt::opengl::CPointCloudColoured::reserve | ( | size_t | N | ) | [inline] |
Definition at line 99 of file CPointCloudColoured.h.
void mrpt::opengl::CPointCloudColoured::resize | ( | size_t | N | ) | [inline] |
Definition at line 100 of file CPointCloudColoured.h.
void mrpt::opengl::CPointCloudColoured::setPointSize | ( | float | pointSize | ) | [inline] |
Definition at line 108 of file CPointCloudColoured.h.
size_t mrpt::opengl::CPointCloudColoured::size | ( | ) | const [inline] |
Definition at line 105 of file CPointCloudColoured.h.
Definition at line 67 of file CPointCloudColoured.h.
float mrpt::opengl::CPointCloudColoured::m_pointSize [private] |
Page generated by Doxygen 1.5.7.1 for MRPT 0.6.5 SVN: at Mon Feb 23 13:24:51 EST 2009 |