#include <feature_container.h>
Public Types | |
typedef pcl::PointCloud < FeatureType >::ConstPtr | FeatureCloudConstPtr |
typedef pcl::KdTree< FeatureType > | KdTree |
typedef pcl::KdTree < FeatureType >::Ptr | KdTreePtr |
typedef boost::function< int(const pcl::PointCloud< FeatureType > &, int, std::vector< int > &, std::vector< float > &)> | SearchMethod |
Public Member Functions | |
FeatureContainer () | |
virtual void | findFeatureCorrespondences (int index, std::vector< int > &correspondence_indices, std::vector< float > &distances) |
FeatureCloudConstPtr | getSourceFeature () |
FeatureCloudConstPtr | getTargetFeature () |
virtual bool | isValid () |
void | setKSearch (KdTreePtr tree, int k) |
void | setRadiusSearch (KdTreePtr tree, float r) |
void | setSourceFeature (const FeatureCloudConstPtr &source_features) |
void | setTargetFeature (const FeatureCloudConstPtr &target_features) |
Private Attributes | |
int | k_ |
double | radius_ |
SearchMethod | search_method_ |
FeatureCloudConstPtr | source_features_ |
FeatureCloudConstPtr | target_features_ |
KdTreePtr | tree_ |
Definition at line 88 of file feature_container.h.
typedef pcl::PointCloud<FeatureType>::ConstPtr FeatureContainer< FeatureType >::FeatureCloudConstPtr |
Definition at line 91 of file feature_container.h.
typedef pcl::KdTree<FeatureType> FeatureContainer< FeatureType >::KdTree |
Definition at line 97 of file feature_container.h.
typedef pcl::KdTree<FeatureType>::Ptr FeatureContainer< FeatureType >::KdTreePtr |
Definition at line 98 of file feature_container.h.
typedef boost::function<int (const pcl::PointCloud<FeatureType> &, int, std::vector<int> &, std::vector<float> &)> FeatureContainer< FeatureType >::SearchMethod |
Definition at line 101 of file feature_container.h.
FeatureContainer< FeatureType >::FeatureContainer | ( | ) | [inline] |
Definition at line 103 of file feature_container.h.
virtual void FeatureContainer< FeatureType >::findFeatureCorrespondences | ( | int | index, |
std::vector< int > & | correspondence_indices, | ||
std::vector< float > & | distances | ||
) | [inline, virtual] |
Implements FeatureContainerInterface.
Definition at line 165 of file feature_container.h.
FeatureCloudConstPtr FeatureContainer< FeatureType >::getSourceFeature | ( | ) | [inline] |
Definition at line 110 of file feature_container.h.
FeatureCloudConstPtr FeatureContainer< FeatureType >::getTargetFeature | ( | ) | [inline] |
Definition at line 124 of file feature_container.h.
virtual bool FeatureContainer< FeatureType >::isValid | ( | ) | [inline, virtual] |
Implements FeatureContainerInterface.
Definition at line 151 of file feature_container.h.
void FeatureContainer< FeatureType >::setKSearch | ( | KdTreePtr | tree, |
int | k | ||
) | [inline] |
Definition at line 140 of file feature_container.h.
void FeatureContainer< FeatureType >::setRadiusSearch | ( | KdTreePtr | tree, |
float | r | ||
) | [inline] |
Definition at line 129 of file feature_container.h.
void FeatureContainer< FeatureType >::setSourceFeature | ( | const FeatureCloudConstPtr & | source_features | ) | [inline] |
Definition at line 105 of file feature_container.h.
void FeatureContainer< FeatureType >::setTargetFeature | ( | const FeatureCloudConstPtr & | target_features | ) | [inline] |
Definition at line 115 of file feature_container.h.
int FeatureContainer< FeatureType >::k_ [private] |
Definition at line 184 of file feature_container.h.
double FeatureContainer< FeatureType >::radius_ [private] |
Definition at line 185 of file feature_container.h.
SearchMethod FeatureContainer< FeatureType >::search_method_ [private] |
Definition at line 183 of file feature_container.h.
FeatureCloudConstPtr FeatureContainer< FeatureType >::source_features_ [private] |
Definition at line 181 of file feature_container.h.
FeatureCloudConstPtr FeatureContainer< FeatureType >::target_features_ [private] |
Definition at line 181 of file feature_container.h.
KdTreePtr FeatureContainer< FeatureType >::tree_ [private] |
Definition at line 182 of file feature_container.h.