| 233 | } |
| 234 | |
| 235 | XnStatus SampleDepth::SetMapOutputMode( const XnMapOutputMode& Mode ) |
| 236 | { |
| 237 | // make sure this is our supported mode |
| 238 | if (Mode.nXRes != SUPPORTED_X_RES || |
| 239 | Mode.nYRes != SUPPORTED_Y_RES || |
| 240 | Mode.nFPS != SUPPORTED_FPS) |
| 241 | { |
| 242 | return (XN_STATUS_BAD_PARAM); |
| 243 | } |
| 244 | |
| 245 | return (XN_STATUS_OK); |
| 246 | } |
| 247 | |
| 248 | XnStatus SampleDepth::GetMapOutputMode( XnMapOutputMode& Mode ) |
| 249 | { |
no outgoing calls
no test coverage detected