Public Member Functions | Private Member Functions | Private Attributes
xn::ImageMetaData Class Reference

#include <XnCppWrapper.h>

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

List of all members.

Public Member Functions

XnStatus AllocateData (XnUInt32 nXRes, XnUInt32 nYRes, XnPixelFormat format)
XnStatus CopyFrom (const ImageMetaData &other)
const XnImageMetaDataGetUnderlying () const
XnImageMetaDataGetUnderlying ()
const XnGrayscale16PixelGrayscale16Data () const
const XnGrayscale16Pixel *& Grayscale16Data ()
const xn::Grayscale16Map & Grayscale16Map () const
const XnGrayscale8PixelGrayscale8Data () const
const XnGrayscale8Pixel *& Grayscale8Data ()
const xn::Grayscale8Map & Grayscale8Map () const
const xn::ImageMap & ImageMap () const
 Gets a light object wrapping the image-map.
 ImageMetaData ()
 Ctor.
void InitFrom (const ImageMetaData &other)
XnStatus InitFrom (const ImageMetaData &other, XnUInt32 nXRes, XnUInt32 nYRes, XnPixelFormat format, const XnUInt8 *pExternalBuffer)
XnPixelFormat PixelFormat () const
 Gets the pixel format.
XnPixelFormatPixelFormat ()
 Gets the pixel format.
XnStatus ReAdjust (XnUInt32 nXRes, XnUInt32 nYRes, XnPixelFormat format, const XnUInt8 *pExternalBuffer=NULL)
const XnRGB24PixelRGB24Data () const
const XnRGB24Pixel *& RGB24Data ()
const xn::RGB24Map & RGB24Map () const
XnUInt8WritableData ()
XnGrayscale16PixelWritableGrayscale16Data ()
xn::Grayscale16Map & WritableGrayscale16Map ()
XnGrayscale8PixelWritableGrayscale8Data ()
xn::Grayscale8Map & WritableGrayscale8Map ()
xn::ImageMap & WritableImageMap ()
 Gets a light object wrapping the writable image-map.
XnRGB24PixelWritableRGB24Data ()
xn::RGB24Map & WritableRGB24Map ()
XnYUV422DoublePixelWritableYUV422Data ()
const XnYUV422DoublePixelYUV422Data () const
const XnYUV422DoublePixel *& YUV422Data ()

Private Member Functions

 ImageMetaData (const ImageMetaData &other)
ImageMetaDataoperator= (const ImageMetaData &)

Private Attributes

const xn::Grayscale16Map m_gray16Map
const xn::Grayscale8Map m_gray8Map
XnImageMetaData m_image
const xn::ImageMap m_imageMap
const xn::RGB24Map m_rgb24Map
xn::Grayscale16Map m_writableGray16Map
xn::Grayscale8Map m_writableGray8Map
xn::ImageMap m_writableImageMap
xn::RGB24Map m_writableRgb24Map

Detailed Description

Represents a MetaData object for generators producing image-maps.

Definition at line 538 of file XnCppWrapper.h.


Constructor & Destructor Documentation

Ctor.

Definition at line 542 of file XnCppWrapper.h.

xn::ImageMetaData::ImageMetaData ( const ImageMetaData other) [private]

Member Function Documentation

XnStatus xn::ImageMetaData::AllocateData ( XnUInt32  nXRes,
XnUInt32  nYRes,
XnPixelFormat  format 
) [inline]

Allocated a writable buffer. If a previous buffer was allocated it will be freed (or reused if possible). Also see conc_meta_data.

Parameters:
nXRes[in] Requested number of columns in the map
nYRes[in] Requested number of rows in the map
format[in] Requested pixel format

Definition at line 593 of file XnCppWrapper.h.

XnStatus xn::ImageMetaData::CopyFrom ( const ImageMetaData other) [inline]

Performs a deep-copy of another Meta Data object (including a duplication of the data buffer)

Parameters:
other[in] source object

Definition at line 608 of file XnCppWrapper.h.

Gets the C object that is wrapped by this object.

Reimplemented from xn::MapMetaData.

Definition at line 696 of file XnCppWrapper.h.

Gets the C object that is wrapped by this object.

Reimplemented from xn::MapMetaData.

Definition at line 698 of file XnCppWrapper.h.

Gets a pointer to the data.

Definition at line 669 of file XnCppWrapper.h.

Gets a pointer to the data.

Definition at line 671 of file XnCppWrapper.h.

const xn::Grayscale16Map& xn::ImageMetaData::Grayscale16Map ( ) const [inline]

Gets a light object wrapping the image-map.

Definition at line 691 of file XnCppWrapper.h.

Gets a pointer to the data.

Definition at line 662 of file XnCppWrapper.h.

Gets a pointer to the data.

Definition at line 664 of file XnCppWrapper.h.

const xn::Grayscale8Map& xn::ImageMetaData::Grayscale8Map ( ) const [inline]

Gets a light object wrapping the image-map.

Definition at line 686 of file XnCppWrapper.h.

const xn::ImageMap& xn::ImageMetaData::ImageMap ( ) const [inline]

Gets a light object wrapping the image-map.

Definition at line 676 of file XnCppWrapper.h.

void xn::ImageMetaData::InitFrom ( const ImageMetaData other) [inline]

Shallow-Copies an Image Meta Data object. Note that the data buffer is not copied, and that both object will point to the same buffer.

Parameters:
other[in] source object.

Definition at line 562 of file XnCppWrapper.h.

XnStatus xn::ImageMetaData::InitFrom ( const ImageMetaData other,
XnUInt32  nXRes,
XnUInt32  nYRes,
XnPixelFormat  format,
const XnUInt8 pExternalBuffer 
) [inline]

Shallow copies another Image Meta Data object, and then ReAdjust it.

Parameters:
other[in] source object
nXRes[in] requested number of columns in the map
nYRes[in] requested number of rows in the map
format[in] requested pixel format
pExternalBuffer[in] Optional. An external buffer matching requested resolution. If NULL, A buffer will be allocated.

Definition at line 577 of file XnCppWrapper.h.

ImageMetaData& xn::ImageMetaData::operator= ( const ImageMetaData ) [private]

Gets the pixel format.

Reimplemented from xn::MapMetaData.

Definition at line 640 of file XnCppWrapper.h.

Gets the pixel format.

Definition at line 642 of file XnCppWrapper.h.

XnStatus xn::ImageMetaData::ReAdjust ( XnUInt32  nXRes,
XnUInt32  nYRes,
XnPixelFormat  format,
const XnUInt8 pExternalBuffer = NULL 
) [inline]
Parameters:
nXRes[in] Requested number of columns in the map
nYRes[in] Requested number of rows in the map
format[in] Requested pixel format
pExternalBuffer[in] Optional. An external buffer to be used. If NULL is passed, a buffer will be allocated.

Definition at line 625 of file XnCppWrapper.h.

const XnRGB24Pixel* xn::ImageMetaData::RGB24Data ( ) const [inline]

Gets a pointer to the data.

Definition at line 648 of file XnCppWrapper.h.

Gets a pointer to the data.

Definition at line 650 of file XnCppWrapper.h.

const xn::RGB24Map& xn::ImageMetaData::RGB24Map ( ) const [inline]

Gets a light object wrapping the image-map.

Definition at line 681 of file XnCppWrapper.h.

Gets a pointer to the writable buffer (see conc_meta_data).

Reimplemented from xn::OutputMetaData.

Definition at line 645 of file XnCppWrapper.h.

Gets a pointer to the writable buffer (see conc_meta_data).

Definition at line 673 of file XnCppWrapper.h.

xn::Grayscale16Map& xn::ImageMetaData::WritableGrayscale16Map ( ) [inline]

Gets a light object wrapping the writable image-map.

Definition at line 693 of file XnCppWrapper.h.

Gets a pointer to the writable buffer (see conc_meta_data).

Definition at line 666 of file XnCppWrapper.h.

xn::Grayscale8Map& xn::ImageMetaData::WritableGrayscale8Map ( ) [inline]

Gets a light object wrapping the writable image-map.

Definition at line 688 of file XnCppWrapper.h.

xn::ImageMap& xn::ImageMetaData::WritableImageMap ( ) [inline]

Gets a light object wrapping the writable image-map.

Definition at line 678 of file XnCppWrapper.h.

Gets a pointer to the writable buffer (see conc_meta_data).

Definition at line 652 of file XnCppWrapper.h.

xn::RGB24Map& xn::ImageMetaData::WritableRGB24Map ( ) [inline]

Gets a light object wrapping the writable image-map.

Definition at line 683 of file XnCppWrapper.h.

Gets a pointer to the writable buffer (see conc_meta_data).

Definition at line 659 of file XnCppWrapper.h.

Gets a pointer to the data.

Definition at line 655 of file XnCppWrapper.h.

Gets a pointer to the data.

Definition at line 657 of file XnCppWrapper.h.


Member Data Documentation

const xn::Grayscale16Map xn::ImageMetaData::m_gray16Map [private]

Definition at line 710 of file XnCppWrapper.h.

const xn::Grayscale8Map xn::ImageMetaData::m_gray8Map [private]

Definition at line 712 of file XnCppWrapper.h.

Definition at line 705 of file XnCppWrapper.h.

const xn::ImageMap xn::ImageMetaData::m_imageMap [private]

Definition at line 706 of file XnCppWrapper.h.

const xn::RGB24Map xn::ImageMetaData::m_rgb24Map [private]

Definition at line 708 of file XnCppWrapper.h.

xn::Grayscale16Map xn::ImageMetaData::m_writableGray16Map [private]

Definition at line 711 of file XnCppWrapper.h.

xn::Grayscale8Map xn::ImageMetaData::m_writableGray8Map [private]

Definition at line 713 of file XnCppWrapper.h.

xn::ImageMap xn::ImageMetaData::m_writableImageMap [private]

Definition at line 707 of file XnCppWrapper.h.

xn::RGB24Map xn::ImageMetaData::m_writableRgb24Map [private]

Definition at line 709 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