normal_coherence.h
Go to the documentation of this file.
00001 #ifndef PCL_TRACKING_NORMAL_COHERENCE_H_
00002 #define PCL_TRACKING_NORMAL_COHERENCE_H_
00003 
00004 #include <pcl/tracking/coherence.h>
00005 namespace pcl
00006 {
00007   namespace tracking
00008   {
00014     template <typename PointInT>
00015     class NormalCoherence: public PointCoherence<PointInT>
00016     {
00017     public:
00018 
00020       NormalCoherence ()
00021       : PointCoherence<PointInT> ()
00022       , weight_ (1.0)
00023         {}
00024 
00028       inline void setWeight (double weight) { weight_ = weight; }
00029 
00031       inline double getWeight () { return weight_; }
00032 
00033     protected:
00034 
00039       double computeCoherence (PointInT &source, PointInT &target);
00040 
00042       double weight_;
00043       
00044     };
00045   }
00046 }
00047 
00048 // #include <pcl/tracking/impl/normal_coherence.hpp>
00049 #ifdef PCL_NO_PRECOMPILE
00050 #include <pcl/tracking/impl/normal_coherence.hpp>
00051 #endif
00052 
00053 #endif


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:25:51