|
Point Cloud Library (PCL)
1.7.2
|
PointCloudCoherence is a base class to compute coherence between the two PointClouds. More...
#include <pcl/tracking/coherence.h>
Inheritance diagram for pcl::tracking::PointCloudCoherence< PointInT >:Public Types | |
| 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 | |
| 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< PointCoherencePtr > | getPointCoherences () |
| get a list of pcl::tracking::PointCoherence. More... | |
| void | setPointCoherences (std::vector< PointCoherencePtr > coherences) |
| set a list of pcl::tracking::PointCoherence. More... | |
| virtual bool | initCompute () |
| This method should get called before starting the actual computation. More... | |
| void | addPointCoherence (PointCoherencePtr coherence) |
| add a PointCoherence to the PointCloudCoherence. More... | |
| virtual void | setTargetCloud (const PointCloudInConstPtr &cloud) |
| add a PointCoherence to the PointCloudCoherence. More... | |
Protected Member Functions | |
| virtual void | computeCoherence (const PointCloudInConstPtr &cloud, const IndicesConstPtr &indices, float &w_j)=0 |
| Abstract method to compute coherence. More... | |
| double | calcPointCoherence (PointInT &source, PointInT &target) |
| const std::string & | getClassName () const |
| Get a string representation of the name of this class. More... | |
Protected Attributes | |
| std::string | coherence_name_ |
| The coherence name. More... | |
| PointCloudInConstPtr | target_input_ |
| a pointer to target point cloud More... | |
| std::vector< PointCoherencePtr > | point_coherences_ |
| a list of pointers to PointCoherence. More... | |
PointCloudCoherence is a base class to compute coherence between the two PointClouds.
Definition at line 60 of file coherence.h.
| typedef boost::shared_ptr< const PointCloudCoherence<PointInT> > pcl::tracking::PointCloudCoherence< PointInT >::ConstPtr |
Definition at line 64 of file coherence.h.
| typedef pcl::PointCloud<PointInT> pcl::tracking::PointCloudCoherence< PointInT >::PointCloudIn |
Definition at line 66 of file coherence.h.
| typedef PointCloudIn::ConstPtr pcl::tracking::PointCloudCoherence< PointInT >::PointCloudInConstPtr |
Definition at line 68 of file coherence.h.
| typedef PointCloudIn::Ptr pcl::tracking::PointCloudCoherence< PointInT >::PointCloudInPtr |
Definition at line 67 of file coherence.h.
| typedef PointCoherence<PointInT>::Ptr pcl::tracking::PointCloudCoherence< PointInT >::PointCoherencePtr |
Definition at line 70 of file coherence.h.
| typedef boost::shared_ptr< PointCloudCoherence<PointInT> > pcl::tracking::PointCloudCoherence< PointInT >::Ptr |
Definition at line 63 of file coherence.h.
|
inline |
Constructor.
Definition at line 72 of file coherence.h.
|
inlinevirtual |
Destructor.
Definition at line 75 of file coherence.h.
References pcl::tracking::PointCoherence< PointInT >::compute().
|
inline |
add a PointCoherence to the PointCloudCoherence.
| coherence | a pointer to PointCoherence. |
Definition at line 99 of file coherence.h.
|
inlineprotected |
Definition at line 19 of file coherence.hpp.
|
inline |
compute coherence between two pointclouds.
Definition at line 49 of file coherence.hpp.
|
protectedpure virtual |
Abstract method to compute coherence.
Implemented in pcl::tracking::NearestPairPointCloudCoherence< PointInT >, and pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT >.
|
inlineprotected |
Get a string representation of the name of this class.
Definition at line 116 of file coherence.h.
References pcl::tracking::PointCoherence< PointInT >::coherence_name_.
|
inline |
get a list of pcl::tracking::PointCoherence.
Definition at line 84 of file coherence.h.
|
virtual |
This method should get called before starting the actual computation.
Reimplemented in pcl::tracking::NearestPairPointCloudCoherence< PointInT >, and pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT >.
Definition at line 36 of file coherence.hpp.
|
inline |
set a list of pcl::tracking::PointCoherence.
| coherences | a list of pcl::tracking::PointCoherence. |
Definition at line 90 of file coherence.h.
|
inlinevirtual |
add a PointCoherence to the PointCloudCoherence.
| cloud | a pointer to PointCoherence. |
Reimplemented in pcl::tracking::NearestPairPointCloudCoherence< PointInT >.
Definition at line 105 of file coherence.h.
References pcl::tracking::PointCoherence< PointInT >::computeCoherence().
Referenced by pcl::tracking::NearestPairPointCloudCoherence< PointInT >::setTargetCloud().
|
protected |
The coherence name.
Definition at line 120 of file coherence.h.
Referenced by pcl::tracking::ApproxNearestPairPointCloudCoherence< PointInT >::ApproxNearestPairPointCloudCoherence(), and pcl::tracking::NearestPairPointCloudCoherence< PointInT >::NearestPairPointCloudCoherence().
|
protected |
a list of pointers to PointCoherence.
Definition at line 126 of file coherence.h.
|
protected |
a pointer to target point cloud
Definition at line 123 of file coherence.h.