41 #ifndef PCL_REGISTRATION_IMPL_CORRESPONDENCE_REJECTION_FEATURES_HPP_
42 #define PCL_REGISTRATION_IMPL_CORRESPONDENCE_REJECTION_FEATURES_HPP_
44 #include <boost/pointer_cast.hpp>
48 namespace registration {
50 template <
typename FeatureT>
54 const std::string& key)
58 boost::static_pointer_cast<FeatureContainer<FeatureT>>(
features_map_[key])
62 template <
typename FeatureT>
72 template <
typename FeatureT>
76 const std::string& key)
80 boost::static_pointer_cast<FeatureContainer<FeatureT>>(
features_map_[key])
84 template <
typename FeatureT>
94 template <
typename FeatureT>
97 const std::string& key)
101 boost::static_pointer_cast<FeatureContainer<FeatureT>>(
features_map_[key])
105 template <
typename FeatureT>
109 const std::string& key)
113 boost::static_pointer_cast<FeatureContainer<FeatureT>>(
features_map_[key])
shared_ptr< const PointCloud< PointT > > ConstPtr
shared_ptr< const PointRepresentation< PointT > > ConstPtr
An inner class containing pointers to the source and target feature clouds and the parameters needed ...
void setFeatureRepresentation(const typename pcl::PointRepresentation< FeatureT >::ConstPtr &fr, const std::string &key)
Provide a boost shared pointer to a PointRepresentation to be used when comparing features.
pcl::PointCloud< FeatureT >::ConstPtr getSourceFeature(const std::string &key)
Get a pointer to the source cloud's feature descriptors, specified by the given key.
void setTargetFeature(const typename pcl::PointCloud< FeatureT >::ConstPtr &target_feature, const std::string &key)
Provide a pointer to a cloud of feature descriptors associated with the target point cloud.
FeaturesMap features_map_
An STL map containing features to use when performing the correspondence search.
void setDistanceThreshold(double thresh, const std::string &key)
Set a hard distance threshold in the feature FeatureT space, between source and target features.
void setSourceFeature(const typename pcl::PointCloud< FeatureT >::ConstPtr &source_feature, const std::string &key)
Provide a pointer to a cloud of feature descriptors associated with the source point cloud.
pcl::PointCloud< FeatureT >::ConstPtr getTargetFeature(const std::string &key)
Get a pointer to the source cloud's feature descriptors, specified by the given key.