Point Cloud Library (PCL)  1.9.1-dev
List of all members | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT > Class Template Reference

ApproxNearestPairPointCloudCoherence computes coherence between two pointclouds using the approximate nearest point pairs. More...

#include <pcl/tracking/approx_nearest_pair_point_cloud_coherence.h>

+ Inheritance diagram for pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT >:

Public Types

typedef NearestPairPointCloudCoherence< PointInT >::PointCoherencePtr PointCoherencePtr
 
typedef NearestPairPointCloudCoherence< PointInT >::PointCloudInConstPtr PointCloudInConstPtr
 
- Public Types inherited from pcl::tracking::NearestPairPointCloudCoherence< PointInT >
typedef PointCloudCoherence< PointInT >::PointCoherencePtr PointCoherencePtr
 
typedef PointCloudCoherence< PointInT >::PointCloudInConstPtr PointCloudInConstPtr
 
typedef PointCloudCoherence< PointInT > BaseClass
 
typedef boost::shared_ptr< NearestPairPointCloudCoherence< PointInT > > Ptr
 
typedef boost::shared_ptr< const NearestPairPointCloudCoherence< PointInT > > ConstPtr
 
typedef boost::shared_ptr< pcl::search::Search< PointInT > > SearchPtr
 
typedef boost::shared_ptr< const pcl::search::Search< PointInT > > SearchConstPtr
 
- Public Types inherited from pcl::tracking::PointCloudCoherence< PointInT >
typedef boost::shared_ptr< PointCloudCoherence< PointInT > > Ptr
 
typedef boost::shared_ptr< const PointCloudCoherence< PointInT > > ConstPtr
 
typedef pcl::PointCloud< PointInT > PointCloudIn
 
typedef PointCloudIn::Ptr PointCloudInPtr
 
typedef PointCloudIn::ConstPtr PointCloudInConstPtr
 
typedef PointCoherence< PointInT >::Ptr PointCoherencePtr
 

Public Member Functions

 ApproxNearestPairPointCloudCoherence ()
 empty constructor More...
 
- Public Member Functions inherited from pcl::tracking::NearestPairPointCloudCoherence< PointInT >
 NearestPairPointCloudCoherence ()
 empty constructor More...
 
void setSearchMethod (const SearchPtr &search)
 Provide a pointer to a dataset to add additional information to estimate the features for every point in the input dataset. More...
 
SearchPtr getSearchMethod ()
 Get a pointer to the point cloud dataset. More...
 
virtual void setTargetCloud (const PointCloudInConstPtr &cloud)
 add a PointCoherence to the PointCloudCoherence. More...
 
void setMaximumDistance (double val)
 set maximum distance to be taken into account. More...
 
- Public Member Functions inherited from pcl::tracking::PointCloudCoherence< PointInT >
 PointCloudCoherence ()
 Constructor. More...
 
virtual ~PointCloudCoherence ()
 Destructor. More...
 
void compute (const PointCloudInConstPtr &cloud, const IndicesConstPtr &indices, float &w_i)
 compute coherence between two pointclouds. More...
 
std::vector< PointCoherencePtrgetPointCoherences ()
 get a list of pcl::tracking::PointCoherence. More...
 
void setPointCoherences (std::vector< PointCoherencePtr > coherences)
 set a list of pcl::tracking::PointCoherence. More...
 
void addPointCoherence (PointCoherencePtr coherence)
 add a PointCoherence to the PointCloudCoherence. More...
 

Protected Member Functions

virtual bool initCompute ()
 This method should get called before starting the actual computation. More...
 
virtual void computeCoherence (const PointCloudInConstPtr &cloud, const IndicesConstPtr &indices, float &w_j)
 compute the nearest pairs and compute coherence using point_coherences_ More...
 
- Protected Member Functions inherited from pcl::tracking::PointCloudCoherence< PointInT >
double calcPointCoherence (PointInT &source, PointInT &target)
 
const std::string & getClassName () const
 Get a string representation of the name of this class. More...
 

Protected Attributes

boost::shared_ptr< pcl::search::Octree< PointInT > > search_
 
- Protected Attributes inherited from pcl::tracking::NearestPairPointCloudCoherence< PointInT >
bool new_target_
 A flag which is true if target_input_ is updated. More...
 
SearchPtr search_
 A pointer to the spatial search object. More...
 
double maximum_distance_
 max of distance for points to be taken into account More...
 
- Protected Attributes inherited from pcl::tracking::PointCloudCoherence< PointInT >
std::string coherence_name_
 The coherence name. More...
 
PointCloudInConstPtr target_input_
 a pointer to target point cloud More...
 
std::vector< PointCoherencePtrpoint_coherences_
 a list of pointers to PointCoherence. More...
 

Detailed Description

template<typename PointInT>
class pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT >

ApproxNearestPairPointCloudCoherence computes coherence between two pointclouds using the approximate nearest point pairs.

Author
Ryohei Ueda

Definition at line 16 of file approx_nearest_pair_point_cloud_coherence.h.

Member Typedef Documentation

Definition at line 20 of file approx_nearest_pair_point_cloud_coherence.h.

Definition at line 19 of file approx_nearest_pair_point_cloud_coherence.h.

Constructor & Destructor Documentation

Member Function Documentation

template<typename PointInT >
void pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT >::computeCoherence ( const PointCloudInConstPtr cloud,
const IndicesConstPtr indices,
float &  w_j 
)
protectedvirtual

compute the nearest pairs and compute coherence using point_coherences_

Reimplemented from pcl::tracking::NearestPairPointCloudCoherence< PointInT >.

Definition at line 12 of file approx_nearest_pair_point_cloud_coherence.hpp.

Referenced by pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT >::ApproxNearestPairPointCloudCoherence().

template<typename PointInT >
bool pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT >::initCompute ( )
protectedvirtual

This method should get called before starting the actual computation.

Reimplemented from pcl::tracking::NearestPairPointCloudCoherence< PointInT >.

Definition at line 41 of file approx_nearest_pair_point_cloud_coherence.hpp.

Referenced by pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT >::ApproxNearestPairPointCloudCoherence().

Member Data Documentation

template<typename PointInT >
boost::shared_ptr<pcl::search::Octree<PointInT> > pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT >::search_
protected

Definition at line 44 of file approx_nearest_pair_point_cloud_coherence.h.


The documentation for this class was generated from the following files: