Main MRPT website > C++ reference
MRPT logo
Public Types | Public Member Functions
mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t > Class Template Reference

Detailed Description

template<class POINTMAPTYPE, typename coords_t>
class mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >

A helper base class for those PointCloudAdapter<> which do not handle RGB data; it declares needed interface methods which fall back to XYZ-only methods.

Definition at line 67 of file CColouredPointsMap.h.

#include <mrpt/slam/CColouredPointsMap.h>

Inheritance diagram for mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef PointCloudAdapter
< POINTMAPTYPE > 
Derived

Public Member Functions

Derivedderived ()
const Derivedderived () const
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.

Member Typedef Documentation

template<class POINTMAPTYPE, typename coords_t>
typedef PointCloudAdapter<POINTMAPTYPE> mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::Derived

Definition at line 70 of file CColouredPointsMap.h.


Member Function Documentation

template<class POINTMAPTYPE, typename coords_t>
Derived& mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::derived ( ) [inline]

Definition at line 72 of file CColouredPointsMap.h.

template<class POINTMAPTYPE, typename coords_t>
const Derived& mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::derived ( ) const [inline]

Definition at line 73 of file CColouredPointsMap.h.

template<class POINTMAPTYPE, typename coords_t>
void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::getPointRGBf ( const size_t  idx,
float &  r,
float &  g,
float &  b 
) const [inline]

Get RGBf color of i'th point.

Definition at line 98 of file CColouredPointsMap.h.

template<class POINTMAPTYPE, typename coords_t>
void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::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 103 of file CColouredPointsMap.h.

template<class POINTMAPTYPE, typename coords_t>
template<typename T >
void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::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 77 of file CColouredPointsMap.h.

template<class POINTMAPTYPE, typename coords_t>
template<typename T >
void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::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 88 of file CColouredPointsMap.h.

template<class POINTMAPTYPE, typename coords_t>
void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::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 100 of file CColouredPointsMap.h.

template<class POINTMAPTYPE, typename coords_t>
void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::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 105 of file CColouredPointsMap.h.

template<class POINTMAPTYPE, typename coords_t>
void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::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 82 of file CColouredPointsMap.h.

template<class POINTMAPTYPE, typename coords_t>
void mrpt::mrpt::utils::detail::PointCloudAdapterHelperNoRGB< POINTMAPTYPE, coords_t >::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 93 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:
SourceForge.net Logo