cpp-toolbox  0.0.1
A toolbox library for C++
Loading...
Searching...
No Matches
toolbox::pcl::pfh_signature_t< DataType > Struct Template Reference

PFH (Point Feature Histogram) signature. More...

#include <pfh_extractor.hpp>

Inheritance diagram for toolbox::pcl::pfh_signature_t< DataType >:

Public Types

using value_type = DataType
 
- Public Types inherited from toolbox::pcl::base_signature_t< DataType, pfh_signature_t< DataType > >
using data_type = DataType
 
using derived_type = pfh_signature_t< DataType >
 

Public Member Functions

const DataType * data () const
 
DataType * data ()
 
constexpr std::size_t size () const
 
DataType distance_impl (const pfh_signature_t &other) const
 
- Public Member Functions inherited from toolbox::pcl::base_signature_t< DataType, pfh_signature_t< DataType > >
DataType distance (const pfh_signature_t< DataType > &other) const
 计算与另一个签名的距离 / Calculate distance to another signature
 

Public Attributes

std::array< DataType, HISTOGRAM_SIZEhistogram {}
 

Static Public Attributes

static constexpr std::size_t HISTOGRAM_SIZE = 125
 

Detailed Description

template<typename DataType>
struct toolbox::pcl::pfh_signature_t< DataType >

PFH (Point Feature Histogram) signature.

Template Parameters
DataTypeThe data type (float or double)

PFH descriptor with 125 bins (5^3 for the 3 angular features)

Member Typedef Documentation

◆ value_type

template<typename DataType >
using toolbox::pcl::pfh_signature_t< DataType >::value_type = DataType

Member Function Documentation

◆ data() [1/2]

template<typename DataType >
DataType * toolbox::pcl::pfh_signature_t< DataType >::data ( )
inline

◆ data() [2/2]

template<typename DataType >
const DataType * toolbox::pcl::pfh_signature_t< DataType >::data ( ) const
inline

◆ distance_impl()

template<typename DataType >
DataType toolbox::pcl::pfh_signature_t< DataType >::distance_impl ( const pfh_signature_t< DataType > &  other) const
inline

◆ size()

template<typename DataType >
constexpr std::size_t toolbox::pcl::pfh_signature_t< DataType >::size ( ) const
inlineconstexpr

Member Data Documentation

◆ histogram

template<typename DataType >
std::array<DataType, HISTOGRAM_SIZE> toolbox::pcl::pfh_signature_t< DataType >::histogram {}

◆ HISTOGRAM_SIZE

template<typename DataType >
constexpr std::size_t toolbox::pcl::pfh_signature_t< DataType >::HISTOGRAM_SIZE = 125
staticconstexpr

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