Vision Touch Surface Library
Main Page
Related Pages
Classes
Files
File List
All
Classes
Files
Functions
Variables
Pages
visionTouchSurfaceLib
vts_sensors
include
leaphandler.h
Go to the documentation of this file.
1
#ifndef LEAPHANDLER_H
2
#define LEAPHANDLER_H
3
4
#include <iostream>
5
6
#include <opencv2/opencv.hpp>
7
#include <highgui.h>
8
9
using namespace
std;
10
using namespace
cv;
11
12
#include "Leap.h"
13
14
#include "
leapmapping.h
"
15
16
class
LeapHandler
17
{
18
19
Leap::Frame frame;
20
21
public
:
22
LeapHandler
();
23
bool
determineTouch(Leap::Vector position);
24
25
virtual
void
waitFrame();
26
27
virtual
bool
findBestMatchOnCurrentFrame( Point & inputWorld,
float
radius,
LeapMapping
& leap2world, Point3i &match );
28
29
float
depthThresh
;
30
Leap::Controller
leapSensor
;
31
32
};
33
34
#endif // LEAPHANDLER_H
35
Generated on Sat Dec 14 2013 23:25:51 for Vision Touch Surface Library by
1.8.3.1