#include <XnCppWrapper.h>
Public Member Functions | |
CroppingCapability | GetCroppingCap () |
XnStatus | GetMapOutputMode (XnMapOutputMode &OutputMode) const |
XnStatus | GetSupportedMapOutputModes (XnMapOutputMode *aModes, XnUInt32 &nCount) const |
XnUInt32 | GetSupportedMapOutputModesCount () const |
MapGenerator (XnNodeHandle hNode=NULL) | |
XnStatus | RegisterToMapOutputModeChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback) |
XnStatus | SetMapOutputMode (const XnMapOutputMode &OutputMode) |
void | UnregisterFromMapOutputModeChange (XnCallbackHandle hCallback) |
Base class for Map Generators
Definition at line 2279 of file XnCppWrapper.h.
xn::MapGenerator::MapGenerator | ( | XnNodeHandle | hNode = NULL | ) | [inline] |
CroppingCapability xn::MapGenerator::GetCroppingCap | ( | ) | [inline] |
Gets an CroppingCapability object for accessing Cropping functionality. It is the application responsibility to check first if XN_CAPABILITY_CROPPING is supported by calling IsCapabilitySupported().
Definition at line 2342 of file XnCppWrapper.h.
XnStatus xn::MapGenerator::GetMapOutputMode | ( | XnMapOutputMode & | OutputMode | ) | const [inline] |
Gets the current output mode.
For full details and usage, see xnGetMapOutputModeDefinition at line 2316 of file XnCppWrapper.h.
XnStatus xn::MapGenerator::GetSupportedMapOutputModes | ( | XnMapOutputMode * | aModes, |
XnUInt32 & | nCount | ||
) | const [inline] |
Gets a list of all supported modes. The size of the array that should be passed can be obtained by calling xnGetSupportedMapOutputModesCount().
For full details and usage, see xnGetSupportedMapOutputModesDefinition at line 2300 of file XnCppWrapper.h.
XnUInt32 xn::MapGenerator::GetSupportedMapOutputModesCount | ( | ) | const [inline] |
Gets the number of supported modes. This is useful for allocating an array that will be passed to xnGetSupportedMapOutputModes().
For full details and usage, see xnGetSupportedMapOutputModesCountDefinition at line 2292 of file XnCppWrapper.h.
XnStatus xn::MapGenerator::RegisterToMapOutputModeChange | ( | StateChangedHandler | handler, |
void * | pCookie, | ||
XnCallbackHandle & | hCallback | ||
) | [inline] |
Registers a callback function to mode changes.
For full details and usage, see xnRegisterToMapOutputModeChangeDefinition at line 2324 of file XnCppWrapper.h.
XnStatus xn::MapGenerator::SetMapOutputMode | ( | const XnMapOutputMode & | OutputMode | ) | [inline] |
Sets the output mode.
For full details and usage, see xnSetMapOutputModeDefinition at line 2308 of file XnCppWrapper.h.
void xn::MapGenerator::UnregisterFromMapOutputModeChange | ( | XnCallbackHandle | hCallback | ) | [inline] |
Unregisters a callback function which was registered using xnRegisterToMapOutputModeChange.
For full details and usage, see xnUnregisterFromMapOutputModeChangeDefinition at line 2332 of file XnCppWrapper.h.