Vision Touch Surface Library
 All Classes Files Functions Variables Pages
leapmapping.h
Go to the documentation of this file.
1 #ifndef LEAPMAPPING_H
2 #define LEAPMAPPING_H
3 
4 #include "opencv2/highgui/highgui.hpp"
5 #include <opencv2/opencv.hpp>
6 #include <iostream>
7 
8 using namespace std;
9 using namespace cv;
10 
11 
13 {
14 public:
15  LeapMapping();
16  LeapMapping(int widthPx,int heightPx, float widthMM, float heightMM );
17  virtual void calculateMapping(const Point &translationVecPx);
18  virtual void mapPoints(vector<Point> &points, vector<Point> &mappedPoints);
19  virtual void mapPoints(Point &point, Point &mappedPoint);
20  //virtual void warpMatrix(Mat &matrix, Mat &warpedMatrix, Size &warpedSize);
21 
22 
23 protected:
27 
28 };
29 
30 #endif // LEAPMAPPING_H
31