#include <XnCppWrapper.h>
Public Member Functions | |
XnStatus | ConvertProjectiveToRealWorld (XnUInt32 nCount, const XnPoint3D aProjective[], XnPoint3D aRealWorld[]) const |
XnStatus | ConvertRealWorldToProjective (XnUInt32 nCount, const XnPoint3D aRealWorld[], XnPoint3D aProjective[]) const |
DepthGenerator (XnNodeHandle hNode=NULL) | |
const XnDepthPixel * | GetDepthMap () const |
XnDepthPixel | GetDeviceMaxDepth () const |
XnStatus | GetFieldOfView (XnFieldOfView &FOV) const |
void | GetMetaData (DepthMetaData &metaData) const |
UserPositionCapability | GetUserPositionCap () |
XnStatus | RegisterToFieldOfViewChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback) |
void | UnregisterFromFieldOfViewChange (XnCallbackHandle hCallback) |
XnStatus | Create (Context &context, Query *pQuery=NULL, EnumerationErrors *pErrors=NULL) |
Represents a depth generator.
Definition at line 2407 of file XnCppWrapper.h.
xn::DepthGenerator::DepthGenerator | ( | XnNodeHandle | hNode = NULL | ) | [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 xnConvertProjectiveToRealWorldDefinition at line 2473 of file XnCppWrapper.h.
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 xnConvertRealWorldToProjectiveDefinition at line 2481 of file XnCppWrapper.h.
XnStatus xn::DepthGenerator::Create | ( | Context & | context, |
Query * | pQuery = NULL , |
||
EnumerationErrors * | pErrors = NULL |
||
) | [inline] |
Creates a depth generator.
For full details and usage, see xnCreateDepthGeneratorDefinition at line 4562 of file XnCppWrapper.h.
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 xnGetDepthMapDefinition at line 2433 of file XnCppWrapper.h.
XnDepthPixel xn::DepthGenerator::GetDeviceMaxDepth | ( | ) | const [inline] |
Gets the maximum depth the device can produce.
For full details and usage, see xnGetDeviceMaxDepthDefinition at line 2441 of file XnCppWrapper.h.
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 xnGetDepthFieldOfViewDefinition at line 2449 of file XnCppWrapper.h.
void xn::DepthGenerator::GetMetaData | ( | DepthMetaData & | metaData | ) | const [inline] |
Gets the current depth-map meta data.
For full details and usage, see xnGetDepthMetaDataDefinition at line 2425 of file XnCppWrapper.h.
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().
Definition at line 2491 of file XnCppWrapper.h.
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 xnRegisterToDepthFieldOfViewChangeDefinition at line 2457 of file XnCppWrapper.h.
void xn::DepthGenerator::UnregisterFromFieldOfViewChange | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregisters a callback function which was registered using xnRegisterToDepthFieldOfViewChange.
For full details and usage, see xnUnregisterFromDepthFieldOfViewChangeDefinition at line 2465 of file XnCppWrapper.h.