| 4092 | } |
| 4093 | |
| 4094 | XN_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 | |
| 4104 | XN_C_API XnStatus xnResetViewPoint(XnNodeHandle hInstance) |
| 4105 | { |
no test coverage detected