#include <XnCppWrapper.h>
Represents a MetaData object for generators producing image-maps.
Definition at line 538 of file XnCppWrapper.h.
xn::ImageMetaData::ImageMetaData | ( | ) | [inline] |
Ctor.
Definition at line 542 of file XnCppWrapper.h.
xn::ImageMetaData::ImageMetaData | ( | const ImageMetaData & | other | ) | [private] |
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.
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)
other | [in] source object |
Definition at line 608 of file XnCppWrapper.h.
const XnImageMetaData* xn::ImageMetaData::GetUnderlying | ( | ) | const [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
Definition at line 696 of file XnCppWrapper.h.
XnImageMetaData* xn::ImageMetaData::GetUnderlying | ( | ) | [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
Definition at line 698 of file XnCppWrapper.h.
const XnGrayscale16Pixel* xn::ImageMetaData::Grayscale16Data | ( | ) | const [inline] |
Gets a pointer to the data.
Definition at line 669 of file XnCppWrapper.h.
const XnGrayscale16Pixel*& xn::ImageMetaData::Grayscale16Data | ( | ) | [inline] |
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.
const XnGrayscale8Pixel* xn::ImageMetaData::Grayscale8Data | ( | ) | const [inline] |
Gets a pointer to the data.
Definition at line 662 of file XnCppWrapper.h.
const XnGrayscale8Pixel*& xn::ImageMetaData::Grayscale8Data | ( | ) | [inline] |
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.
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.
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] |
XnPixelFormat xn::ImageMetaData::PixelFormat | ( | ) | const [inline] |
Gets the pixel format.
Reimplemented from xn::MapMetaData.
Definition at line 640 of file XnCppWrapper.h.
XnPixelFormat& xn::ImageMetaData::PixelFormat | ( | ) | [inline] |
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] |
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.
const XnRGB24Pixel*& xn::ImageMetaData::RGB24Data | ( | ) | [inline] |
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.
XnUInt8* xn::ImageMetaData::WritableData | ( | ) | [inline] |
Gets a pointer to the writable buffer (see conc_meta_data).
Reimplemented from xn::OutputMetaData.
Definition at line 645 of file XnCppWrapper.h.
XnGrayscale16Pixel* xn::ImageMetaData::WritableGrayscale16Data | ( | ) | [inline] |
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.
XnGrayscale8Pixel* xn::ImageMetaData::WritableGrayscale8Data | ( | ) | [inline] |
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.
XnRGB24Pixel* xn::ImageMetaData::WritableRGB24Data | ( | ) | [inline] |
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.
XnYUV422DoublePixel* xn::ImageMetaData::WritableYUV422Data | ( | ) | [inline] |
Gets a pointer to the writable buffer (see conc_meta_data).
Definition at line 659 of file XnCppWrapper.h.
const XnYUV422DoublePixel* xn::ImageMetaData::YUV422Data | ( | ) | const [inline] |
Gets a pointer to the data.
Definition at line 655 of file XnCppWrapper.h.
const XnYUV422DoublePixel*& xn::ImageMetaData::YUV422Data | ( | ) | [inline] |
Gets a pointer to the data.
Definition at line 657 of file XnCppWrapper.h.
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.
XnImageMetaData xn::ImageMetaData::m_image [private] |
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.