| Package | com.tastenkunst.airkinectv2 |
| Class | public class KV2Joint |
| Inheritance | KV2Joint Object |
Every KV2Body has 25 body joints in a Vector.
Every KV2Joint has a certain jointType.
The const JointType values are mapped to their index in the KV2Body.joints Vector. Eg. JointType_HandLeft has the value 7, so can be found in KV2Body.joints[KV2Joint.JointType_HandLeft].
The source coordinate space is the CameraSpace, but these values will be automatically mapped to the ColorSpace and DepthSpace and can be retrieved by reading the corresponding point:
Every joint has a trackingState of either:
| Property | Defined By | ||
|---|---|---|---|
| cameraSpacePoint : Vector3D | KV2Joint | ||
| colorSpacePoint : Point | KV2Joint | ||
| depthSpacePoint : Point | KV2Joint | ||
| jointType : int = -1 | KV2Joint | ||
| trackingState : int = -1 | KV2Joint | ||
| Method | Defined By | ||
|---|---|---|---|
KV2Joint(jointType:int) | KV2Joint | ||
| Constant | Defined By | ||
|---|---|---|---|
| JointType_AnkleLeft : int = 14 [static] | KV2Joint | ||
| JointType_AnkleRight : int = 18 [static] | KV2Joint | ||
| JointType_Count : int = 25.0 [static] | KV2Joint | ||
| JointType_ElbowLeft : int = 5 [static] | KV2Joint | ||
| JointType_ElbowRight : int = 9 [static] | KV2Joint | ||
| JointType_FootLeft : int = 15 [static] | KV2Joint | ||
| JointType_FootRight : int = 19 [static] | KV2Joint | ||
| JointType_HandLeft : int = 7 [static] | KV2Joint | ||
| JointType_HandRight : int = 11 [static] | KV2Joint | ||
| JointType_HandTipLeft : int = 21 [static] | KV2Joint | ||
| JointType_HandTipRight : int = 23 [static] | KV2Joint | ||
| JointType_Head : int = 3 [static] | KV2Joint | ||
| JointType_HipLeft : int = 12 [static] | KV2Joint | ||
| JointType_HipRight : int = 16 [static] | KV2Joint | ||
| JointType_KneeLeft : int = 13 [static] | KV2Joint | ||
| JointType_KneeRight : int = 17 [static] | KV2Joint | ||
| JointType_Neck : int = 2 [static] | KV2Joint | ||
| JointType_ShoulderLeft : int = 4 [static] | KV2Joint | ||
| JointType_ShoulderRight : int = 8 [static] | KV2Joint | ||
| JointType_SpineBase : int = 0 [static] | KV2Joint | ||
| JointType_SpineMid : int = 1 [static] | KV2Joint | ||
| JointType_SpineShoulder : int = 20 [static] | KV2Joint | ||
| JointType_ThumbLeft : int = 22 [static] | KV2Joint | ||
| JointType_ThumbRight : int = 24 [static] | KV2Joint | ||
| JointType_WristLeft : int = 6 [static] | KV2Joint | ||
| JointType_WristRight : int = 10 [static] | KV2Joint | ||
| TrackingState_Inferred : int = 1 [static] | KV2Joint | ||
| TrackingState_NotTracked : int = 0 [static] | KV2Joint | ||
| TrackingState_Tracked : int = 2 [static] | KV2Joint | ||
| cameraSpacePoint | property |
public var cameraSpacePoint:Vector3D| colorSpacePoint | property |
public var colorSpacePoint:Point| depthSpacePoint | property |
public var depthSpacePoint:Point| jointType | property |
public var jointType:int = -1| trackingState | property |
public var trackingState:int = -1| KV2Joint | () | Constructor |
public function KV2Joint(jointType:int)jointType:int |
| JointType_AnkleLeft | Constant |
public static const JointType_AnkleLeft:int = 14| JointType_AnkleRight | Constant |
public static const JointType_AnkleRight:int = 18| JointType_Count | Constant |
public static const JointType_Count:int = 25.0| JointType_ElbowLeft | Constant |
public static const JointType_ElbowLeft:int = 5| JointType_ElbowRight | Constant |
public static const JointType_ElbowRight:int = 9| JointType_FootLeft | Constant |
public static const JointType_FootLeft:int = 15| JointType_FootRight | Constant |
public static const JointType_FootRight:int = 19| JointType_HandLeft | Constant |
public static const JointType_HandLeft:int = 7| JointType_HandRight | Constant |
public static const JointType_HandRight:int = 11| JointType_HandTipLeft | Constant |
public static const JointType_HandTipLeft:int = 21| JointType_HandTipRight | Constant |
public static const JointType_HandTipRight:int = 23| JointType_Head | Constant |
public static const JointType_Head:int = 3| JointType_HipLeft | Constant |
public static const JointType_HipLeft:int = 12| JointType_HipRight | Constant |
public static const JointType_HipRight:int = 16| JointType_KneeLeft | Constant |
public static const JointType_KneeLeft:int = 13| JointType_KneeRight | Constant |
public static const JointType_KneeRight:int = 17| JointType_Neck | Constant |
public static const JointType_Neck:int = 2| JointType_ShoulderLeft | Constant |
public static const JointType_ShoulderLeft:int = 4| JointType_ShoulderRight | Constant |
public static const JointType_ShoulderRight:int = 8| JointType_SpineBase | Constant |
public static const JointType_SpineBase:int = 0| JointType_SpineMid | Constant |
public static const JointType_SpineMid:int = 1| JointType_SpineShoulder | Constant |
public static const JointType_SpineShoulder:int = 20| JointType_ThumbLeft | Constant |
public static const JointType_ThumbLeft:int = 22| JointType_ThumbRight | Constant |
public static const JointType_ThumbRight:int = 24| JointType_WristLeft | Constant |
public static const JointType_WristLeft:int = 6| JointType_WristRight | Constant |
public static const JointType_WristRight:int = 10| TrackingState_Inferred | Constant |
public static const TrackingState_Inferred:int = 1| TrackingState_NotTracked | Constant |
public static const TrackingState_NotTracked:int = 0| TrackingState_Tracked | Constant |
public static const TrackingState_Tracked:int = 2