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

Function xnSetViewAngle

Samples/NiSampleExtensionModule/RotatingDeviceExtension.cpp:55–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55SAMPLE_DEVICE_API XnStatus xnSetViewAngle(XnNodeHandle hNode, XnDouble dAngle)
56{
57 SampleRotatingDevice* pThis = GetRotatingDevicePointer(hNode);
58 if (pThis == NULL)
59 {
60 return XN_STATUS_INVALID_OPERATION;
61 }
62
63 return pThis->SetViewAngle(dAngle);
64}
65
66SAMPLE_DEVICE_API XnDouble xnGetViewAngle(XnNodeHandle hNode)
67{

Callers 1

SetViewAngleMethod · 0.85

Calls 2

GetRotatingDevicePointerFunction · 0.85
SetViewAngleMethod · 0.45

Tested by

no test coverage detected