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

Function xnConfigurePixelFormat

Source/OpenNI/XnXmlScriptNode.cpp:198–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198XnStatus xnConfigurePixelFormat(XnNodeHandle hNode, const TiXmlElement* pOpcode)
199{
200 XnStatus nRetVal = XN_STATUS_OK;
201
202 XnPixelFormat format;
203 nRetVal = xnPixelFormatFromString(pOpcode->GetText(), &format);
204 XN_IS_STATUS_OK(nRetVal);
205
206 nRetVal = xnSetPixelFormat(hNode, format);
207 XN_IS_STATUS_OK(nRetVal);
208
209 return (XN_STATUS_OK);
210}
211
212XnStatus xnConfigureUserPosition(XnNodeHandle hNode, const TiXmlElement* pOpcode)
213{

Callers 1

xnConfigureSetOpcodeFunction · 0.85

Calls 3

xnPixelFormatFromStringFunction · 0.85
xnSetPixelFormatFunction · 0.85
GetTextMethod · 0.80

Tested by

no test coverage detected