#include "tools++.h"#include "NiJointsTool.h"
Go to the source code of this file.
Variables | |
| int | NI_SDK_PELVIS = NI_PELVIS |
| int | NI_SDK_TORSO = NI_TORSO |
| int | NI_SDK_NECK = NI_NECK |
| int | NI_SDK_HEAD = NI_HEAD |
| int | NI_SDK_L_EYE = NI_L_EYE |
| int | NI_SDK_R_EYE = NI_R_EYE |
| int | NI_SDK_L_BUST = NI_L_BUST |
| int | NI_SDK_R_BUST = NI_R_BUST |
| int | NI_SDK_L_SHLDR = NI_L_SHLDR |
| int | NI_SDK_L_ELBOW = NI_L_ELBOW |
| int | NI_SDK_L_WRIST = NI_L_WRIST |
| int | NI_SDK_L_HAND = NI_L_HAND |
| int | NI_SDK_L_FNGRTIP = NI_L_FNGRTIP |
| int | NI_SDK_R_SHLDR = NI_R_SHLDR |
| int | NI_SDK_R_ELBOW = NI_R_ELBOW |
| int | NI_SDK_R_WRIST = NI_R_WRIST |
| int | NI_SDK_R_HAND = NI_R_HAND |
| int | NI_SDK_R_FNGRTIP = NI_R_FNGRTIP |
| int | NI_SDK_L_HIP = NI_L_HIP |
| int | NI_SDK_L_KNEE = NI_L_KNEE |
| int | NI_SDK_L_ANKLE = NI_L_ANKLE |
| int | NI_SDK_L_FOOT = NI_L_FOOT |
| int | NI_SDK_R_HIP = NI_R_HIP |
| int | NI_SDK_R_KNEE = NI_R_KNEE |
| int | NI_SDK_R_ANKLE = NI_R_ANKLE |
| int | NI_SDK_R_FOOT = NI_R_FOOT |
| int | NI_SDK_L_FINGER = NI_L_FINGER |
| int | NI_SDK_R_FINGER = NI_R_FINGER |
| int | NI_SDK_FACE = NI_FACE |
| int | NI_SDK_AVATAR = NI_AVATAR |
| RBound< double > | RBound_NI_TORSO |
| RBound< double > | RBound_NI_CHEST |
| RBound< double > | RBound_NI_NECK |
| RBound< double > | RBound_NI_HEAD |
| RBound< double > | RBound_NI_L_COLLAR |
| RBound< double > | RBound_NI_R_COLLAR |
| RBound< double > | RBound_NI_L_SHLDR |
| RBound< double > | RBound_NI_R_SHLDR |
| RBound< double > | RBound_NI_L_ELBOW |
| RBound< double > | RBound_NI_R_ELBOW |
| RBound< double > | RBound_NI_L_WRIST |
| RBound< double > | RBound_NI_R_WRIST |
| RBound< double > | RBound_NI_L_HAND |
| RBound< double > | RBound_NI_R_HAND |
| RBound< double > | RBound_NI_L_HIP |
| RBound< double > | RBound_NI_R_HIP |
| RBound< double > | RBound_NI_L_KNEE |
| RBound< double > | RBound_NI_R_KNEE |
| RBound< double > | RBound_NI_L_ANKLE |
| RBound< double > | RBound_NI_R_ANKLE |
| RBound< double > | RBound_NI_L_FOOT |
| RBound< double > | RBound_NI_R_FOOT |
| static std::string | _NiJointName [] |
| static int | _OpenNI2JointNameNum [] |
| static int | _OpenNI22JointNameNum [] |
| static int | _Kinect2JointNameNum [] |
| static int | _OpenNIMirrorJointNum [] |
| static int | _OpenNI2MirrorJointNum [] |
| static int | _KinectMirrorJointNum [] |
| static int | _NiMirrorJointNum [] |
| static int | _Ni2OpenNIPosJointNum [] |
| static int | _Ni2OpenNI2PosJointNum [] |
| static int | _Ni2KinectPosJointNum [] |
| static int | _Ni2OpenNIRotJointNum [] |
| static int | _Ni2OpenNI2RotJointNum [] |
| static int | _Ni2KinectRotJointNum [] |
| static int | _Ni2RotJointNum [] |
int _Kinect2JointNameNum[] [static] |
{
0, 2, 4, 5,
12, 13, 14, 15,
18, 19, 20, 21,
23, 24, 25, 26,
28, 29, 30, 31
}
Definition at line 164 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSDK2JointName().
int _KinectMirrorJointNum[] [static] |
{
0, 1, 2, 3,
8, 9, 10, 11,
4, 5, 6, 7,
16, 17, 18, 19,
12, 13, 14, 15
}
Definition at line 238 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSDKMirrorJointNum().
int _Ni2KinectPosJointNum[] [static] |
{
0, -1, 1, -1, 2, 3, -1,
-1, -1, -1, -1,
-1, 4, 5, 6, 7, -1,
-1, 8, 9, 10, 11, -1,
12, 13, 14, 15, -1,
16, 17, 18, 19, -1,
-1, -1, -1, -1
}
Definition at line 314 of file NiJointsTool.cpp.
Referenced by jbxwl::Ni2SDKPosJointNum().
int _Ni2KinectRotJointNum[] [static] |
{
0, -1, 1, -1, 2, 3, -1,
-1, -1, -1, -1,
-1, 4, 5, 6, -1, -1,
-1, 8, 9, 10, -1, -1,
12, 13, 14, -1, -1,
16, 17, 18, -1, -1,
-1, -1, -1, -1
}
Definition at line 394 of file NiJointsTool.cpp.
Referenced by jbxwl::Ni2SDKRotJointNum().
int _Ni2OpenNI2PosJointNum[] [static] |
{
0, -1, 9, -1, 2, 1, -1,
-1, -1, -1, -1,
-1, 4, 6, 8, -1, -1,
-1, 3, 5, 7, -1, -1,
11, 13, 15, -1, -1,
10, 12, 14, -1, -1,
-1, -1, -1, -1
}
Definition at line 302 of file NiJointsTool.cpp.
Referenced by jbxwl::Ni2SDKPosJointNum().
int _Ni2OpenNI2RotJointNum[] [static] |
{
0, -1, 9, -1, 2, -1, -1,
-1, -1, -1, -1,
-1, 4, 6, -1, -1, -1,
-1, 3, 5, -1, -1, -1,
11, 13, -1, -1, -1,
10, 12, -1, -1, -1,
-1, -1, -1, -1
}
Definition at line 382 of file NiJointsTool.cpp.
Referenced by jbxwl::Ni2SDKRotJointNum().
int _Ni2OpenNIPosJointNum[] [static] |
{
0, -1, 3, -1, 2, 1, -1,
-1, -1, -1, -1,
-1, 12, 13, 15, -1, -1,
-1, 6, 7, 9, -1, -1,
21, 22, 24, -1, -1,
17, 18, 20, -1, -1,
-1, -1, -1, -1
}
Definition at line 290 of file NiJointsTool.cpp.
Referenced by jbxwl::Ni2SDKPosJointNum().
int _Ni2OpenNIRotJointNum[] [static] |
{
0, -1, 3, -1, 2, -1, -1,
-1, -1, -1, -1,
-1, 12, 13, -1, -1, -1,
-1, 6, 7, -1, -1, -1,
21, 22, -1, -1, -1,
17, 18, -1, -1, -1,
-1, -1, -1, -1
}
Definition at line 369 of file NiJointsTool.cpp.
Referenced by jbxwl::Ni2SDKRotJointNum().
int _Ni2RotJointNum[] [static] |
{
0, 1, 2, 3, 4, 5, -1,
7, 8, 9, 10,
11, 12, 13, 14, 15, -1,
17, 18, 19, 20, 21, -1,
23, 24, 25, 26, -1,
28, 29, 30, 31, -1,
33, 34, 35, 36
}
Definition at line 406 of file NiJointsTool.cpp.
Referenced by jbxwl::Ni2SDKRotJointNum().
std::string _NiJointName[] [static] |
{
"PELVIS", "WAIST", "TORSO", "CHEST", "NECK", "HEAD", "SKULL",
"L_EYE", "R_EYE", "L_BUST", "R_BUST",
"L_COLLAR", "L_SHLDR", "L_ELBOW", "L_WRIST", "L_HAND", "L_FNGRTIP",
"R_COLLAR", "R_SHLDR", "R_ELBOW", "R_WRIST", "R_HAND", "R_FNGRTIP",
"L_HIP", "L_KNEE", "L_ANKLE", "L_FOOT", "L_TOE",
"R_HIP", "R_KNEE", "R_ANKLE", "R_FOOT", "R_TOE",
"L_FINGER", "R_FINGER", "FACE", "AVATAR"
}
Definition at line 92 of file NiJointsTool.cpp.
Referenced by jbxwl::JointName2NiSDK(), jbxwl::NiJointName(), jbxwl::NiJointNum(), and jbxwl::NiSDK2JointName().
int _NiMirrorJointNum[] [static] |
{
0, 1, 2, 3, 4, 5, 6,
8, 7, 10, 9,
17, 18, 19, 20, 21, 22,
11, 12, 13, 14, 15, 16,
28, 29, 30, 31, 32,
23, 24, 25, 26, 27,
34, 33, 35, 36
}
Definition at line 248 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSDKMirrorJointNum().
int _OpenNI22JointNameNum[] [static] |
{
0, 5, 4,
18, 12, 19, 13, 21, 15,
2,
28, 23, 29, 24, 31, 26
}
Definition at line 155 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSDK2JointName().
int _OpenNI2JointNameNum[] [static] |
{
0, 5, 4, 2, 1,
17, 18, 19, 20, 21, 22,
11, 12, 13, 14, 15, 16,
28, 29, 30, 31,
23, 24, 25, 26
}
Definition at line 145 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSDK2JointName().
int _OpenNI2MirrorJointNum[] [static] |
{
0, 1, 2,
4, 3, 6, 5, 8, 7,
9,
11, 10, 13, 12, 15, 14
}
Definition at line 229 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSDKMirrorJointNum().
int _OpenNIMirrorJointNum[] [static] |
{
0, 1, 2, 3, 4,
11, 12, 13, 14, 15, 16,
5, 6, 7, 8, 9, 10,
21, 22, 23, 24,
17, 18, 19, 20
}
Definition at line 219 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSDKMirrorJointNum().
| int NI_SDK_AVATAR = NI_AVATAR |
Definition at line 51 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_FACE = NI_FACE |
Definition at line 50 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_HEAD = NI_HEAD |
Definition at line 19 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_ANKLE = NI_L_ANKLE |
Definition at line 40 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_BUST = NI_L_BUST |
Definition at line 23 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_ELBOW = NI_L_ELBOW |
Definition at line 27 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_EYE = NI_L_EYE |
Definition at line 21 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_FINGER = NI_L_FINGER |
Definition at line 48 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_FNGRTIP = NI_L_FNGRTIP |
Definition at line 30 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_FOOT = NI_L_FOOT |
Definition at line 41 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_HAND = NI_L_HAND |
Definition at line 29 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_HIP = NI_L_HIP |
Definition at line 38 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_KNEE = NI_L_KNEE |
Definition at line 39 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_SHLDR = NI_L_SHLDR |
Definition at line 26 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_L_WRIST = NI_L_WRIST |
Definition at line 28 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_NECK = NI_NECK |
Definition at line 18 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_PELVIS = NI_PELVIS |
Definition at line 16 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_ANKLE = NI_R_ANKLE |
Definition at line 45 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_BUST = NI_R_BUST |
Definition at line 24 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_ELBOW = NI_R_ELBOW |
Definition at line 33 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_EYE = NI_R_EYE |
Definition at line 22 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_FINGER = NI_R_FINGER |
Definition at line 49 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_FNGRTIP = NI_R_FNGRTIP |
Definition at line 36 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_FOOT = NI_R_FOOT |
Definition at line 46 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_HAND = NI_R_HAND |
Definition at line 35 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_HIP = NI_R_HIP |
Definition at line 43 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_KNEE = NI_R_KNEE |
Definition at line 44 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_SHLDR = NI_R_SHLDR |
Definition at line 32 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_R_WRIST = NI_R_WRIST |
Definition at line 34 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| int NI_SDK_TORSO = NI_TORSO |
Definition at line 17 of file NiJointsTool.cpp.
Referenced by jbxwl::NiSetKinectJointNums(), jbxwl::NiSetOpenNI2JointNums(), and jbxwl::NiSetOpenNIJointNums().
| RBound<double> RBound_NI_CHEST |
Definition at line 62 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_HEAD |
Definition at line 64 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_L_ANKLE |
Definition at line 81 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| jbxl::RBound< double > RBound_NI_L_COLLAR |
Definition at line 66 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_L_ELBOW |
Definition at line 70 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_L_FOOT |
Definition at line 83 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_L_HAND |
Definition at line 74 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_L_HIP |
Definition at line 77 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_L_KNEE |
Definition at line 79 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_L_SHLDR |
Definition at line 68 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_L_WRIST |
Definition at line 72 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_NECK |
Definition at line 63 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_R_ANKLE |
Definition at line 82 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_R_COLLAR |
Definition at line 67 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_R_ELBOW |
Definition at line 71 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_R_FOOT |
Definition at line 84 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_R_HAND |
Definition at line 75 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_R_HIP |
Definition at line 78 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_R_KNEE |
Definition at line 80 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_R_SHLDR |
Definition at line 69 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_R_WRIST |
Definition at line 73 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
| RBound<double> RBound_NI_TORSO |
Definition at line 61 of file NiJointsTool.cpp.
Referenced by jbxwl::NiCorrectJointsRotation(), and jbxwl::NiInitRBoundJointsRotation().
1.6.1