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