![]() |
OpenNI 1.5.4
|
#include <XnModuleInterface.h>
Public Attributes | |
XnModuleMapGeneratorInterface * | pMapInterface |
XnDepthPixel *(* | GetDepthMap )(XnModuleNodeHandle hGenerator) |
XnDepthPixel(* | GetDeviceMaxDepth )(XnModuleNodeHandle hGenerator) |
void(* | GetFieldOfView )(XnModuleNodeHandle hGenerator, XnFieldOfView *pFOV) |
XnStatus(* | RegisterToFieldOfViewChange )(XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
void(* | UnregisterFromFieldOfViewChange )(XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback) |
XnModuleUserPositionCapabilityInterface * | pUserPositionInterface |
Depth generator additional methods.
XnDepthPixel *(* XnModuleDepthGeneratorInterface::GetDepthMap) (XnModuleNodeHandle hGenerator) |
Gets the current depth-map. This map is updated after a call to WaitAndUpdateData().
hGenerator | [in] A handle to the instance. |
XnDepthPixel(* XnModuleDepthGeneratorInterface::GetDeviceMaxDepth) (XnModuleNodeHandle hGenerator) |
Gets the maximum depth the device can produce.
hGenerator | [in] A handle to the instance. |
void(* XnModuleDepthGeneratorInterface::GetFieldOfView) (XnModuleNodeHandle hGenerator, XnFieldOfView *pFOV) |
Gets the field of view of the sensor, in radians. This value will be used for translation between projective and real-world coordinates. It is assumed that the sensor is a pinhole camera.
hGenerator | [in] A handle to the instance. |
pFOV | [in] A struct to be filled with data. |
XnModuleMapGeneratorInterface* XnModuleDepthGeneratorInterface::pMapInterface |
Contains map generator interface.
XnModuleUserPositionCapabilityInterface* XnModuleDepthGeneratorInterface::pUserPositionInterface |
Contains User Position Capability interface.
XnStatus(* XnModuleDepthGeneratorInterface::RegisterToFieldOfViewChange) (XnModuleNodeHandle hGenerator, XnModuleStateChangedHandler handler, void *pCookie, XnCallbackHandle *phCallback) |
Registers a callback function to field of view changes.
hGenerator | [in] A handle to the instance. |
handler | [in] A pointer to a function that will be called when field of view changes. |
pCookie | [in] A user cookie that will be passed to the callback function. |
phCallback | [out] Optional. Will be filled with a handle to be passed to UnregisterFromFieldOfViewChange(). |
void(* XnModuleDepthGeneratorInterface::UnregisterFromFieldOfViewChange) (XnModuleNodeHandle hGenerator, XnCallbackHandle hCallback) |
Unregisters a callback function which was registered using RegisterToFieldOfViewChange.
hGenerator | [in] A handle to the instance. |
hCallback | [in] The handle to the callback returned from RegisterToFieldOfViewChange. |