Example #1
0
        /**
         *  @brief A quaternion representing the global 3D orientation of the palm.
         *  @note This information is available only in full-hand tracking mode (TRACKING_MODE_FULL_HAND).
         *  @see PXCMHandConfiguration.SetTrackingMode
         */
        public PXCMPoint4DF32 QueryPalmOrientation()
        {
            PXCMPoint4DF32 point = new PXCMPoint4DF32();

            PXCMHandData_IHand_QueryPalmOrientation(instance, ref point);
            return(point);
        }
Example #2
0
 internal static extern void PXCMHandData_IHand_QueryPalmOrientation(IntPtr instance, ref PXCMPoint4DF32 point);
Example #3
0
	// Set rotation from each of the representations.
    /**			
        @brief Set rotation based on a quaternion.
        Quaternion is a 4D point that represents rotation in 3D.
        @param[in] quaternion rotation in quaternion representation.
    */	
	public void SetFromQuaternion(PXCMPoint4DF32 quaternion) {
        PXCMRotation_SetFromQuaternion(instance, quaternion); 
    }
Example #4
0
 /** 		
     @brief A quaternion representing the global 3D orientation of the palm.
     @note This information is available only in full-hand tracking mode (TRACKING_MODE_FULL_HAND).
     @see PXCMHandConfiguration.SetTrackingMode
 */
 public PXCMPoint4DF32 QueryPalmOrientation()
 {
     PXCMPoint4DF32 point = new PXCMPoint4DF32();
     PXCMHandData_IHand_QueryPalmOrientation(instance, ref point);
     return point;
 }
Example #5
0
 internal extern static void PXCMRotation_SetFromQuaternion(IntPtr instance, PXCMPoint4DF32 quaternion);
Example #6
0
 internal static extern void PXCMHandData_IHand_QueryPalmOrientation(IntPtr instance, ref PXCMPoint4DF32 point);
Example #7
0
    // Set rotation from each of the representations.

    /**
     *  @brief Set rotation based on a quaternion.
     *  Quaternion is a 4D point that represents rotation in 3D.
     *  @param[in] quaternion rotation in quaternion representation.
     */
    public void SetFromQuaternion(PXCMPoint4DF32 quaternion)
    {
        PXCMRotation_SetFromQuaternion(instance, quaternion);
    }
Example #8
0
 internal extern static void PXCMRotation_SetFromQuaternion(IntPtr instance, PXCMPoint4DF32 quaternion);