libCZI
Reading and Writing CZI documents made easy
|
#include <libCZI_Write.h>
Public Member Functions | |
AddSubBlockInfoMemPtr () | |
Default constructor. | |
void | Clear () override |
Clears this object to its blank/initial state. | |
Public Member Functions inherited from libCZI::AddSubBlockInfoBase | |
AddSubBlockInfoBase () | |
Default constructor. | |
void | SetCompressionMode (libCZI::CompressionMode m) |
libCZI::CompressionMode | GetCompressionMode () const |
Public Attributes | |
const void * | ptrData |
Pointer to the data to be put into the subblock. | |
std::uint32_t | dataSize |
The size of the data in bytes. If this is 0, then ptrSbBlkMetadata is not used (and no sub-block-data written). | |
const void * | ptrSbBlkMetadata |
Pointer to the subblock-metadata. | |
std::uint32_t | sbBlkMetadataSize |
The size of the subblock-metadata in bytes. If this is 0, then ptrSbBlkMetadata is not used (and no sub-block-metadata written). | |
const void * | ptrSbBlkAttachment |
Pointer to the subblock-attachment. | |
std::uint32_t | sbBlkAttachmentSize |
The size of the subblock-attachment in bytes. If this is 0, then ptrSbBlkMetadata is not used (and no sub-block-metadata written). | |
Public Attributes inherited from libCZI::AddSubBlockInfoBase | |
libCZI::CDimCoordinate | coordinate |
The subblock's coordinate. | |
bool | mIndexValid |
Whether the field 'mIndex' is valid;. | |
int | mIndex |
The M-index of the subblock. | |
int | x |
The x-coordinate of the subblock. | |
int | y |
The x-coordinate of the subblock. | |
int | logicalWidth |
The logical with of the subblock (in pixels). | |
int | logicalHeight |
The logical height of the subblock (in pixels). | |
int | physicalWidth |
The physical with of the subblock (in pixels). | |
int | physicalHeight |
The physical height of the subblock (in pixels). | |
libCZI::PixelType | PixelType |
The pixel type of the subblock. | |
libCZI::SubBlockPyramidType | pyramid_type |
std::int32_t | compressionModeRaw |
This struct defines the data to be added to the subblock segment. Unused entries (e.g. no subblock-metadata) must have a size of 0. This variant is used if the data is readily available in contiguous memory. Note that for an uncompressed bitmap, the stride must be exactly width*bytes_per_pixel.
|
inlineoverridevirtual |
Clears this object to its blank/initial state.
Reimplemented from libCZI::AddSubBlockInfoBase.