MCPcopy Create free account
hub / github.com/OpenNI/OpenNI / SetMapOutputMode

Method SetMapOutputMode

Samples/NiSampleModule/SampleDepth.cpp:235–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235XnStatus 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
248XnStatus SampleDepth::GetMapOutputMode( XnMapOutputMode& Mode )
249{

Callers 5

ConfigureGeneratorsFunction · 0.45
mainFunction · 0.45
UserTrackerMethod · 0.45
setResolutionFunction · 0.45
setFPSFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected