internal static extern pxcmStatus PXCMFaceConfiguration_EnableAlert(IntPtr instance, PXCMFaceData.AlertData.AlertType alertEvent);
 internal static extern Boolean PXCMFaceConfiguration_DisableAlert(IntPtr instance, PXCMFaceData.AlertData.AlertType alertEvent);
 internal static extern Boolean PXCMFaceConfiguration_ExpressionsConfiguration_IsExpressionEnabled(IntPtr instance, PXCMFaceData.ExpressionsData.FaceExpression expression);
 internal static extern void PXCMFaceConfiguration_GazeConfiguration_SetDominantEye(IntPtr instance, PXCMFaceData.GazeCalibData.DominantEye eye);
 internal static extern pxcmStatus PXCMFaceConfiguration_ExpressionsConfiguration_EnableExpression(IntPtr instance, PXCMFaceData.ExpressionsData.FaceExpression expression);
 internal static extern void PXCMFaceConfiguration_ExpressionsConfiguration_DisableExpression(IntPtr instsance, PXCMFaceData.ExpressionsData.FaceExpression expression);
 /** 
     @brief Disable alert messaging for a specific event.            
     @param[in] alertEvent the ID of the event to be disabled.
     @return PXC_STATUS_NO_ERROR if disabling the alert was successful; otherwise, return one of the following errors:
     PXCM_STATUS_PARAM_UNSUPPORTED - Unsupported parameter.
     PXCM_STATUS_DATA_NOT_INITIALIZED - Data failed to initialize.
 */
 public Boolean DisableAlert(PXCMFaceData.AlertData.AlertType alertEvent)
 {
     return PXCMFaceConfiguration_DisableAlert(instance, alertEvent);
 }
   			/**
				The actual dominant eye as entered by the user, modifying the optimal eye suggested by the calibration.
				An alternative option to setting the dominant eye would be to repeat calibration, QueryCalibDominantEye until desired result is reached.
				The dominant eye is a preference of visual input from one eye over the other.
				This is the eye relied on in the gaze inference algorithm.
			*/
			public void SetDominantEye(PXCMFaceData.GazeCalibData.DominantEye eye) {
                PXCMFaceConfiguration_GazeConfiguration_SetDominantEye(instance, eye);
            }
 /** 
     @brief Check if an alert is enabled.    
     @param[in] alertEvent the ID of the event.            
     @return true if the alert is enabled; otherwise, return false
 */
 public Boolean IsAlertEnabled(PXCMFaceData.AlertData.AlertType alertEvent)
 {
     return PXCMFaceConfiguration_IsAlertEnabled(instance, alertEvent);
 }
예제 #10
0
 /** 
     @brief Enable alert, so that events are fired when the alert is identified.			
     @param[in] alertEvent the label of the alert to enabled. 
     @return PXCM_STATUS_NO_ERROR if the alert was enabled successfully; otherwise, return one of the following errors:
     PXCM_STATUS_PARAM_UNSUPPORTED - Unsupported parameter.
     PXCM_STATUS_DATA_NOT_INITIALIZED - Data failed to initialize.
 */
 public pxcmStatus EnableAlert(PXCMFaceData.AlertData.AlertType alertEvent)
 {
     return PXCMFaceConfiguration_EnableAlert(instance, alertEvent);
 }
예제 #11
0
 /*
     @brief Checks if expression is currently enabled in configuration.
     @param[in] expression - single face expression
     @return true - enabled, false - disabled.
 */
 public Boolean IsExpressionEnabled(PXCMFaceData.ExpressionsData.FaceExpression expression)
 {
     return PXCMFaceConfiguration_ExpressionsConfiguration_IsExpressionEnabled(instance.configs.expressionInstance, expression);
 }
예제 #12
0
 /*
     @brief Disables specific expression.
     @param[in] expression - single face expression.
 */
 public void DisableExpression(PXCMFaceData.ExpressionsData.FaceExpression expression)
 {
     PXCMFaceConfiguration_ExpressionsConfiguration_DisableExpression(instance.configs.expressionInstance, expression);
 }
예제 #13
0
 /*
     @brief Enables specific expression.
     @param[in] expression - single face expression.
     @return PXCM_STATUS_NO_ERROR - success.
     PXCM_STATUS_PARAM_UNSUPPORTED - expression is unsupported.
 */
 public pxcmStatus EnableExpression(PXCMFaceData.ExpressionsData.FaceExpression expression)
 {
     return PXCMFaceConfiguration_ExpressionsConfiguration_EnableExpression(instance.configs.expressionInstance, expression);
 }