#include <gfx_image_storage_deepimage.h>
Extends PixelConstBuffer with the count of samples per pixel for depth pixel buffers. this structure is only valid if SETPIXELHANDLERFLAGS::DEPTH and SETPIXELFLAGS::DEPTH is given.
公共成员函数 |
|
| DeepImagePixelConstBuffer (const UInt32 *counts, const Pix *buffer, BITS inc) | |
Public Member Functions inherited from
PixelConstBuffer
|
|
| PixelConstBuffer ()=default | |
| PixelConstBuffer (const PixelConstBuffer & src ) | |
| PixelConstBuffer (const PixelConstBuffer & src , Int offset) | |
| PixelConstBuffer (const Pix *buffer, BITS inc) | |
| PixelConstBuffer & | operator= (const PixelConstBuffer & src ) |
Public Attributes |
|
| const UInt32 * | _counts |
Public Attributes inherited from
PixelConstBuffer
|
|
| const Pix * | _buffer |
| BITS | _inc |
Additional Inherited Members |
|
Public Types inherited from
PixelConstBuffer
|
|
| using | PIXELTYPE = const Pix |
| DeepImagePixelConstBuffer | ( | const UInt32 * | counts , |
| const Pix * | buffer , | ||
| BITS | inc | ||
| ) |
DeepImagePixelConstBuffer constructor. The following example illustrates how the data needs to be delivered.
UInt32 sampleCounts[2] = { 2, 1 }; Pix8u greyPixelData[3] = { pixel1.1, pixel1.2, pixel2.1 }; DeepImagePixelConstBuffer buffer(sampleCounts, greyPixelData, sizeof ( Pix8u ));| [in] | counts | Pointer to a memory block with the number of samples per pixel. The array needs to be as long as the number of requested pixel. |
| [in] | buffer | Pointer to the memory block with the pixel data. Each pixel needs exactly the number of samples defined in "counts". |
| [in] | inc | Pixel offset between 2 samples. |
| const UInt32 * _counts |