40 #ifndef PCL_COMMON_INTENSITY_FIELD_SELECTOR_H
41 #define PCL_COMMON_INTENSITY_FIELD_SELECTOR_H
50 template<
typename Po
intT>
67 get (
const PointT &p,
float &intensity)
const
69 intensity = p.intensity;
78 p.intensity = intensity;
102 #include <pcl/common/impl/intensity.hpp>
void set(PointT &p, float intensity) const
sets the intensity value of a point
void add(PointT &p, float value) const
add value to intensity field
void demean(PointT &p, float value) const
subtract value from intensity field
A point structure representing Euclidean xyz coordinates, and the RGB color.
float operator()(const PointT &p) const
get intensity field