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

Function xnConfigureMirror

Source/OpenNI/XnXmlScriptNode.cpp:142–154  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142XnStatus xnConfigureMirror(XnNodeHandle hNode, const TiXmlElement* pOpcode)
143{
144 XnStatus nRetVal = XN_STATUS_OK;
145
146 XnBool bOn;
147 nRetVal = xnXmlReadBoolAttribute(pOpcode, "on", &bOn);
148 XN_IS_STATUS_OK(nRetVal);
149
150 nRetVal = xnSetMirror(hNode, bOn);
151 XN_IS_STATUS_OK(nRetVal);
152
153 return (XN_STATUS_OK);
154}
155
156XnStatus xnConfigureMapOutputMode(XnNodeHandle hNode, const TiXmlElement* pOpcode)
157{

Callers 1

xnConfigureSetOpcodeFunction · 0.85

Calls 2

xnXmlReadBoolAttributeFunction · 0.85
xnSetMirrorFunction · 0.85

Tested by

no test coverage detected