Point Cloud Library (PCL)  1.8.1
List of all members | Public Types | Public Member Functions | Public Attributes
pcl::detail::AccumulatorRGBA Struct Reference

#include <pcl/common/impl/accumulators.hpp>

Public Types

typedef pcl::traits::has_color< boost::mpl::_1 > IsCompatible
 

Public Member Functions

 AccumulatorRGBA ()
 
template<typename PointT >
void add (const PointT &t)
 
template<typename PointT >
void get (PointT &t, size_t n) const
 

Public Attributes

float r
 
float g
 
float b
 
float a
 

Detailed Description

Definition at line 138 of file accumulators.hpp.

Member Typedef Documentation

◆ IsCompatible

typedef pcl::traits::has_color<boost::mpl::_1> pcl::detail::AccumulatorRGBA::IsCompatible

Definition at line 142 of file accumulators.hpp.

Constructor & Destructor Documentation

◆ AccumulatorRGBA()

pcl::detail::AccumulatorRGBA::AccumulatorRGBA ( )
inline

Definition at line 147 of file accumulators.hpp.

Member Function Documentation

◆ add()

template<typename PointT >
void pcl::detail::AccumulatorRGBA::add ( const PointT t)
inline

Definition at line 150 of file accumulators.hpp.

References a, b, g, and r.

◆ get()

template<typename PointT >
void pcl::detail::AccumulatorRGBA::get ( PointT t,
size_t  n 
) const
inline

Definition at line 159 of file accumulators.hpp.

References a, b, g, and r.

Member Data Documentation

◆ a

float pcl::detail::AccumulatorRGBA::a

Definition at line 145 of file accumulators.hpp.

Referenced by add(), and get().

◆ b

float pcl::detail::AccumulatorRGBA::b

Definition at line 145 of file accumulators.hpp.

Referenced by add(), and get().

◆ g

float pcl::detail::AccumulatorRGBA::g

Definition at line 145 of file accumulators.hpp.

Referenced by add(), and get().

◆ r

float pcl::detail::AccumulatorRGBA::r

Definition at line 145 of file accumulators.hpp.

Referenced by add(), and get().


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