#include <mrpt/opengl/CPointCloud.h>
Public Member Functions | |
void | clear () |
Empty the list of points. | |
void | insertPoint (float x, float y, float z) |
Adds a new point to the cloud. | |
void | loadFromPointsMap (const mrpt::slam::CPointsMap *map) |
Load the points from a points map. | |
void | render () |
Render. | |
Static Public Member Functions | |
static CPointCloudPtr | Create () |
Class factory. | |
Public Attributes | |
bool | m_colorFromZ |
vector_float | m_xs |
vector_float | m_ys |
vector_float | m_zs |
float | m_pointSize |
By default is 1.0. | |
Private Member Functions | |
CPointCloud () | |
Constructor. | |
virtual | ~CPointCloud () |
Private, virtual destructor: only can be deleted from smart pointers. | |
Private Attributes | |
float | m_z_min |
float | m_z_max |
Buffer for min/max z coords. | |
bool | m_z_minmax_valid |
Definition at line 50 of file CPointCloud.h.
mrpt::opengl::CPointCloud::CPointCloud | ( | ) | [inline, private] |
virtual mrpt::opengl::CPointCloud::~CPointCloud | ( | ) | [inline, private, virtual] |
Private, virtual destructor: only can be deleted from smart pointers.
Definition at line 92 of file CPointCloud.h.
void mrpt::opengl::CPointCloud::clear | ( | ) |
Empty the list of points.
static CPointCloudPtr mrpt::opengl::CPointCloud::Create | ( | ) | [inline, static] |
void mrpt::opengl::CPointCloud::insertPoint | ( | float | x, | |
float | y, | |||
float | z | |||
) |
Adds a new point to the cloud.
void mrpt::opengl::CPointCloud::loadFromPointsMap | ( | const mrpt::slam::CPointsMap * | map | ) |
Load the points from a points map.
void mrpt::opengl::CPointCloud::render | ( | ) | [virtual] |
Definition at line 54 of file CPointCloud.h.
Definition at line 55 of file CPointCloud.h.
Definition at line 55 of file CPointCloud.h.
float mrpt::opengl::CPointCloud::m_z_max [private] |
float mrpt::opengl::CPointCloud::m_z_min [private] |
Definition at line 94 of file CPointCloud.h.
bool mrpt::opengl::CPointCloud::m_z_minmax_valid [private] |
Definition at line 95 of file CPointCloud.h.
Definition at line 55 of file CPointCloud.h.
Page generated by Doxygen 1.5.8 for MRPT 0.6.5 SVN:exported at Mon Jan 12 13:00:16 UTC 2009 |