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

Method NotifyOutputMode

Source/OpenNI/XnNodeWatcher.cpp:525–537  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

523}
524
525XnStatus MapWatcher::NotifyOutputMode()
526{
527 XnMapOutputMode outputMode;
528 XnStatus nRetVal = m_mapGenerator.GetMapOutputMode(outputMode);
529 if (nRetVal != XN_STATUS_OK)
530 {
531 XN_LOG_ERROR_RETURN(nRetVal, XN_MASK_OPEN_NI, "Failed to get map output mode: %s", xnGetStatusString(nRetVal));
532 }
533
534 nRetVal = NotifyGeneralPropChanged(XN_PROP_MAP_OUTPUT_MODE, sizeof(outputMode), &outputMode);
535 XN_IS_STATUS_OK(nRetVal);
536 return XN_STATUS_OK;
537}
538
539XnStatus MapWatcher::NotifyCropping()
540{

Callers 2

Calls 3

xnGetStatusStringFunction · 0.85
GetMapOutputModeMethod · 0.45
GetWaveOutputModeMethod · 0.45

Tested by

no test coverage detected