#include <correspondence_rejection.h>
Public Member Functions | |
CorrespondenceRejector () | |
Empty constructor. | |
void | getCorrespondeces (pcl::registration::Correspondences &correspondences) |
virtual void | getCorrespondences (const pcl::registration::Correspondences &original_correspondences, pcl::registration::Correspondences &remaining_correspondences)=0 |
Get a pointer to the vector of the input correspondences. | |
CorrespondencesConstPtr | getInputCorrespondences () |
Get a pointer to the vector of the input correspondences. | |
void | getRejectedQueryIndices (const std::vector< pcl::registration::Correspondence > &correspondences, std::vector< int > &indices) |
virtual void | setInputCorrespondences (const CorrespondencesConstPtr &correspondences) |
Provide a pointer to the vector of the input correspondences. | |
Static Public Member Functions | |
static bool | compareCorrespondencesDistance (pcl::registration::Correspondence a, pcl::registration::Correspondence b) |
Protected Member Functions | |
virtual void | applyRejection (Correspondences &correspondences)=0 |
Abstract rejection method. | |
const std::string & | getClassName () const |
Get a string representation of the name of this class. | |
Protected Attributes | |
CorrespondencesConstPtr | input_correspondences_ |
The input correspondences. | |
std::string | rejection_name_ |
The name of the rejection method. |
CorrespondenceRejector represents the base class for correspondence rejection methods
Definition at line 53 of file correspondence_rejection.h.
pcl::registration::CorrespondenceRejector::CorrespondenceRejector | ( | ) | [inline] |
Empty constructor.
Definition at line 48 of file correspondence_rejection.h.
virtual void pcl::registration::CorrespondenceRejector::applyRejection | ( | Correspondences & | correspondences | ) | [protected, pure virtual] |
Abstract rejection method.
Implemented in pcl::registration::CorrespondenceRejectorDistance, pcl::registration::CorrespondenceRejectorOneToOne, pcl::registration::CorrespondenceRejectorReciprocal, pcl::registration::CorrespondenceRejectorSampleConsensus< PointT >, and pcl::registration::CorrespondenceRejectorTrimmed.
static bool pcl::registration::CorrespondenceRejector::compareCorrespondencesDistance | ( | pcl::registration::Correspondence | a, | |
pcl::registration::Correspondence | b | |||
) | [inline, static] |
Definition at line 76 of file correspondence_rejection.h.
const std::string& pcl::registration::CorrespondenceRejector::getClassName | ( | ) | const [inline, protected] |
Get a string representation of the name of this class.
Definition at line 112 of file correspondence_rejection.h.
void pcl::registration::CorrespondenceRejector::getCorrespondeces | ( | pcl::registration::Correspondences & | correspondences | ) | [inline] |
Definition at line 60 of file correspondence_rejection.h.
virtual void pcl::registration::CorrespondenceRejector::getCorrespondences | ( | const pcl::registration::Correspondences & | original_correspondences, | |
pcl::registration::Correspondences & | remaining_correspondences | |||
) | [inline, pure virtual] |
Get a pointer to the vector of the input correspondences.
Implemented in pcl::registration::CorrespondenceRejectorDistance, pcl::registration::CorrespondenceRejectorOneToOne, pcl::registration::CorrespondenceRejectorReciprocal, pcl::registration::CorrespondenceRejectorSampleConsensus< PointT >, and pcl::registration::CorrespondenceRejectorTrimmed.
CorrespondencesConstPtr pcl::registration::CorrespondenceRejector::getInputCorrespondences | ( | ) | [inline] |
Get a pointer to the vector of the input correspondences.
Definition at line 58 of file correspondence_rejection.h.
void pcl::registration::CorrespondenceRejector::getRejectedQueryIndices | ( | const std::vector< pcl::registration::Correspondence > & | correspondences, | |
std::vector< int > & | indices | |||
) | [inline] |
Definition at line 78 of file correspondence_rejection.h.
virtual void pcl::registration::CorrespondenceRejector::setInputCorrespondences | ( | const CorrespondencesConstPtr & | correspondences | ) | [inline, virtual] |
Provide a pointer to the vector of the input correspondences.
correspondences | the const boost shared pointer to a std::vector of correspondences |
Definition at line 54 of file correspondence_rejection.h.
CorrespondencesConstPtr pcl::registration::CorrespondenceRejector::input_correspondences_ [protected] |
The input correspondences.
Definition at line 108 of file correspondence_rejection.h.
std::string pcl::registration::CorrespondenceRejector::rejection_name_ [protected] |
The name of the rejection method.
Definition at line 105 of file correspondence_rejection.h.