Point Cloud Library (PCL)
1.3.1
|
An inner class containing pointers to the source and target feature clouds and the parameters needed to perform the correspondence search. More...
Public Types | |
typedef pcl::PointCloud < FeatureT >::ConstPtr | FeatureCloudConstPtr |
typedef boost::function< int(const pcl::PointCloud< FeatureT > &, int, std::vector< int > &, std::vector< float > &)> | SearchMethod |
typedef pcl::PointRepresentation < FeatureT >::ConstPtr | PointRepresentationConstPtr |
Public Member Functions | |
FeatureContainer () | |
void | setSourceFeature (const FeatureCloudConstPtr &source_features) |
FeatureCloudConstPtr | getSourceFeature () |
void | setTargetFeature (const FeatureCloudConstPtr &target_features) |
FeatureCloudConstPtr | getTargetFeature () |
void | setDistanceThreshold (double thresh) |
virtual bool | isValid () |
void | setFeatureRepresentation (const PointRepresentationConstPtr &fr) |
Provide a boost shared pointer to a PointRepresentation to be used when comparing features. | |
virtual double | getCorrespondenceScore (int index) |
Obtain a score between a pair of correspondences. | |
virtual bool | isCorrespondenceValid (int index) |
Check whether the correspondence pair at the given index is valid by computing the score and testing it against the user given threshold. |
An inner class containing pointers to the source and target feature clouds and the parameters needed to perform the correspondence search.
This class extends FeatureContainerInterface, which contains abstract methods for any methods that do not depend on the FeatureT --- these methods can thus be called from a pointer to FeatureContainerInterface without casting to the derived class.
typedef pcl::PointCloud<FeatureT>::ConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::FeatureCloudConstPtr |
Definition at line 160 of file correspondence_rejection_features.h.
typedef pcl::PointRepresentation<FeatureT>::ConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::PointRepresentationConstPtr |
Definition at line 164 of file correspondence_rejection_features.h.
typedef boost::function<int (const pcl::PointCloud<FeatureT> &, int, std::vector<int> &, std::vector<float> &)> pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::SearchMethod |
Definition at line 162 of file correspondence_rejection_features.h.
pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::FeatureContainer | ( | ) | [inline] |
Definition at line 166 of file correspondence_rejection_features.h.
virtual double pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::getCorrespondenceScore | ( | int | index | ) | [inline, virtual] |
Obtain a score between a pair of correspondences.
[in] | the | index to check in the list of correspondences |
Implements pcl::registration::CorrespondenceRejectorFeatures::FeatureContainerInterface.
Definition at line 224 of file correspondence_rejection_features.h.
FeatureCloudConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::getSourceFeature | ( | ) | [inline] |
Definition at line 177 of file correspondence_rejection_features.h.
FeatureCloudConstPtr pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::getTargetFeature | ( | ) | [inline] |
Definition at line 189 of file correspondence_rejection_features.h.
virtual bool pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::isCorrespondenceValid | ( | int | index | ) | [inline, virtual] |
Check whether the correspondence pair at the given index is valid by computing the score and testing it against the user given threshold.
[in] | the | index to check in the list of correspondences |
Implements pcl::registration::CorrespondenceRejectorFeatures::FeatureContainerInterface.
Definition at line 257 of file correspondence_rejection_features.h.
virtual bool pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::isValid | ( | ) | [inline, virtual] |
Implements pcl::registration::CorrespondenceRejectorFeatures::FeatureContainerInterface.
Definition at line 201 of file correspondence_rejection_features.h.
void pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::setDistanceThreshold | ( | double | thresh | ) | [inline] |
Definition at line 195 of file correspondence_rejection_features.h.
void pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::setFeatureRepresentation | ( | const PointRepresentationConstPtr & | fr | ) | [inline] |
Provide a boost shared pointer to a PointRepresentation to be used when comparing features.
[in] | fr | the point feature representation to be used |
Definition at line 214 of file correspondence_rejection_features.h.
void pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::setSourceFeature | ( | const FeatureCloudConstPtr & | source_features | ) | [inline] |
Definition at line 171 of file correspondence_rejection_features.h.
void pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::setTargetFeature | ( | const FeatureCloudConstPtr & | target_features | ) | [inline] |
Definition at line 183 of file correspondence_rejection_features.h.