summaryrefslogtreecommitdiffhomepage
path: root/FaceTrackNoIR/spot.h
diff options
context:
space:
mode:
authorWim Vriend <facetracknoir@gmail.com>2010-05-25 16:14:36 +0000
committerWim Vriend <facetracknoir@gmail.com>2010-05-25 16:14:36 +0000
commita8f2a29dcc5fac905ef9a1d2305903cbb74b6b7c (patch)
tree0745bcf5563051ed74137fd7250ee0c41f79f47d /FaceTrackNoIR/spot.h
First release Version 1.0.0 of FaceTrackNoIR
git-svn-id: svn+ssh://svn.code.sf.net/p/facetracknoir/code@1 19e81ba0-9b1a-49c3-bd6c-561e1906d5fb
Diffstat (limited to 'FaceTrackNoIR/spot.h')
-rw-r--r--FaceTrackNoIR/spot.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/FaceTrackNoIR/spot.h b/FaceTrackNoIR/spot.h
new file mode 100644
index 00000000..38518c74
--- /dev/null
+++ b/FaceTrackNoIR/spot.h
@@ -0,0 +1,27 @@
+#ifndef __SPOT_H__
+#define __SPOT_H__
+
+class Spot {
+
+private:
+ QPoint distance;
+ QPoint position;
+ QImage image;
+ QRect target;
+ QRect source;
+
+public:
+ Spot();
+
+ void setDistance(QPoint distance);
+ QPoint getDistance();
+
+ void setPosition(QPoint position);
+ QPoint getPosition();
+
+ QRect getTarget();
+ QRect getSource();
+ QImage getImage();
+};
+
+#endif \ No newline at end of file