#include <XnCppWrapper.h>
Public Member Functions | |
FrameSyncCapability (XnNodeHandle hNode) | |
XnStatus | RegisterToFrameSyncChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback) |
void | UnregisterFromFrameSyncChange (XnCallbackHandle hCallback) |
XnBool | CanFrameSyncWith (Generator &other) |
XnStatus | FrameSyncWith (Generator &other) |
XnStatus | StopFrameSyncWith (Generator &other) |
XnBool | IsFrameSyncedWith (Generator &other) |
Allows access to Frame Sync capability functions. see Frame-Sync Capability for additional details.
xn::FrameSyncCapability::FrameSyncCapability | ( | XnNodeHandle | hNode | ) | [inline] |
Ctor
hNode | [in] Node handle |
XnBool xn::FrameSyncCapability::CanFrameSyncWith | ( | Generator & | other | ) | [inline] |
Checks if this generator can frame sync to another node. For full details and usage, see xnCanFrameSyncWith
Activates frame sync with the other node. For full details and usage, see xnFrameSyncWith
XnBool xn::FrameSyncCapability::IsFrameSyncedWith | ( | Generator & | other | ) | [inline] |
Checks if current view point is as if coming from the other node view point. For full details and usage, see xnIsFrameSyncedWith
XnStatus xn::FrameSyncCapability::RegisterToFrameSyncChange | ( | StateChangedHandler | handler, | |
void * | pCookie, | |||
XnCallbackHandle & | hCallback | |||
) | [inline] |
Registers a callback function to view point changes. For full details and usage, see xnRegisterToFrameSyncChange
Stops frame sync with the other node. For full details and usage, see xnStopFrameSyncWith
void xn::FrameSyncCapability::UnregisterFromFrameSyncChange | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregisters a callback function which was registered using xnRegisterToFrameSyncChange(). For full details and usage, see xnUnregisterFromFrameSyncChange