PointCoherence is a base class to compute coherence between the two points. More...
#include <pcl/tracking/coherence.h>
Public Types |
|
using | Ptr = shared_ptr< PointCoherence< PointInT > > |
using | ConstPtr = shared_ptr< const PointCoherence< PointInT > > |
Public Member Functions |
|
PointCoherence () | |
empty constructor More... |
|
virtual | ~PointCoherence () |
empty distructor More... |
|
double | compute (PointInT &source, PointInT &target) |
compute coherence from the source point to the target point. More... |
|
Protected Member Functions |
|
virtual double | computeCoherence (PointInT &source, PointInT &target)=0 |
abstract method to calculate coherence. More... |
|
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... |
|
Detailed Description
template<typename PointInT>
class pcl::tracking::PointCoherence< PointInT >
PointCoherence is a base class to compute coherence between the two points.
Definition at line 15 of file coherence.h.
Member Typedef Documentation
ConstPtr
using pcl::tracking::PointCoherence< PointInT >::ConstPtr = shared_ptr<const PointCoherence<PointInT> > |
Definition at line 18 of file coherence.h.
Ptr
using pcl::tracking::PointCoherence< PointInT >::Ptr = shared_ptr<PointCoherence<PointInT> > |
Definition at line 17 of file coherence.h.
Constructor & Destructor Documentation
PointCoherence()
|
inline |
empty constructor
Definition at line 22 of file coherence.h.
~PointCoherence()
|
inlinevirtual |
empty distructor
Definition at line 25 of file coherence.h.
Member Function Documentation
compute()
|
inline |
compute coherence from the source point to the target point.
- Parameters
-
source instance of source point. target instance of target point.
Definition at line 12 of file coherence.hpp.
computeCoherence()
|
protectedpure virtual |
abstract method to calculate coherence.
- Parameters
-
[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 >.
getClassName()
|
inlineprotected |
Get a string representation of the name of this class.
Definition at line 47 of file coherence.h.
References pcl::tracking::PointCoherence< PointInT >::coherence_name_.
Member Data Documentation
coherence_name_
|
protected |
The coherence name.
Definition at line 36 of file coherence.h.
Referenced by pcl::tracking::PointCoherence< PointInT >::getClassName().
The documentation for this class was generated from the following files:
- pcl/tracking/coherence.h
- pcl/tracking/impl/coherence.hpp
© 2009–2012, Willow Garage, Inc.
© 2012–, Open Perception, Inc.
Licensed under the BSD License.
https://pointclouds.org/documentation/classpcl_1_1tracking_1_1_point_coherence.html