distance_coherence.h
Go to the documentation of this file.
00001 #ifndef PCL_TRACKING_DISTANCE_COHERENCE_H_
00002 #define PCL_TRACKING_DISTANCE_COHERENCE_H_
00003 
00004 #include <pcl/tracking/coherence.h>
00005 
00006 namespace pcl
00007 {
00008   namespace tracking
00009   {
00015     template <typename PointInT>
00016     class DistanceCoherence: public PointCoherence<PointInT>
00017     {
00018     public:
00019       
00021       DistanceCoherence ()
00022       : PointCoherence<PointInT> ()
00023       , weight_ (1.0)
00024       {}
00025 
00029       inline void setWeight (double weight) { weight_ = weight; }
00030 
00032       inline double getWeight () { return weight_; }
00033       
00034     protected:
00035 
00040       double computeCoherence (PointInT &source, PointInT &target);
00041 
00043       double weight_;
00044     };
00045   }
00046 }
00047 
00048 // #include <pcl/tracking/impl/distance_coherence.hpp>
00049 
00050 #endif


pcl
Author(s): Open Perception
autogenerated on Mon Oct 6 2014 03:14:48