Point Cloud Library (PCL)
1.9.1
|
A helper functor that can set a specific value in a field if the field exists. More...
#include <pcl/point_traits.h>
Public Types | |
typedef traits::POD< PointOutT > ::type | Pod |
Public Member Functions | |
SetIfFieldExists (PointOutT &pt, const std::string &field, const InT &value) | |
Constructor. More... | |
template<typename Key > | |
void | operator() () |
Operator. More... | |
A helper functor that can set a specific value in a field if the field exists.
Definition at line 298 of file point_traits.h.
typedef traits::POD<PointOutT>::type pcl::SetIfFieldExists< PointOutT, InT >::Pod |
Definition at line 300 of file point_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 307 of file point_traits.h.
|
inline |