Kinect Scol plugin
openNiScolPlugin.h
1 /*
2 -----------------------------------------------------------------------------
3 This source file is part of OpenSpace3D
4 For the latest info, see http://www.openspace3d.com
5 
6 Copyright (c) 2012 I-maginer
7 
8 This program is free software; you can redistribute it and/or modify it under
9 the terms of the GNU Lesser General Public License as published by the Free Software
10 Foundation; either version 2 of the License, or (at your option) any later
11 version.
12 
13 This program is distributed in the hope that it will be useful, but WITHOUT
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
15 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
16 
17 You should have received a copy of the GNU Lesser General Public License along with
18 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
19 Place - Suite 330, Boston, MA 02111-1307, USA, or go to
20 http://www.gnu.org/copyleft/lesser.txt
21 
22 -----------------------------------------------------------------------------
23 */
24 
25 
32 #ifndef __PLUGIN_H__
33 #define __PLUGIN_H__
34 
35 #include "lib/common.h"
36 
37 static ScolWindowHandle HScol;
38 
39 //===== CB Kinect CONNECTED ===
40 extern int SCOL_KINECT_CONNECTED_CB;
41 extern int KINECT_CONNECTED_CB;
42 
43 //===== CB Kinect DISCONNECTED ===
44 extern int SCOL_KINECT_DISCONNECTED_CB;
45 extern int KINECT_DISCONNECTED_CB;
46 
47 //===== CB Kinect NEW USER ===
48 extern int SCOL_KINECT_NEW_USER_CB;
49 extern int KINECT_NEW_USER_CB;
50 
51 //===== CB Kinect LOST USER ===
52 extern int SCOL_KINECT_LOST_USER_CB;
53 extern int KINECT_LOST_USER_CB;
54 
55 //===== CB Kinect User Calibration Start ===
56 extern int SCOL_KINECT_USER_CALIBRATION_START_CB;
57 extern int KINECT_USER_CALIBRATION_START_CB;
58 
59 //===== CB Kinect User Calibration End ===
60 extern int SCOL_KINECT_USER_CALIBRATION_END_CB;
61 extern int KINECT_USER_CALIBRATION_END_CB;
62 
63 //===== CB Kinect User Pose Detected ===
64 extern int SCOL_KINECT_USER_POSE_DETECTED_CB;
65 extern int KINECT_USER_POSE_DETECTED_CB;
66 
67 //===== CB Kinect User Pose Lost ===
68 extern int SCOL_KINECT_USER_POSE_LOST_CB;
69 extern int KINECT_USER_POSE_LOST_CB;
70 
71 //===== CB Kinect User HAND FOUND ===
72 extern int SCOL_KINECT_USER_HAND_FOUND_CB;
73 extern int KINECT_USER_HAND_FOUND_CB;
74 
75 //===== CB Kinect User HAND LOST ===
76 extern int SCOL_KINECT_USER_HAND_LOST_CB;
77 extern int KINECT_USER_HAND_LOST_CB;
78 
79 //===== CB Kinect User HAND MOVE ===
80 extern int SCOL_KINECT_USER_HAND_MOVE_CB;
81 extern int KINECT_USER_HAND_MOVE_CB;
82 
83 #endif