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

Function xnConfigureCropping

Source/OpenNI/XnXmlScriptNode.cpp:184–196  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184XnStatus xnConfigureCropping(XnNodeHandle hNode, const TiXmlElement* pOpcode)
185{
186 XnStatus nRetVal = XN_STATUS_OK;
187
188 XnCropping Cropping;
189 nRetVal = xnXmlReadCropping(pOpcode, &Cropping);
190 XN_IS_STATUS_OK(nRetVal);
191
192 nRetVal = xnSetCropping(hNode, &Cropping);
193 XN_IS_STATUS_OK(nRetVal);
194
195 return (XN_STATUS_OK);
196}
197
198XnStatus xnConfigurePixelFormat(XnNodeHandle hNode, const TiXmlElement* pOpcode)
199{

Callers 1

xnConfigureSetOpcodeFunction · 0.85

Calls 2

xnXmlReadCroppingFunction · 0.85
xnSetCroppingFunction · 0.85

Tested by

no test coverage detected