OpenNI 1.3.2
|
#include <XnCppWrapper.h>
Public Member Functions | |
ImageMetaData () | |
void | InitFrom (const ImageMetaData &other) |
XnStatus | InitFrom (const ImageMetaData &other, XnUInt32 nXRes, XnUInt32 nYRes, XnPixelFormat format, const XnUInt8 *pExternalBuffer) |
XnStatus | AllocateData (XnUInt32 nXRes, XnUInt32 nYRes, XnPixelFormat format) |
XnStatus | CopyFrom (const ImageMetaData &other) |
XnStatus | ReAdjust (XnUInt32 nXRes, XnUInt32 nYRes, XnPixelFormat format, const XnUInt8 *pExternalBuffer=NULL) |
XnPixelFormat | PixelFormat () const |
XnPixelFormat & | PixelFormat () |
XnUInt8 * | WritableData () |
const XnRGB24Pixel * | RGB24Data () const |
const XnRGB24Pixel *& | RGB24Data () |
XnRGB24Pixel * | WritableRGB24Data () |
const XnYUV422DoublePixel * | YUV422Data () const |
const XnYUV422DoublePixel *& | YUV422Data () |
XnYUV422DoublePixel * | WritableYUV422Data () |
const XnGrayscale8Pixel * | Grayscale8Data () const |
const XnGrayscale8Pixel *& | Grayscale8Data () |
XnGrayscale8Pixel * | WritableGrayscale8Data () |
const XnGrayscale16Pixel * | Grayscale16Data () const |
const XnGrayscale16Pixel *& | Grayscale16Data () |
XnGrayscale16Pixel * | WritableGrayscale16Data () |
const xn::ImageMap & | ImageMap () const |
xn::ImageMap & | WritableImageMap () |
const xn::RGB24Map & | RGB24Map () const |
xn::RGB24Map & | WritableRGB24Map () |
const xn::Grayscale8Map & | Grayscale8Map () const |
xn::Grayscale8Map & | WritableGrayscale8Map () |
const xn::Grayscale16Map & | Grayscale16Map () const |
xn::Grayscale16Map & | WritableGrayscale16Map () |
const XnImageMetaData * | GetUnderlying () const |
XnImageMetaData * | GetUnderlying () |
![]() | |
MapMetaData (XnPixelFormat format, const XnUInt8 **ppData) | |
XnUInt32 | XRes () const |
XnUInt32 & | XRes () |
XnUInt32 | YRes () const |
XnUInt32 & | YRes () |
XnUInt32 | XOffset () const |
XnUInt32 & | XOffset () |
XnUInt32 | YOffset () const |
XnUInt32 & | YOffset () |
XnUInt32 | FullXRes () const |
XnUInt32 & | FullXRes () |
XnUInt32 | FullYRes () const |
XnUInt32 & | FullYRes () |
XnUInt32 | FPS () const |
XnUInt32 & | FPS () |
XnUInt32 | BytesPerPixel () const |
XnStatus | AllocateData (XnUInt32 nXRes, XnUInt32 nYRes) |
XnStatus | ReAdjust (XnUInt32 nXRes, XnUInt32 nYRes, const XnUInt8 *pExternalBuffer) |
![]() | |
OutputMetaData (const XnUInt8 **ppData) | |
virtual | ~OutputMetaData () |
XnUInt64 | Timestamp () const |
XnUInt64 & | Timestamp () |
XnUInt32 | FrameID () const |
XnUInt32 & | FrameID () |
XnUInt32 | DataSize () const |
XnUInt32 & | DataSize () |
XnBool | IsDataNew () const |
XnBool & | IsDataNew () |
const XnUInt8 * | Data () const |
const XnUInt8 *& | Data () |
XnStatus | AllocateData (XnUInt32 nBytes) |
void | Free () |
XnStatus | MakeDataWritable () |
Additional Inherited Members | |
![]() | |
XnPixelFormat & | PixelFormatImpl () |
![]() | |
XnUInt8 * | m_pAllocatedData |
Represents a MetaData object for generators producing image-maps.
|
inline |
Ctor.
|
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 |
|
inline |
Performs a deep-copy of another Meta Data object (including a duplication of the data buffer)
other | [in] source object |
|
inline |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
|
inline |
Gets the C object that is wrapped by this object.
Reimplemented from xn::MapMetaData.
|
inline |
Gets a pointer to the data.
|
inline |
Gets a pointer to the data.
|
inline |
Gets a light object wrapping the image-map.
|
inline |
Gets a pointer to the data.
|
inline |
Gets a pointer to the data.
|
inline |
Gets a light object wrapping the image-map.
|
inline |
Gets a light object wrapping the image-map.
|
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. |
|
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. |
|
inline |
Gets the pixel format.
Reimplemented from xn::MapMetaData.
|
inline |
Gets the pixel format.
|
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. |
|
inline |
Gets a pointer to the data.
|
inline |
Gets a pointer to the data.
|
inline |
Gets a light object wrapping the image-map.
|
inline |
Gets a pointer to the writable buffer (see Meta Data Objects).
Reimplemented from xn::OutputMetaData.
|
inline |
Gets a pointer to the writable buffer (see Meta Data Objects).
|
inline |
Gets a light object wrapping the writable image-map.
|
inline |
Gets a pointer to the writable buffer (see Meta Data Objects).
|
inline |
Gets a light object wrapping the writable image-map.
|
inline |
Gets a light object wrapping the writable image-map.
|
inline |
Gets a pointer to the writable buffer (see Meta Data Objects).
|
inline |
Gets a light object wrapping the writable image-map.
|
inline |
Gets a pointer to the writable buffer (see Meta Data Objects).
|
inline |
Gets a pointer to the data.
|
inline |
Gets a pointer to the data.