Specialization mrpt::utils::PointCloudAdapter<mrpt::slam::CColouredPointsMap>
Definition at line 328 of file CColouredPointsMap.h.
#include <mrpt/slam/CColouredPointsMap.h>
Public Types | |
| typedef float | coords_t |
| The type of each point XYZ coordinates. | |
Public Member Functions | |
| PointCloudAdapter (const mrpt::slam::CColouredPointsMap &obj) | |
| Constructor (accept a const ref for convenience) | |
| size_t | size () const |
| Get number of points. | |
| void | resize (const size_t N) |
| Set number of points (to uninitialized values) | |
| template<typename T > | |
| void | getPointXYZ (const size_t idx, T &x, T &y, T &z) const |
| Get XYZ coordinates of i'th point. | |
| 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. | |
| template<typename T > | |
| void | getPointXYZ_RGBf (const size_t idx, T &x, T &y, T &z, float &r, float &g, float &b) const |
| Get XYZ_RGBf coordinates of i'th point. | |
| void | setPointXYZ_RGBf (const size_t idx, const coords_t x, const coords_t y, const coords_t z, const float r, const float g, const float b) |
| Set XYZ_RGBf coordinates of i'th point. | |
| template<typename T > | |
| void | getPointXYZ_RGBu8 (const size_t idx, T &x, T &y, T &z, uint8_t &r, uint8_t &g, uint8_t &b) const |
| Get XYZ_RGBu8 coordinates of i'th point. | |
| void | setPointXYZ_RGBu8 (const size_t idx, const coords_t x, const coords_t y, const coords_t z, const uint8_t r, const uint8_t g, const uint8_t b) |
| Set XYZ_RGBu8 coordinates of i'th point. | |
| void | getPointRGBf (const size_t idx, float &r, float &g, float &b) const |
| Get RGBf color of i'th point. | |
| void | setPointRGBf (const size_t idx, const float r, const float g, const float b) |
| Set XYZ_RGBf coordinates of i'th point. | |
| void | getPointRGBu8 (const size_t idx, uint8_t &r, uint8_t &g, uint8_t &b) const |
| Get RGBu8 color of i'th point. | |
| void | setPointRGBu8 (const size_t idx, const uint8_t r, const uint8_t g, const uint8_t b) |
| Set RGBu8 coordinates of i'th point. | |
Static Public Attributes | |
| static const int | HAS_RGB = 1 |
| Has any color RGB info? | |
| static const int | HAS_RGBf = 1 |
| Has native RGB info (as floats)? | |
| static const int | HAS_RGBu8 = 0 |
| Has native RGB info (as uint8_t)? | |
Private Attributes | |
| mrpt::slam::CColouredPointsMap & | m_obj |
| typedef float mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::coords_t |
The type of each point XYZ coordinates.
Definition at line 333 of file CColouredPointsMap.h.
| mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::PointCloudAdapter | ( | const mrpt::slam::CColouredPointsMap & | obj | ) | [inline] |
Constructor (accept a const ref for convenience)
Definition at line 339 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::getPointRGBf | ( | const size_t | idx, |
| float & | r, | ||
| float & | g, | ||
| float & | b | ||
| ) | const [inline] |
Get RGBf color of i'th point.
Definition at line 378 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::getPointRGBu8 | ( | const size_t | idx, |
| uint8_t & | r, | ||
| uint8_t & | g, | ||
| uint8_t & | b | ||
| ) | const [inline] |
Get RGBu8 color of i'th point.
Definition at line 383 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::getPointXYZ | ( | const size_t | idx, |
| T & | x, | ||
| T & | y, | ||
| T & | z | ||
| ) | const [inline] |
Get XYZ coordinates of i'th point.
Definition at line 347 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::getPointXYZ_RGBf | ( | const size_t | idx, |
| T & | x, | ||
| T & | y, | ||
| T & | z, | ||
| float & | r, | ||
| float & | g, | ||
| float & | b | ||
| ) | const [inline] |
Get XYZ_RGBf coordinates of i'th point.
Definition at line 357 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::getPointXYZ_RGBu8 | ( | const size_t | idx, |
| T & | x, | ||
| T & | y, | ||
| T & | z, | ||
| uint8_t & | r, | ||
| uint8_t & | g, | ||
| uint8_t & | b | ||
| ) | const [inline] |
Get XYZ_RGBu8 coordinates of i'th point.
Definition at line 367 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::resize | ( | const size_t | N | ) | [inline] |
Set number of points (to uninitialized values)
Definition at line 343 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::setPointRGBf | ( | const size_t | idx, |
| const float | r, | ||
| const float | g, | ||
| const float | b | ||
| ) | [inline] |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 380 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::setPointRGBu8 | ( | const size_t | idx, |
| const uint8_t | r, | ||
| const uint8_t | g, | ||
| const uint8_t | b | ||
| ) | [inline] |
Set RGBu8 coordinates of i'th point.
Definition at line 389 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::setPointXYZ | ( | const size_t | idx, |
| const coords_t | x, | ||
| const coords_t | y, | ||
| const coords_t | z | ||
| ) | [inline] |
Set XYZ coordinates of i'th point.
Definition at line 351 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::setPointXYZ_RGBf | ( | const size_t | idx, |
| const coords_t | x, | ||
| const coords_t | y, | ||
| const coords_t | z, | ||
| const float | r, | ||
| const float | g, | ||
| const float | b | ||
| ) | [inline] |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 361 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::setPointXYZ_RGBu8 | ( | const size_t | idx, |
| const coords_t | x, | ||
| const coords_t | y, | ||
| const coords_t | z, | ||
| const uint8_t | r, | ||
| const uint8_t | g, | ||
| const uint8_t | b | ||
| ) | [inline] |
Set XYZ_RGBu8 coordinates of i'th point.
Definition at line 373 of file CColouredPointsMap.h.
| size_t mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::size | ( | ) | const [inline] |
Get number of points.
Definition at line 341 of file CColouredPointsMap.h.
const int mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::HAS_RGB = 1 [static] |
Has any color RGB info?
Definition at line 334 of file CColouredPointsMap.h.
const int mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::HAS_RGBf = 1 [static] |
Has native RGB info (as floats)?
Definition at line 335 of file CColouredPointsMap.h.
const int mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::HAS_RGBu8 = 0 [static] |
Has native RGB info (as uint8_t)?
Definition at line 336 of file CColouredPointsMap.h.
mrpt::slam::CColouredPointsMap& mrpt::utils::PointCloudAdapter< mrpt::slam::CColouredPointsMap >::m_obj [private] |
Definition at line 331 of file CColouredPointsMap.h.
| Page generated by Doxygen 1.7.4 for MRPT 0.9.5 SVN:2717 at Sun Oct 16 16:08:03 PDT 2011 | Hosted on: |