#include <XnCppWrapper.h>
Base class for all generator nodes
xn::Generator::Generator | ( | XnNodeHandle | hNode = NULL |
) | [inline] |
Ctor
hNode | [in] Node handle |
xn::Generator::Generator | ( | const NodeWrapper & | other | ) | [inline] |
const AlternativeViewPointCapability xn::Generator::GetAlternativeViewPointCap | ( | ) | const [inline] |
Gets an AlternativeViewPointCapability object for accessing Alternative View Point functionality. It is the application responsibility to check first if XN_CAPABILITY_ALTERNATIVE_VIEW_POINT is supported by calling IsCapabilitySupported().
AlternativeViewPointCapability xn::Generator::GetAlternativeViewPointCap | ( | ) | [inline] |
Gets an AlternativeViewPointCapability object for accessing Alternative View Point functionality. It is the application responsibility to check first if XN_CAPABILITY_ALTERNATIVE_VIEW_POINT is supported by calling IsCapabilitySupported().
const void* xn::Generator::GetData | ( | ) | [inline] |
Gets the current data.
For full details and usage, see xnGetDataXnUInt32 xn::Generator::GetDataSize | ( | ) | const [inline] |
Gets the size of current data, in bytes.
For full details and usage, see xnGetDataSizeXnUInt32 xn::Generator::GetFrameID | ( | ) | const [inline] |
Gets the frame ID of current data.
For full details and usage, see xnGetFrameIDconst FrameSyncCapability xn::Generator::GetFrameSyncCap | ( | ) | const [inline] |
Gets an FrameSyncCapability object for accessing Frame Sync functionality. It is the application responsibility to check first if XN_CAPABILITY_FRAME_SYNC is supported by calling IsCapabilitySupported().
FrameSyncCapability xn::Generator::GetFrameSyncCap | ( | ) | [inline] |
Gets an FrameSyncCapability object for accessing Frame Sync functionality. It is the application responsibility to check first if XN_CAPABILITY_FRAME_SYNC is supported by calling IsCapabilitySupported().
MirrorCapability xn::Generator::GetMirrorCap | ( | ) | [inline] |
Gets an MirrorCapability object for accessing Mirror functionality. It is the application responsibility to check first if XN_CAPABILITY_MIRROR is supported by calling IsCapabilitySupported().
const MirrorCapability xn::Generator::GetMirrorCap | ( | ) | const [inline] |
Gets an MirrorCapability object for accessing Mirror functionality. It is the application responsibility to check first if XN_CAPABILITY_MIRROR is supported by calling IsCapabilitySupported().
XnUInt64 xn::Generator::GetTimestamp | ( | ) | const [inline] |
Gets the timestamp of current data, in microseconds.
For full details and usage, see xnGetTimestampXnBool xn::Generator::IsDataNew | ( | ) | const [inline] |
Checks whether current data is new. Meaning, did the data change on the last call to xnWaitAndUpdateAll(), xnWaitOneUpdateAll() or xnWaitAndUpdateData().
For full details and usage, see xnIsDataNewXnBool xn::Generator::IsGenerating | ( | ) | const [inline] |
Checks if this node is currently generating.
For full details and usage, see xnIsGeneratingXnBool xn::Generator::IsNewDataAvailable | ( | XnUInt64 * | pnTimestamp = NULL |
) | const [inline] |
Checks whether this node has new data (and so a call to xnWaitAndUpdateData() will not block).
For full details and usage, see xnIsNewDataAvailableXnStatus xn::Generator::RegisterToGenerationRunningChange | ( | StateChangedHandler | handler, | |
void * | pCookie, | |||
XnCallbackHandle & | hCallback | |||
) | [inline] |
Registers a callback function to be called when generation starts or stops.
For full details and usage, see xnRegisterToGenerationRunningChangeXnStatus xn::Generator::RegisterToNewDataAvailable | ( | StateChangedHandler | handler, | |
void * | pCookie, | |||
XnCallbackHandle & | hCallback | |||
) | [inline] |
Registers a callback function to be called when new data is available.
For full details and usage, see xnRegisterToNewDataAvailableXnStatus xn::Generator::StartGenerating | ( | ) | [inline] |
Starts generation of the output. This will also cause all dependencies to start generating.
For full details and usage, see xnStartGeneratingXnStatus xn::Generator::StopGenerating | ( | ) | [inline] |
Stops generation of the output.
For full details and usage, see xnStopGeneratingvoid xn::Generator::UnregisterFromGenerationRunningChange | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregisters a callback function which was registered using xnRegisterToGenerationRunningChange().
For full details and usage, see xnUnregisterFromGenerationRunningChangevoid xn::Generator::UnregisterFromNewDataAvailable | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregisters a callback function which was registered using xnRegisterToNewDataAvailable().
For full details and usage, see xnUnregisterFromNewDataAvailableXnStatus xn::Generator::WaitAndUpdateData | ( | ) | [inline] |
Updates the data to the latest available one. If needed, the call will block until new data is available.
For full details and usage, see xnWaitAndUpdateData