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

Function xnSetViewPoint

Source/OpenNI/XnOpenNI.cpp:4094–4102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4092}
4093
4094XN_C_API XnStatus xnSetViewPoint(XnNodeHandle hInstance, XnNodeHandle hOther)
4095{
4096 XN_VALIDATE_INTERFACE_TYPE(hInstance, XN_NODE_TYPE_GENERATOR);
4097 XN_VALIDATE_CHANGES_ALLOWED(hInstance);
4098 XnGeneratorInterfaceContainer* pInterface = (XnGeneratorInterfaceContainer*)hInstance->pModuleInstance->pLoaded->pInterface;
4099 XnModuleNodeHandle hModuleNode = hInstance->pModuleInstance->hNode;
4100 XN_VALIDATE_FUNC_PTR(pInterface->AlternativeViewPoint.SetViewPoint);
4101 return pInterface->AlternativeViewPoint.SetViewPoint(hModuleNode, hOther);
4102}
4103
4104XN_C_API XnStatus xnResetViewPoint(XnNodeHandle hInstance)
4105{

Calls 1

SetViewPointMethod · 0.80

Tested by

no test coverage detected