Public Member Functions
xn::ImageGenerator Class Reference

#include <XnCppWrapper.h>

Inheritance diagram for xn::ImageGenerator:
Inheritance graph
[legend]

List of all members.

Public Member Functions

const XnGrayscale16PixelGetGrayscale16ImageMap () const
const XnGrayscale8PixelGetGrayscale8ImageMap () const
const XnUInt8GetImageMap () const
void GetMetaData (ImageMetaData &metaData) const
XnPixelFormat GetPixelFormat () const
const XnRGB24PixelGetRGB24ImageMap () const
const XnYUV422DoublePixelGetYUV422ImageMap () const
 ImageGenerator (XnNodeHandle hNode=NULL)
XnBool IsPixelFormatSupported (XnPixelFormat Format) const
XnStatus RegisterToPixelFormatChange (StateChangedHandler handler, void *pCookie, XnCallbackHandle &hCallback)
XnStatus SetPixelFormat (XnPixelFormat Format)
void UnregisterFromPixelFormatChange (XnCallbackHandle hCallback)
XnStatus Create (Context &context, Query *pQuery=NULL, EnumerationErrors *pErrors=NULL)

Detailed Description

Represents an image generator

Definition at line 2562 of file XnCppWrapper.h.


Constructor & Destructor Documentation

Ctor

Parameters:
hNode[in] Node handle

Definition at line 2570 of file XnCppWrapper.h.


Member Function Documentation

XnStatus xn::ImageGenerator::Create ( Context context,
Query pQuery = NULL,
EnumerationErrors pErrors = NULL 
) [inline]

Creates an image generator.

For full details and usage, see xnCreateImageGenerator

Definition at line 4579 of file XnCppWrapper.h.

Gets the current Grayscale16 image-map. This map is updated after a call to xnWaitAndUpdateData(). It is assumed that the node is currently in Grayscale16 pixel format.

For full details and usage, see xnGetGrayscale16ImageMap

Definition at line 2612 of file XnCppWrapper.h.

Gets the current Grayscale8 image-map. This map is updated after a call to xnWaitAndUpdateData(). It is assumed that the node is currently in Grayscale8 pixel format.

For full details and usage, see xnGetGrayscale8ImageMap

Definition at line 2604 of file XnCppWrapper.h.

const XnUInt8* xn::ImageGenerator::GetImageMap ( ) const [inline]

Gets the current image-map as a byte buffer.

For full details, see xnGetImageMap().

Definition at line 2620 of file XnCppWrapper.h.

void xn::ImageGenerator::GetMetaData ( ImageMetaData metaData) const [inline]

Gets the current image-map meta data.

For full details and usage, see xnGetImageMetaData

Definition at line 2580 of file XnCppWrapper.h.

Gets current pixel format.

For full details and usage, see xnGetPixelFormat

Definition at line 2644 of file XnCppWrapper.h.

Gets the current RGB24 image-map. This map is updated after a call to xnWaitAndUpdateData(). It is assumed that the node is currently in RGB24 pixel format.

For full details and usage, see xnGetRGB24ImageMap

Definition at line 2588 of file XnCppWrapper.h.

Gets the current YUV422 image-map. This map is updated after a call to xnWaitAndUpdateData(). It is assumed that the node is currently in YUV422 pixel format.

For full details and usage, see xnGetYUV422ImageMap

Definition at line 2596 of file XnCppWrapper.h.

Checks if a specific pixel format is supported.

For full details and usage, see xnIsPixelFormatSupported

Definition at line 2628 of file XnCppWrapper.h.

XnStatus xn::ImageGenerator::RegisterToPixelFormatChange ( StateChangedHandler  handler,
void pCookie,
XnCallbackHandle hCallback 
) [inline]

Registers a callback function to pixel format changes.

For full details and usage, see xnRegisterToPixelFormatChange

Definition at line 2652 of file XnCppWrapper.h.

Sets the pixel format of the image map.

For full details and usage, see xnSetPixelFormat

Definition at line 2636 of file XnCppWrapper.h.

Unregisters a callback function which was registered using xnRegisterToPixelFormatChange.

For full details and usage, see xnUnregisterFromPixelFormatChange

Definition at line 2660 of file XnCppWrapper.h.


The documentation for this class was generated from the following file:


nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:52