#include <XnCppWrapper.h>
Public Member Functions | |
DepthGenerator (XnNodeHandle hNode=NULL) | |
DepthGenerator (const NodeWrapper &other) | |
void | GetMetaData (DepthMetaData &metaData) const |
const XnDepthPixel * | GetDepthMap () const |
XnDepthPixel | GetDeviceMaxDepth () const |
XnStatus | GetFieldOfView (XnFieldOfView &FOV) const |
XnStatus | RegisterToFieldOfViewChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback) |
void | UnregisterFromFieldOfViewChange (XnCallbackHandle hCallback) |
XnStatus | ConvertProjectiveToRealWorld (XnUInt32 nCount, const XnPoint3D aProjective[], XnPoint3D aRealWorld[]) const |
XnStatus | ConvertRealWorldToProjective (XnUInt32 nCount, const XnPoint3D aRealWorld[], XnPoint3D aProjective[]) const |
const UserPositionCapability | GetUserPositionCap () const |
UserPositionCapability | GetUserPositionCap () |
XnStatus | Create (Context &context, Query *pQuery=NULL, EnumerationErrors *pErrors=NULL) |
Represents a depth generator.
xn::DepthGenerator::DepthGenerator | ( | XnNodeHandle | hNode = NULL |
) | [inline] |
Ctor
hNode | [in] Node handle |
xn::DepthGenerator::DepthGenerator | ( | const NodeWrapper & | other | ) | [inline] |
XnStatus xn::DepthGenerator::ConvertProjectiveToRealWorld | ( | XnUInt32 | nCount, | |
const XnPoint3D | aProjective[], | |||
XnPoint3D | aRealWorld[] | |||
) | const [inline] |
Converts a list of points from projective coordinates to real world coordinates. For full details and usage, see xnConvertProjectiveToRealWorld
XnStatus xn::DepthGenerator::ConvertRealWorldToProjective | ( | XnUInt32 | nCount, | |
const XnPoint3D | aRealWorld[], | |||
XnPoint3D | aProjective[] | |||
) | const [inline] |
Converts a list of points from projective coordinates to real world coordinates. For full details and usage, see xnConvertRealWorldToProjective
XnStatus xn::DepthGenerator::Create | ( | Context & | context, | |
Query * | pQuery = NULL , |
|||
EnumerationErrors * | pErrors = NULL | |||
) | [inline] |
Creates a depth generator. For full details and usage, see xnCreateDepthGenerator
const XnDepthPixel* xn::DepthGenerator::GetDepthMap | ( | ) | const [inline] |
Gets the current depth-map. This map is updated after a call to xnWaitAndUpdateData(). For full details and usage, see xnGetDepthMap
XnDepthPixel xn::DepthGenerator::GetDeviceMaxDepth | ( | ) | const [inline] |
Gets the maximum depth the device can produce. For full details and usage, see xnGetDeviceMaxDepth
XnStatus xn::DepthGenerator::GetFieldOfView | ( | XnFieldOfView & | FOV | ) | const [inline] |
Gets the Field-Of-View of the depth generator, in radians. For full details and usage, see xnGetDepthFieldOfView
void xn::DepthGenerator::GetMetaData | ( | DepthMetaData & | metaData | ) | const [inline] |
Gets the current depth-map meta data. For full details and usage, see xnGetDepthMetaData
UserPositionCapability xn::DepthGenerator::GetUserPositionCap | ( | ) | [inline] |
Gets an UserPositionCapability object for accessing User Position functionality. It is the application responsibility to check first if XN_CAPABILITY_USER_POSITION is supported by calling IsCapabilitySupported().
const UserPositionCapability xn::DepthGenerator::GetUserPositionCap | ( | ) | const [inline] |
Gets an UserPositionCapability object for accessing User Position functionality. It is the application responsibility to check first if XN_CAPABILITY_USER_POSITION is supported by calling IsCapabilitySupported().
XnStatus xn::DepthGenerator::RegisterToFieldOfViewChange | ( | StateChangedHandler | handler, | |
void * | pCookie, | |||
XnCallbackHandle & | hCallback | |||
) | [inline] |
Registers a callback function to field of view changes. For full details and usage, see xnRegisterToDepthFieldOfViewChange
void xn::DepthGenerator::UnregisterFromFieldOfViewChange | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregisters a callback function which was registered using xnRegisterToDepthFieldOfViewChange. For full details and usage, see xnUnregisterFromDepthFieldOfViewChange