Point Cloud Library (PCL) 1.12.0
|
A helper functor that can copy a specific value if the given field exists. More...
#include <pcl/type_traits.h>
Public Types | |
using | Pod = typename traits::POD<PointInT>::type |
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 124 of file type_traits.h.
Definition at line 126 of file type_traits.h.
|
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 134 of file type_traits.h.
|
inline |
Constructor.
[in] | pt | the input point |
[in] | field | the name of the field |
[out] | value | the copied field value |
Definition at line 148 of file type_traits.h.
|
inline |