Point Cloud Library (PCL)  1.3.1
Public Types | Public Member Functions
pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer Class Reference

An inner class containing pointers to the source and target feature clouds and the parameters needed to perform the correspondence search. More...

Inheritance diagram for pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer:
Inheritance graph
[legend]
Collaboration diagram for pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer:
Collaboration graph
[legend]

List of all members.

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.

Detailed Description

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.


Member Typedef Documentation

Definition at line 160 of file correspondence_rejection_features.h.

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.


Constructor & Destructor Documentation

pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::FeatureContainer ( ) [inline]

Definition at line 166 of file correspondence_rejection_features.h.


Member Function Documentation

virtual double pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::getCorrespondenceScore ( int  index) [inline, virtual]

Obtain a score between a pair of correspondences.

Parameters:
[in]theindex to check in the list of correspondences
Returns:
score the resultant computed score

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.

Parameters:
[in]theindex to check in the list of correspondences
Returns:
true if the correspondence is good, false otherwise

Implements pcl::registration::CorrespondenceRejectorFeatures::FeatureContainerInterface.

Definition at line 257 of file correspondence_rejection_features.h.

virtual bool pcl::registration::CorrespondenceRejectorFeatures::FeatureContainer::isValid ( ) [inline, virtual]
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.

Parameters:
[in]frthe 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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines