ACloudViewer  3.9.4
A Modern Library for 3D Data Processing
cloudViewer::ml::impl::Accumulator< TReal, TFeat, POS_FN, FEAT_FN > Class Template Reference

#include <VoxelPooling.h>

Public Member Functions

 Accumulator ()
 
template<class Derived , class Derived2 , class Derived3 >
void AddPoint (const Eigen::MatrixBase< Derived > &pos, const Eigen::MatrixBase< Derived2 > &voxel_center, const Eigen::ArrayBase< Derived3 > &feat)
 
Eigen::Array< TReal, 3, 1 > Position () const
 
Eigen::Array< TFeat, Eigen::Dynamic, 1 > Features () const
 
int Count () const
 

Detailed Description

template<class TReal, class TFeat, AccumulationFn POS_FN, AccumulationFn FEAT_FN>
class cloudViewer::ml::impl::Accumulator< TReal, TFeat, POS_FN, FEAT_FN >

Definition at line 26 of file VoxelPooling.h.

Constructor & Destructor Documentation

◆ Accumulator()

template<class TReal , class TFeat , AccumulationFn POS_FN, AccumulationFn FEAT_FN>
cloudViewer::ml::impl::Accumulator< TReal, TFeat, POS_FN, FEAT_FN >::Accumulator ( )
inline

Definition at line 28 of file VoxelPooling.h.

References cloudViewer::ml::impl::CENTER, and cloudViewer::ml::impl::MAX.

Member Function Documentation

◆ AddPoint()

template<class TReal , class TFeat , AccumulationFn POS_FN, AccumulationFn FEAT_FN>
template<class Derived , class Derived2 , class Derived3 >
void cloudViewer::ml::impl::Accumulator< TReal, TFeat, POS_FN, FEAT_FN >::AddPoint ( const Eigen::MatrixBase< Derived > &  pos,
const Eigen::MatrixBase< Derived2 > &  voxel_center,
const Eigen::ArrayBase< Derived3 > &  feat 
)
inline

◆ Count()

template<class TReal , class TFeat , AccumulationFn POS_FN, AccumulationFn FEAT_FN>
int cloudViewer::ml::impl::Accumulator< TReal, TFeat, POS_FN, FEAT_FN >::Count ( ) const
inline

Definition at line 90 of file VoxelPooling.h.

◆ Features()

template<class TReal , class TFeat , AccumulationFn POS_FN, AccumulationFn FEAT_FN>
Eigen::Array<TFeat, Eigen::Dynamic, 1> cloudViewer::ml::impl::Accumulator< TReal, TFeat, POS_FN, FEAT_FN >::Features ( ) const
inline

Definition at line 81 of file VoxelPooling.h.

References cloudViewer::ml::impl::AVERAGE.

◆ Position()

template<class TReal , class TFeat , AccumulationFn POS_FN, AccumulationFn FEAT_FN>
Eigen::Array<TReal, 3, 1> cloudViewer::ml::impl::Accumulator< TReal, TFeat, POS_FN, FEAT_FN >::Position ( ) const
inline

Definition at line 72 of file VoxelPooling.h.

References cloudViewer::ml::impl::AVERAGE.


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