Example #1
0
 private void handleHeadPoseChange(ref LEAP_HEAD_POSE_EVENT headPose)
 {
     if (LeapHeadPoseChange != null)
     {
         LeapHeadPoseChange.DispatchOnContext(this, EventContext, new HeadPoseEventArgs(headPose.head_position, headPose.head_orientation));
     }
 }
Example #2
0
        public LEAP_HEAD_POSE_EVENT GetInterpolatedHeadPose(Int64 time)
        {
            LEAP_HEAD_POSE_EVENT headPoseEvent = new LEAP_HEAD_POSE_EVENT();

            GetInterpolatedHeadPose(ref headPoseEvent, time);
            return(headPoseEvent);
        }
Example #3
0
        public void GetInterpolatedHeadPose(ref LEAP_HEAD_POSE_EVENT toFill, Int64 time)
        {
            eLeapRS result = LeapC.InterpolateHeadPose(_leapConnection, time, ref toFill);

            reportAbnormalResults("LeapC get interpolated head pose call was ", result);
        }
Example #4
0
 public static extern eLeapRS InterpolateHeadPose(IntPtr hConnection, Int64 timestamp, ref LEAP_HEAD_POSE_EVENT headPose);