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

Function drawConfigChanged

Samples/NiViewer/Draw.cpp:364–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364void drawConfigChanged()
365{
366 // recalculate registration
367 bool bRegistration =
368 (g_DrawConfig.Streams.ScreenArrangement == OVERLAY) &&
369 (g_DrawConfig.Streams.Image.Coloring != IMAGE_OFF) &&
370 (g_DrawConfig.Streams.Depth.Coloring != DEPTH_OFF || g_DrawConfig.Streams.Image.Coloring == DEPTH_MASKED_IMAGE);
371
372 changeRegistration(bRegistration);
373}
374
375void setPreset(int preset)
376{

Callers 2

setPresetFunction · 0.85
setScreenLayoutFunction · 0.85

Calls 1

changeRegistrationFunction · 0.85

Tested by

no test coverage detected