MRPT
1.9.9
|
Specialization mrpt::opengl::PointCloudAdapter<mrpt::opengl::CPointCloud>
Definition at line 313 of file CPointCloud.h.
#include <mrpt/opengl/CPointCloud.h>
Public Types | |
using | coords_t = float |
The type of each point XYZ coordinates. More... | |
Public Member Functions | |
PointCloudAdapter (const mrpt::opengl::CPointCloud &obj) | |
Constructor (accept a const ref for convenience) More... | |
size_t | size () const |
Get number of points. More... | |
void | resize (const size_t N) |
Set number of points (to uninitialized values) More... | |
void | setDimensions (const size_t &height, const size_t &width) |
Does nothing as of now. More... | |
template<typename T > | |
void | getPointXYZ (const size_t idx, T &x, T &y, T &z) const |
Get XYZ coordinates of i'th point. More... | |
void | setPointXYZ (const size_t idx, const coords_t x, const coords_t y, const coords_t z) |
Set XYZ coordinates of i'th point. More... | |
void | setInvalidPoint (const size_t idx) |
Set XYZ coordinates of i'th point. More... | |
Static Public Attributes | |
static constexpr bool | HAS_RGB = false |
Has any color RGB info? More... | |
static constexpr bool | HAS_RGBf = false |
Has native RGB info (as floats)? More... | |
static constexpr bool | HAS_RGBu8 = false |
Has native RGB info (as uint8_t)? More... | |
Private Attributes | |
mrpt::opengl::CPointCloud & | m_obj |
using mrpt::opengl::PointCloudAdapter< mrpt::opengl::CPointCloud >::coords_t = float |
The type of each point XYZ coordinates.
Definition at line 320 of file CPointCloud.h.
|
inline |
Constructor (accept a const ref for convenience)
Definition at line 329 of file CPointCloud.h.
|
inline |
Get XYZ coordinates of i'th point.
Definition at line 341 of file CPointCloud.h.
References mrpt::opengl::CPointCloud::getArrayX(), mrpt::opengl::CPointCloud::getArrayY(), and mrpt::opengl::CPointCloud::getArrayZ().
|
inline |
Set number of points (to uninitialized values)
Definition at line 336 of file CPointCloud.h.
References mrpt::opengl::CPointCloud::resize().
|
inline |
Does nothing as of now.
Definition at line 338 of file CPointCloud.h.
|
inline |
Set XYZ coordinates of i'th point.
Definition at line 355 of file CPointCloud.h.
References THROW_EXCEPTION.
|
inline |
Set XYZ coordinates of i'th point.
Definition at line 348 of file CPointCloud.h.
References mrpt::opengl::CPointCloud::setPoint_fast().
|
inline |
Get number of points.
Definition at line 334 of file CPointCloud.h.
References mrpt::opengl::CPointCloud::size().
|
static |
Has any color RGB info?
Definition at line 322 of file CPointCloud.h.
|
static |
Has native RGB info (as floats)?
Definition at line 324 of file CPointCloud.h.
|
static |
Has native RGB info (as uint8_t)?
Definition at line 326 of file CPointCloud.h.
|
private |
Definition at line 316 of file CPointCloud.h.
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 8fe78517f Sun Jul 14 19:43:28 2019 +0200 at lun oct 28 02:10:00 CET 2019 |