Point Cloud Library (PCL)  1.14.1
List of all members | Public Member Functions | Public Attributes
pcl::SurfaceNormalModality< PointInT >::Candidate Struct Reference

Candidate for a feature (used in feature extraction methods). More...

#include <pcl/recognition/surface_normal_modality.h>

+ Collaboration diagram for pcl::SurfaceNormalModality< PointInT >::Candidate:

Public Member Functions

 Candidate ()=default
 Constructor. More...
 
bool operator< (const Candidate &rhs) const
 Compares two candidates based on their distance to the next different quantized value. More...
 

Public Attributes

Normal normal
 Normal. More...
 
float distance {0.0f}
 Distance to the next different quantized value. More...
 
unsigned char bin_index {0}
 Quantized value. More...
 
std::size_t x {0}
 x-position of the feature. More...
 
std::size_t y {0}
 y-position of the feature. More...
 

Detailed Description

template<typename PointInT>
struct pcl::SurfaceNormalModality< PointInT >::Candidate

Candidate for a feature (used in feature extraction methods).

Definition at line 302 of file surface_normal_modality.h.

Constructor & Destructor Documentation

template<typename PointInT>
pcl::SurfaceNormalModality< PointInT >::Candidate::Candidate ( )
default

Constructor.

Member Function Documentation

template<typename PointInT>
bool pcl::SurfaceNormalModality< PointInT >::Candidate::operator< ( const Candidate rhs) const
inline

Compares two candidates based on their distance to the next different quantized value.

Parameters
[in]rhsthe candidate to compare with.

Definition at line 324 of file surface_normal_modality.h.

References pcl::SurfaceNormalModality< PointInT >::Candidate::distance.

Member Data Documentation

template<typename PointInT>
unsigned char pcl::SurfaceNormalModality< PointInT >::Candidate::bin_index {0}
template<typename PointInT>
float pcl::SurfaceNormalModality< PointInT >::Candidate::distance {0.0f}
template<typename PointInT>
Normal pcl::SurfaceNormalModality< PointInT >::Candidate::normal

Normal.

Definition at line 308 of file surface_normal_modality.h.

template<typename PointInT>
std::size_t pcl::SurfaceNormalModality< PointInT >::Candidate::x {0}
template<typename PointInT>
std::size_t pcl::SurfaceNormalModality< PointInT >::Candidate::y {0}

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