| 121 | return XN_STATUS_OK; |
| 122 | } |
| 123 | XnStatus DefaultTrackingInitializer::CalibrationComplete(XnUserID nUserId,XnCalibrationStatus eStatus) |
| 124 | { |
| 125 | XnBool retVal=FALSE; |
| 126 | if (eStatus == XN_CALIBRATION_STATUS_OK) |
| 127 | { |
| 128 | // we start the actual tracking! |
| 129 | if(m_pUserGenerator->GetSkeletonCap().StartTracking(nUserId)==XN_STATUS_OK) |
| 130 | { |
| 131 | retVal=TRUE; |
| 132 | } |
| 133 | |
| 134 | } |
| 135 | if(m_pUserSelector!=NULL) |
| 136 | { |
| 137 | return m_pUserSelector->UpdateUserTracking(nUserId,retVal,eStatus); |
| 138 | } |
| 139 | return XN_STATUS_OK; |
| 140 | } |
| 141 | |
| 142 | XnStatus DefaultTrackingInitializer::CalibrationInProgress(XnUserID nUserId,XnCalibrationStatus eStatus) |
| 143 | { |
no test coverage detected