Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Member Functions | Public Attributes
pcl::ColorGradientModality< PointInT >::Candidate Struct Reference

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

#include <pcl/recognition/color_gradient_modality.h>

Public Member Functions

bool operator< (const Candidate &rhs) const
 Operator for comparing to candidates (by magnitude of the gradient). More...
 

Public Attributes

GradientXY gradient
 The gradient. More...
 
int x
 The x-position. More...
 
int y
 The y-position. More...
 

Detailed Description

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

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

Definition at line 64 of file color_gradient_modality.h.

Member Function Documentation

◆ operator<()

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

Operator for comparing to candidates (by magnitude of the gradient).

Parameters
[in]rhsthe candidate to compare with.

Definition at line 77 of file color_gradient_modality.h.

References pcl::ColorGradientModality< PointInT >::Candidate::gradient, and pcl::GradientXY::magnitude.

Member Data Documentation

◆ gradient

template<typename PointInT>
GradientXY pcl::ColorGradientModality< PointInT >::Candidate::gradient

The gradient.

Definition at line 67 of file color_gradient_modality.h.

Referenced by pcl::ColorGradientModality< PointInT >::Candidate::operator<().

◆ x

template<typename PointInT>
int pcl::ColorGradientModality< PointInT >::Candidate::x

The x-position.

Definition at line 70 of file color_gradient_modality.h.

◆ y

template<typename PointInT>
int pcl::ColorGradientModality< PointInT >::Candidate::y

The y-position.

Definition at line 72 of file color_gradient_modality.h.


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