|
| MapGenerator (XnNodeHandle hNode=NULL) |
|
| MapGenerator (const NodeWrapper &other) |
|
XnUInt32 | GetSupportedMapOutputModesCount () const |
|
XnStatus | GetSupportedMapOutputModes (XnMapOutputMode *aModes, XnUInt32 &nCount) const |
|
XnStatus | SetMapOutputMode (const XnMapOutputMode &OutputMode) |
|
XnStatus | GetMapOutputMode (XnMapOutputMode &OutputMode) const |
|
XnUInt32 | GetBytesPerPixel () const |
|
XnStatus | RegisterToMapOutputModeChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback) |
|
void | UnregisterFromMapOutputModeChange (XnCallbackHandle hCallback) |
|
const CroppingCapability | GetCroppingCap () const |
|
CroppingCapability | GetCroppingCap () |
|
GeneralIntCapability | GetBrightnessCap () |
|
GeneralIntCapability | GetContrastCap () |
|
GeneralIntCapability | GetHueCap () |
|
GeneralIntCapability | GetSaturationCap () |
|
GeneralIntCapability | GetSharpnessCap () |
|
GeneralIntCapability | GetGammaCap () |
|
GeneralIntCapability | GetWhiteBalanceCap () |
|
GeneralIntCapability | GetBacklightCompensationCap () |
|
GeneralIntCapability | GetGainCap () |
|
GeneralIntCapability | GetPanCap () |
|
GeneralIntCapability | GetTiltCap () |
|
GeneralIntCapability | GetRollCap () |
|
GeneralIntCapability | GetZoomCap () |
|
GeneralIntCapability | GetExposureCap () |
|
GeneralIntCapability | GetIrisCap () |
|
GeneralIntCapability | GetFocusCap () |
|
GeneralIntCapability | GetLowLightCompensationCap () |
|
AntiFlickerCapability | GetAntiFlickerCap () |
|
| Generator (XnNodeHandle hNode=NULL) |
|
| Generator (const NodeWrapper &other) |
|
XnStatus | StartGenerating () |
|
XnBool | IsGenerating () const |
|
XnStatus | StopGenerating () |
|
XnStatus | RegisterToGenerationRunningChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback) |
|
void | UnregisterFromGenerationRunningChange (XnCallbackHandle hCallback) |
|
XnStatus | RegisterToNewDataAvailable (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback) |
|
void | UnregisterFromNewDataAvailable (XnCallbackHandle hCallback) |
|
XnBool | IsNewDataAvailable (XnUInt64 *pnTimestamp=NULL) const |
|
XnStatus | WaitAndUpdateData () |
|
XnBool | IsDataNew () const |
|
const void * | GetData () |
|
XnUInt32 | GetDataSize () const |
|
XnUInt64 | GetTimestamp () const |
|
XnUInt32 | GetFrameID () const |
|
const MirrorCapability | GetMirrorCap () const |
|
MirrorCapability | GetMirrorCap () |
|
const
AlternativeViewPointCapability | GetAlternativeViewPointCap () const |
|
AlternativeViewPointCapability | GetAlternativeViewPointCap () |
|
const FrameSyncCapability | GetFrameSyncCap () const |
|
FrameSyncCapability | GetFrameSyncCap () |
|
| ProductionNode (XnNodeHandle hNode=NULL) |
|
| ProductionNode (const NodeWrapper &other) |
|
NodeInfo | GetInfo () const |
|
XnStatus | AddNeededNode (ProductionNode &needed) |
|
XnStatus | RemoveNeededNode (ProductionNode &needed) |
|
void | GetContext (Context &context) const |
|
Context | GetContext () const |
|
XnBool | IsCapabilitySupported (const XnChar *strCapabilityName) const |
|
XnStatus | SetIntProperty (const XnChar *strName, XnUInt64 nValue) |
|
XnStatus | SetRealProperty (const XnChar *strName, XnDouble dValue) |
|
XnStatus | SetStringProperty (const XnChar *strName, const XnChar *strValue) |
|
XnStatus | SetGeneralProperty (const XnChar *strName, XnUInt32 nBufferSize, const void *pBuffer) |
|
XnStatus | GetIntProperty (const XnChar *strName, XnUInt64 &nValue) const |
|
XnStatus | GetRealProperty (const XnChar *strName, XnDouble &dValue) const |
|
XnStatus | GetStringProperty (const XnChar *strName, XnChar *csValue, XnUInt32 nBufSize) const |
|
XnStatus | GetGeneralProperty (const XnChar *strName, XnUInt32 nBufferSize, void *pBuffer) const |
|
XnStatus | LockForChanges (XnLockHandle *phLock) |
|
void | UnlockForChanges (XnLockHandle hLock) |
|
XnStatus | LockedNodeStartChanges (XnLockHandle hLock) |
|
void | LockedNodeEndChanges (XnLockHandle hLock) |
|
const ErrorStateCapability | GetErrorStateCap () const |
|
ErrorStateCapability | GetErrorStateCap () |
|
GeneralIntCapability | GetGeneralIntCap (const XnChar *strCapability) |
|
| NodeWrapper (XnNodeHandle hNode) |
|
| NodeWrapper (const NodeWrapper &other) |
|
NodeWrapper & | operator= (const NodeWrapper &other) |
|
| ~NodeWrapper () |
|
| operator XnNodeHandle () const |
|
XnNodeHandle | GetHandle () const |
|
XnBool | operator== (const NodeWrapper &other) |
|
XnBool | operator!= (const NodeWrapper &other) |
|
XnBool | IsValid () const |
|
const XnChar * | GetName () const |
|
XnStatus | AddRef () |
|
void | Release () |
|
void | SetHandle (XnNodeHandle hNode) |
|
void | TakeOwnership (XnNodeHandle hNode) |
|
Purpose: The MapGenerator class is the base class for every generator node that produces 2D map data, for example, depth maps, color image maps, IR maps, and scene analysis maps.
Usage: This class might be instantiated to reference any kind of map generator node (i.e., a node that derives from the MapGenerator class), however it is not intended to ever be instantiated to create any node of MapGenerator type itself.
Remarks:
Since the MapGenerator class is the base class for generator nodes that produce image maps, it provides the data structures common to all map generators: the current frame's X and Y dimensions and its frame rate.
MapGenerator's two principle functions are GetMapOutputMode() and SetMapOutputMode() for controlling and checking the node's map output mode. The map output mode is the combination of the node's scene resolution and frame rate. Correspondingly, these functions read and write an xn::XnMapOutputMode structure, comprising three parameters: the X and Y resolutions and the frame rate.
Gets the current map output mode of the generator node. This is the map output mode that the generator node will use to generate the next data frame.
Remarks
A map output mode is the combination of the scene resolution and frame rate. It is contained in an xn::XnMapOutputMode structure comprising the frame rate (in frames per second), and the X and Y dimensions (the number of elements in each of the X- and Y- axes).
For the map output mode of the most recent data frame available in the node's metadata object, see the xn::MapMetaData class (MapMetaData::Xres(), MapMetaData::YRes(), and MapMetaData::FPS() methods).
This map output mode is the mode set by SetMapOutputMode().