Point Cloud Library (PCL)  1.14.1-dev
List of all members | Public Member Functions
pcl::common::IntensityFieldAccessor< PointT > Struct Template Reference

#include <pcl/common/intensity.h>

+ Inheritance diagram for pcl::common::IntensityFieldAccessor< PointT >:

Public Member Functions

float operator() (const PointT &p) const
 get intensity field More...
 
void get (const PointT &p, float &intensity) const
 gets the intensity value of a point More...
 
void set (PointT &p, float intensity) const
 sets the intensity value of a point More...
 
void demean (PointT &p, float value) const
 subtract value from intensity field More...
 
void add (PointT &p, float value) const
 add value to intensity field More...
 

Detailed Description

template<typename PointT>
struct pcl::common::IntensityFieldAccessor< PointT >

Definition at line 50 of file intensity.h.

Member Function Documentation

◆ add()

template<typename PointT >
void pcl::common::IntensityFieldAccessor< PointT >::add ( PointT p,
float  value 
) const
inline

add value to intensity field

Parameters
ppoint for which to modify intensity
[in]valuevalue to be added to point intensity

Definition at line 93 of file intensity.h.

◆ demean()

template<typename PointT >
void pcl::common::IntensityFieldAccessor< PointT >::demean ( PointT p,
float  value 
) const
inline

subtract value from intensity field

Parameters
ppoint for which to modify intensity
[in]valuevalue to be subtracted from point intensity

Definition at line 84 of file intensity.h.

◆ get()

template<typename PointT >
void pcl::common::IntensityFieldAccessor< PointT >::get ( const PointT p,
float &  intensity 
) const
inline

gets the intensity value of a point

Parameters
ppoint for which intensity to be get
[in]intensityvalue of the intensity field

Definition at line 66 of file intensity.h.

◆ operator()()

template<typename PointT >
float pcl::common::IntensityFieldAccessor< PointT >::operator() ( const PointT p) const
inline

◆ set()

template<typename PointT >
void pcl::common::IntensityFieldAccessor< PointT >::set ( PointT p,
float  intensity 
) const
inline

The documentation for this struct was generated from the following file: