Point Cloud Library (PCL)
1.7.0
|
A helper functor that can copy a specific value if the given field exists. More...
#include <pcl/point_traits.h>
Public Types | |
typedef traits::POD< PointInT > ::type | Pod |
Public Member Functions | |
CopyIfFieldExists (const PointInT &pt, const std::string &field, bool &exists, OutT &value) | |
Constructor. | |
CopyIfFieldExists (const PointInT &pt, const std::string &field, OutT &value) | |
Constructor. | |
template<typename Key > | |
void | operator() () |
Operator. |
A helper functor that can copy a specific value if the given field exists.
Definition at line 190 of file point_traits.h.
typedef traits::POD<PointInT>::type pcl::CopyIfFieldExists< PointInT, OutT >::Pod |
Definition at line 192 of file point_traits.h.
pcl::CopyIfFieldExists< PointInT, OutT >::CopyIfFieldExists | ( | const PointInT & | pt, |
const std::string & | field, | ||
bool & | exists, | ||
OutT & | value | ||
) | [inline] |
Constructor.
[in] | pt | the input point |
[in] | field | the name of the field |
[out] | exists | set to true if the field exists, false otherwise |
[out] | value | the copied field value |
Definition at line 200 of file point_traits.h.
pcl::CopyIfFieldExists< PointInT, OutT >::CopyIfFieldExists | ( | const PointInT & | pt, |
const std::string & | field, | ||
OutT & | value | ||
) | [inline] |
Constructor.
[in] | pt | the input point |
[in] | field | the name of the field |
[out] | value | the copied field value |
Definition at line 214 of file point_traits.h.
void pcl::CopyIfFieldExists< PointInT, OutT >::operator() | ( | ) | [inline] |