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

Method HandlePixelFormatChange

Source/OpenNI/XnNodeWatcher.cpp:644–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

642}
643
644void XN_CALLBACK_TYPE ImageWatcher::HandlePixelFormatChange(ProductionNode& /*node*/, void* pCookie)
645{
646 ImageWatcher *pThis = (ImageWatcher*)pCookie;
647 if (pThis == NULL)
648 {
649 XN_ASSERT(FALSE);
650 return;
651 }
652 pThis->NotifyIntPropChanged(XN_PROP_PIXEL_FORMAT, pThis->m_imageGenerator.GetPixelFormat());
653}
654
655/*************/
656/* IRWatcher */

Callers

nothing calls this directly

Calls 2

NotifyIntPropChangedMethod · 0.80
GetPixelFormatMethod · 0.45

Tested by

no test coverage detected