Specialization mrpt::utils::PointCloudAdapter<mrpt::slam::CWeightedPointsMap>
Definition at line 166 of file CWeightedPointsMap.h.
#include <mrpt/slam/CWeightedPointsMap.h>

Public Types | |
| typedef float | coords_t |
| The type of each point XYZ coordinates. | |
| typedef PointCloudAdapter < mrpt::slam::CWeightedPointsMap > | Derived |
Public Member Functions | |
| PointCloudAdapter (const mrpt::slam::CWeightedPointsMap &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. | |
| Derived & | derived () |
| const Derived & | derived () const |
| 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 floatx, const floaty, const floatz, const float r, const float g, const float b) |
| Set XYZ_RGBf coordinates of i'th point. | |
| 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 floatx, const floaty, const floatz, 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 = 0 |
| Has any color RGB info? | |
| static const int | HAS_RGBf = 0 |
| Has native RGB info (as floats)? | |
| static const int | HAS_RGBu8 = 0 |
| Has native RGB info (as uint8_t)? | |
Private Attributes | |
| mrpt::slam::CWeightedPointsMap & | m_obj |
| typedef float mrpt::utils::PointCloudAdapter< mrpt::slam::CWeightedPointsMap >::coords_t |
The type of each point XYZ coordinates.
Definition at line 171 of file CWeightedPointsMap.h.
typedef PointCloudAdapter<mrpt::slam::CWeightedPointsMap > mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::Derived [inherited] |
Definition at line 70 of file CColouredPointsMap.h.
| mrpt::utils::PointCloudAdapter< mrpt::slam::CWeightedPointsMap >::PointCloudAdapter | ( | const mrpt::slam::CWeightedPointsMap & | obj | ) | [inline] |
Constructor (accept a const ref for convenience)
Definition at line 177 of file CWeightedPointsMap.h.
| Derived& mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::derived | ( | ) | [inline, inherited] |
Definition at line 72 of file CColouredPointsMap.h.
| const Derived& mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::derived | ( | ) | const [inline, inherited] |
Definition at line 73 of file CColouredPointsMap.h.
| void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::getPointRGBf | ( | const size_t | idx, |
| float & | r, | ||
| float & | g, | ||
| float & | b | ||
| ) | const [inline, inherited] |
Get RGBf color of i'th point.
Definition at line 98 of file CColouredPointsMap.h.
| void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::getPointRGBu8 | ( | const size_t | idx, |
| uint8_t & | r, | ||
| uint8_t & | g, | ||
| uint8_t & | b | ||
| ) | const [inline, inherited] |
Get RGBu8 color of i'th point.
Definition at line 103 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CWeightedPointsMap >::getPointXYZ | ( | const size_t | idx, |
| T & | x, | ||
| T & | y, | ||
| T & | z | ||
| ) | const [inline] |
Get XYZ coordinates of i'th point.
Definition at line 185 of file CWeightedPointsMap.h.
| void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::getPointXYZ_RGBf | ( | const size_t | idx, |
| T & | x, | ||
| T & | y, | ||
| T & | z, | ||
| float & | r, | ||
| float & | g, | ||
| float & | b | ||
| ) | const [inline, inherited] |
Get XYZ_RGBf coordinates of i'th point.
Definition at line 77 of file CColouredPointsMap.h.
| void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::getPointXYZ_RGBu8 | ( | const size_t | idx, |
| T & | x, | ||
| T & | y, | ||
| T & | z, | ||
| uint8_t & | r, | ||
| uint8_t & | g, | ||
| uint8_t & | b | ||
| ) | const [inline, inherited] |
Get XYZ_RGBu8 coordinates of i'th point.
Definition at line 88 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CWeightedPointsMap >::resize | ( | const size_t | N | ) | [inline] |
Set number of points (to uninitialized values)
Definition at line 181 of file CWeightedPointsMap.h.
| void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::setPointRGBf | ( | const size_t | idx, |
| const float | r, | ||
| const float | g, | ||
| const float | b | ||
| ) | [inline, inherited] |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 100 of file CColouredPointsMap.h.
| void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::setPointRGBu8 | ( | const size_t | idx, |
| const uint8_t | r, | ||
| const uint8_t | g, | ||
| const uint8_t | b | ||
| ) | [inline, inherited] |
Set RGBu8 coordinates of i'th point.
Definition at line 105 of file CColouredPointsMap.h.
| void mrpt::utils::PointCloudAdapter< mrpt::slam::CWeightedPointsMap >::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 189 of file CWeightedPointsMap.h.
| void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::setPointXYZ_RGBf | ( | const size_t | idx, |
| const float | x, | ||
| const float | y, | ||
| const float | z, | ||
| const float | r, | ||
| const float | g, | ||
| const float | b | ||
| ) | [inline, inherited] |
Set XYZ_RGBf coordinates of i'th point.
Definition at line 82 of file CColouredPointsMap.h.
| void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< mrpt::slam::CWeightedPointsMap , float >::setPointXYZ_RGBu8 | ( | const size_t | idx, |
| const float | x, | ||
| const float | y, | ||
| const float | z, | ||
| const uint8_t | r, | ||
| const uint8_t | g, | ||
| const uint8_t | b | ||
| ) | [inline, inherited] |
Set XYZ_RGBu8 coordinates of i'th point.
Definition at line 93 of file CColouredPointsMap.h.
| size_t mrpt::utils::PointCloudAdapter< mrpt::slam::CWeightedPointsMap >::size | ( | ) | const [inline] |
Get number of points.
Definition at line 179 of file CWeightedPointsMap.h.
const int mrpt::utils::PointCloudAdapter< mrpt::slam::CWeightedPointsMap >::HAS_RGB = 0 [static] |
Has any color RGB info?
Definition at line 172 of file CWeightedPointsMap.h.
const int mrpt::utils::PointCloudAdapter< mrpt::slam::CWeightedPointsMap >::HAS_RGBf = 0 [static] |
Has native RGB info (as floats)?
Definition at line 173 of file CWeightedPointsMap.h.
const int mrpt::utils::PointCloudAdapter< mrpt::slam::CWeightedPointsMap >::HAS_RGBu8 = 0 [static] |
Has native RGB info (as uint8_t)?
Definition at line 174 of file CWeightedPointsMap.h.
mrpt::slam::CWeightedPointsMap& mrpt::utils::PointCloudAdapter< mrpt::slam::CWeightedPointsMap >::m_obj [private] |
Definition at line 169 of file CWeightedPointsMap.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: |