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

Function resetCropping

Samples/NiViewer/NiViewer.cpp:227–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227void resetCropping(MapGenerator* pGenerator)
228{
229 XnCropping crop;
230 crop.bEnabled = FALSE;
231 crop.nXOffset = crop.nYOffset = 0;
232 crop.nXSize = crop.nYSize = 0;
233 setStreamCropping(pGenerator, &crop);
234}
235
236void resetDepthCropping(int)
237{

Callers 3

resetDepthCroppingFunction · 0.85
resetImageCroppingFunction · 0.85
resetIRCroppingFunction · 0.85

Calls 1

setStreamCroppingFunction · 0.85

Tested by

no test coverage detected