public KinectInterop.JointType GetParentJoint(KinectInterop.JointType joint)
{
if (sensorData != null && sensorData.sensorInterface != null)
{
return sensorData.sensorInterface.GetParentJoint(joint);
}
// fall back - return the same joint (i.e. end-joint)
return joint;
}