Templates -- Meow  1.1.2
不能,也不應該先編譯成obj-file的templates
FeaturePointsDetector.h
Go to the documentation of this file.
1 #ifndef gra_FeaturePointsDetector_H__
2 #define gra_FeaturePointsDetector_H__
3 
4 #include "../oo/ObjBase.h"
5 
6 #include "FeaturePoint.h"
7 #include "Bitmap.h"
8 
9 #include <vector>
10 
11 namespace meow {
12 
13 template<class Pixel>
15 protected:
17 public:
18  virtual ~FeaturePointsDetector() { }
19 
20  virtual std::vector<FeaturePoint<double, double> >
21  detect(Bitmap<Pixel> const& __bitmap) const = 0;
22 };
23 
24 }
25 
26 #endif // gra_FeaturePointsDetector_H__