Point Cloud Library (PCL) 1.12.0
|
A helper functor that can set a specific value in a field if the field exists. More...
#include <pcl/type_traits.h>
Public Types | |
using | Pod = typename traits::POD<PointOutT>::type |
Public Member Functions | |
SetIfFieldExists (PointOutT &pt, const std::string &field, const InT &value) | |
Constructor. | |
template<typename Key > | |
void | operator() () |
Operator. | |
A helper functor that can set a specific value in a field if the field exists.
Definition at line 189 of file type_traits.h.
Definition at line 191 of file type_traits.h.
|
inline |
Constructor.
[in] | pt | the input point |
[in] | field | the name of the field |
[out] | value | the value to set |
Definition at line 198 of file type_traits.h.
|
inline |