Exemplo n.º 1
0
 /**
  *   @brief Activate calculation of the speed of a specific joint, according to the given mode.\n
  *
  *   The output speed is a 3-dimensional vector, containing the the motion of the requested joint in each direction (x, y and z axis).\n
  *   By default, the joint speed calculation is disabled for all joints, in order to conserve CPU and memory resources.\n
  *   Typically the feature is only activated for a single fingertip or palm-center joint, as only the overall hand speed is useful.\n
  *
  *   @param[in] jointLabel - the identifier of the joint.
  *   @param[in] jointSpeed - the speed calculation method. Possible values are:\n
  *     JOINT_SPEED_AVERAGE  - calculate the average joint speed, over the time period defined in the "time" parameter.\n
  *     JOINT_SPEED_ABSOLUTE - calculate the average of the absolute-value joint speed, over the time period defined in the "time" parameter.\n
  *   @param[in] time - the period in milliseconds over which the average speed will be calculated (a value of 0 will return the current speed).
  *
  *   @return PXCM_STATUS_NO_ERROR - operation succeeded.
  *   @return PXCM_STATUS_PARAM_UNSUPPORTED - one of the arguments is invalid.
  *
  *   @see PXCMHandData.JointType
  *   @see PXCMHandData.JointSpeedType
  */
 public pxcmStatus EnableJointSpeed(PXCMHandData.JointType jointLabel, PXCMHandData.JointSpeedType jointSpeed, Int32 time)
 {
     return(PXCMHandConfiguration_EnableJointSpeed(instance, jointLabel, jointSpeed, time));
 }
Exemplo n.º 2
0
 internal static extern pxcmStatus PXCMHandConfiguration_EnableJointSpeed(IntPtr instance, PXCMHandData.JointType jointLabel, PXCMHandData.JointSpeedType jointSpeed, Int32 time);