PointCoherence is a base class to compute coherence between the two points. More...
#include <coherence.h>
Public Types | |
| typedef boost::shared_ptr < const PointCoherence < PointInT > > | ConstPtr |
| typedef boost::shared_ptr < PointCoherence< PointInT > > | Ptr |
Public Member Functions | |
| double | compute (PointInT &source, PointInT &target) |
| compute coherence from the source point to the target point. | |
| PointCoherence () | |
| empty constructor | |
| virtual | ~PointCoherence () |
| empty distructor | |
Protected Member Functions | |
| virtual double | computeCoherence (PointInT &source, PointInT &target)=0 |
| abstract method to calculate 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. | |
PointCoherence is a base class to compute coherence between the two points.
Definition at line 17 of file coherence.h.
| typedef boost::shared_ptr< const PointCoherence<PointInT> > pcl::tracking::PointCoherence< PointInT >::ConstPtr |
Definition at line 21 of file coherence.h.
| typedef boost::shared_ptr< PointCoherence<PointInT> > pcl::tracking::PointCoherence< PointInT >::Ptr |
Definition at line 20 of file coherence.h.
| pcl::tracking::PointCoherence< PointInT >::PointCoherence | ( | ) | [inline] |
empty constructor
Definition at line 25 of file coherence.h.
| virtual pcl::tracking::PointCoherence< PointInT >::~PointCoherence | ( | ) | [inline, virtual] |
empty distructor
Definition at line 28 of file coherence.h.
| double pcl::tracking::PointCoherence< PointInT >::compute | ( | PointInT & | source, |
| PointInT & | target | ||
| ) | [inline] |
compute coherence from the source point to the target point.
| source | instance of source point. |
| target | instance of target point. |
Definition at line 13 of file coherence.hpp.
| virtual double pcl::tracking::PointCoherence< PointInT >::computeCoherence | ( | PointInT & | source, |
| PointInT & | target | ||
| ) | [protected, pure virtual] |
abstract method to calculate coherence.
| [in] | source | instance of source point. |
| [in] | target | instance of target point. |
Implemented in pcl::tracking::HSVColorCoherence< PointInT >, pcl::tracking::DistanceCoherence< PointInT >, and pcl::tracking::NormalCoherence< PointInT >.
| const std::string& pcl::tracking::PointCoherence< PointInT >::getClassName | ( | ) | const [inline, protected] |
Get a string representation of the name of this class.
Definition at line 51 of file coherence.h.
std::string pcl::tracking::PointCoherence< PointInT >::coherence_name_ [protected] |
The coherence name.
Definition at line 40 of file coherence.h.