OpenNI 1.0.0
|
#include <XnCppWrapper.h>
Public Member Functions | |
DepthGenerator (XnNodeHandle hNode=NULL) | |
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 |
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 |
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 xnConvertProjectiveToRealWorldXnStatus 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 xnConvertRealWorldToProjectiveXnStatus xn::DepthGenerator::Create | ( | Context & | context, |
Query * | pQuery = NULL , |
||
EnumerationErrors * | pErrors = NULL |
||
) | [inline] |
Creates a depth generator.
For full details and usage, see xnCreateDepthGeneratorconst 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 xnGetDepthMapXnDepthPixel xn::DepthGenerator::GetDeviceMaxDepth | ( | ) | const [inline] |
Gets the maximum depth the device can produce.
For full details and usage, see xnGetDeviceMaxDepthXnStatus xn::DepthGenerator::GetFieldOfView | ( | XnFieldOfView & | FOV | ) | const [inline] |
Gets the Field-Of-View of the depth generator, in radians.
For full details and usage, see xnGetDepthFieldOfViewvoid xn::DepthGenerator::GetMetaData | ( | DepthMetaData & | metaData | ) | const [inline] |
Gets the current depth-map meta data.
For full details and usage, see xnGetDepthMetaDataUserPositionCapability 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().
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 xnRegisterToDepthFieldOfViewChangevoid xn::DepthGenerator::UnregisterFromFieldOfViewChange | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregisters a callback function which was registered using xnRegisterToDepthFieldOfViewChange.
For full details and usage, see xnUnregisterFromDepthFieldOfViewChange