|
Point Cloud Library (PCL)
1.6.0
|
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. | |
| 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 252 of file point_traits.h.
| typedef traits::POD<PointOutT>::type pcl::SetIfFieldExists< PointOutT, InT >::Pod |
Definition at line 254 of file point_traits.h.
| pcl::SetIfFieldExists< PointOutT, InT >::SetIfFieldExists | ( | PointOutT & | pt, |
| const std::string & | field, | ||
| const InT & | value | ||
| ) | [inline] |
Constructor.
| [in] | pt | the input point |
| [in] | field | the name of the field |
| [out] | value | the value to set |
Definition at line 261 of file point_traits.h.
| void pcl::SetIfFieldExists< PointOutT, InT >::operator() | ( | ) | [inline] |
1.7.6.1