JunkBox_Win_Lib 1.5.3
Loading...
Searching...
No Matches
NiToolWin.h
Go to the documentation of this file.
1#pragma once
2
3#include "tools++.h"
4#include "NiDevice.h"
5
6
7#ifdef WIN64
8 #define OPENNI2_DLLNAME "OpenNI2.dll"
9 #define NITE2_DLLNAME "NiTE2.dll"
10 #define OPENNI_NITE_DLLNAME "OpenNI64.dll"
11 #define KINECT_SDK_DLLNAME "Kinect10.dll"
12 #define KINECT_FACE_DLLNAME "FaceTrackLib.dll"
13#else
14 #define OPENNI2_DLLNAME "OpenNI2.dll"
15 #define NITE2_DLLNAME "NiTE2.dll"
16 #define OPENNI_NITE_DLLNAME "OpenNI.dll"
17 #define KINECT_SDK_DLLNAME "Kinect10.dll"
18 #define KINECT_FACE_DLLNAME "FaceTrackLib.dll"
19#endif
20
21
22#define NI_DETECT_COLOR_BRIGHT 0xe0
23#define NI_DEFAULT_GROUND_LEVEL -999
24#define NI_RING_BUFFER_SIZE 20
25
26
27
28namespace jbxwl {
29
30using namespace jbxl;
31
32
33//
42
43
44// Color
45void NiSetUserColor(int label, uByte* ptr, BOOL use_image=TRUE);
46unsigned int NiGetSkeletonColor(int label);
47
48
49} // name space
void NiSetUserColor(int label, uByte *ptr, BOOL use_image=TRUE)
Definition NiToolWin.cpp:13
unsigned int NiGetSkeletonColor(int label)
Definition NiToolWin.cpp:45
NiSDK_Lib
Definition NiToolWin.h:35
@ NiSDK_Kinect
Definition NiToolWin.h:38
@ NiSDK_Default
Definition NiToolWin.h:36
@ NiSDK_OpenNI2
Definition NiToolWin.h:40
@ NiSDK_OpenNI
Definition NiToolWin.h:39
@ NiSDK_None
Definition NiToolWin.h:37