#include <XnCppWrapper.h>
Public Member Functions | |
AlternativeViewPointCapability (XnNodeHandle hNode) | |
XnBool | IsViewPointSupported (ProductionNode &otherNode) const |
XnStatus | SetViewPoint (ProductionNode &otherNode) |
XnStatus | ResetViewPoint () |
XnBool | IsViewPointAs (ProductionNode &otherNode) const |
XnStatus | RegisterToViewPointChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback) |
void | UnregisterFromViewPointChange (XnCallbackHandle hCallback) |
Allows access to Alternative View Point capability functions. see Alternative View Point Capability for additional details.
xn::AlternativeViewPointCapability::AlternativeViewPointCapability | ( | XnNodeHandle | hNode | ) | [inline] |
Ctor
hNode | [in] Node handle |
XnBool xn::AlternativeViewPointCapability::IsViewPointAs | ( | ProductionNode & | otherNode | ) | const [inline] |
Checks if current view point is as if coming from the other node view point. For full details and usage, see xnIsViewPointAs
XnBool xn::AlternativeViewPointCapability::IsViewPointSupported | ( | ProductionNode & | otherNode | ) | const [inline] |
Checks if this generator can change its output to look like it was taken from a different location, represented by another generator. For full details and usage, see xnIsViewPointSupported
XnStatus xn::AlternativeViewPointCapability::RegisterToViewPointChange | ( | StateChangedHandler | handler, | |
void * | pCookie, | |||
XnCallbackHandle & | hCallback | |||
) | [inline] |
Registers a callback function to view point changes. For full details and usage, see xnRegisterToViewPointChange
XnStatus xn::AlternativeViewPointCapability::ResetViewPoint | ( | ) | [inline] |
Sets the view point of this generator to its normal one. For full details and usage, see xnResetViewPoint
XnStatus xn::AlternativeViewPointCapability::SetViewPoint | ( | ProductionNode & | otherNode | ) | [inline] |
Sets the view point of this generator to look like as if placed at another generator location. For full details and usage, see xnSetViewPoint
void xn::AlternativeViewPointCapability::UnregisterFromViewPointChange | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregisters a callback function which was registered using xnRegisterToViewPointChange(). For full details and usage, see xnUnregisterFromViewPointChange