/// <summary>
        /// Update the joint orientation based on the referenced <c>IJointOrientation</c>.
        /// </summary>
        public virtual void Update(IJointOrientation jointOrientation)
        {
            if (this.JointType != jointOrientation.JointType)
                throw new Exception("Cannot Update with Joint of a different Type");

            _orientation = jointOrientation.Orientation;
        }
Esempio n. 2
0
        /// <summary>
        /// Update the joint orientation based on the referenced <c>IJointOrientation</c>.
        /// </summary>
        public virtual void Update(IJointOrientation jointOrientation)
        {
            if (this.JointType != jointOrientation.JointType)
            {
                throw new Exception("Cannot Update with Joint of a different Type");
            }

            _orientation = jointOrientation.Orientation;
        }
Esempio n. 3
0
 /// <summary>
 /// Update (and filter) the joint orientation based on the referenced <c>IJointOrientation</c>.
 /// </summary>
 public override void Update(IJointOrientation jointOrientation)
 {
     _orientation = jointOrientation.Orientation;
 }
 /// <summary>
 /// Update the joint orientation based on the referenced <c>IJointOrientation</c>.
 /// </summary>
 /// <param name="jointOrientation"></param>
 /// <exception cref="System.NotSupportedException">Must update a KinectJointOrientation with a native Kinect SDK JointOrientation</exception>
 public void Update(IJointOrientation jointOrientation)
 {
     throw new NotSupportedException("Must update a KinectJointOrientation with a native Kinect SDK JointOrientation");
 }
Esempio n. 5
0
 /// <summary>
 /// Update the joint orientation based on the referenced <c>IJointOrientation</c>.
 /// </summary>
 /// <param name="jointOrientation"></param>
 /// <exception cref="System.NotSupportedException">Must update a KinectJointOrientation with a native Kinect SDK JointOrientation</exception>
 public void Update(IJointOrientation jointOrientation)
 {
     throw new NotSupportedException("Must update a KinectJointOrientation with a native Kinect SDK JointOrientation");
 }