![]() |
OpenNI 1.5.2
|
#include <XnCppWrapper.h>
Represents a MetaData object for generators producing image-maps.
xn::ImageMetaData::ImageMetaData | ( | ) | [inline] |
Ctor.
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 Meta Data Objects.
nXRes | [in] Requested number of columns in the map |
nYRes | [in] Requested number of rows in the map |
format | [in] Requested pixel format |
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 |
const XnImageMetaData* xn::ImageMetaData::GetUnderlying | ( | ) | const [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
XnImageMetaData* xn::ImageMetaData::GetUnderlying | ( | ) | [inline] |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
const XnGrayscale16Pixel* xn::ImageMetaData::Grayscale16Data | ( | ) | const [inline] |
Gets a pointer to the data.
const XnGrayscale16Pixel*& xn::ImageMetaData::Grayscale16Data | ( | ) | [inline] |
Gets a pointer to the data.
const xn::Grayscale16Map& xn::ImageMetaData::Grayscale16Map | ( | ) | const [inline] |
Gets a light object wrapping the image-map.
const XnGrayscale8Pixel* xn::ImageMetaData::Grayscale8Data | ( | ) | const [inline] |
Gets a pointer to the data.
const XnGrayscale8Pixel*& xn::ImageMetaData::Grayscale8Data | ( | ) | [inline] |
Gets a pointer to the data.
const xn::Grayscale8Map& xn::ImageMetaData::Grayscale8Map | ( | ) | const [inline] |
Gets a light object wrapping the image-map.
const xn::ImageMap& xn::ImageMetaData::ImageMap | ( | ) | const [inline] |
Gets a light object wrapping the image-map.
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. |
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. |
XnPixelFormat xn::ImageMetaData::PixelFormat | ( | ) | const [inline] |
Gets the pixel format.
Reimplemented from xn::MapMetaData.
XnPixelFormat& xn::ImageMetaData::PixelFormat | ( | ) | [inline] |
Gets the pixel format.
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. |
const XnRGB24Pixel* xn::ImageMetaData::RGB24Data | ( | ) | const [inline] |
Gets a pointer to the data.
const XnRGB24Pixel*& xn::ImageMetaData::RGB24Data | ( | ) | [inline] |
Gets a pointer to the data.
const xn::RGB24Map& xn::ImageMetaData::RGB24Map | ( | ) | const [inline] |
Gets a light object wrapping the image-map.
XnUInt8* xn::ImageMetaData::WritableData | ( | ) | [inline] |
Gets a pointer to the writable buffer (see Meta Data Objects).
Reimplemented from xn::OutputMetaData.
XnGrayscale16Pixel* xn::ImageMetaData::WritableGrayscale16Data | ( | ) | [inline] |
Gets a pointer to the writable buffer (see Meta Data Objects).
xn::Grayscale16Map& xn::ImageMetaData::WritableGrayscale16Map | ( | ) | [inline] |
Gets a light object wrapping the writable image-map.
XnGrayscale8Pixel* xn::ImageMetaData::WritableGrayscale8Data | ( | ) | [inline] |
Gets a pointer to the writable buffer (see Meta Data Objects).
xn::Grayscale8Map& xn::ImageMetaData::WritableGrayscale8Map | ( | ) | [inline] |
Gets a light object wrapping the writable image-map.
xn::ImageMap& xn::ImageMetaData::WritableImageMap | ( | ) | [inline] |
Gets a light object wrapping the writable image-map.
XnRGB24Pixel* xn::ImageMetaData::WritableRGB24Data | ( | ) | [inline] |
Gets a pointer to the writable buffer (see Meta Data Objects).
xn::RGB24Map& xn::ImageMetaData::WritableRGB24Map | ( | ) | [inline] |
Gets a light object wrapping the writable image-map.
XnYUV422DoublePixel* xn::ImageMetaData::WritableYUV422Data | ( | ) | [inline] |
Gets a pointer to the writable buffer (see Meta Data Objects).
const XnYUV422DoublePixel* xn::ImageMetaData::YUV422Data | ( | ) | const [inline] |
Gets a pointer to the data.
const XnYUV422DoublePixel*& xn::ImageMetaData::YUV422Data | ( | ) | [inline] |
Gets a pointer to the data.