Struct AddSubBlockInfoLinewiseBitmap#
Defined in File libCZI_Write.h
Inheritance Relationships#
Base Type#
public libCZI::AddSubBlockInfoBase
(Struct AddSubBlockInfoBase)
Struct Documentation#
-
struct AddSubBlockInfoLinewiseBitmap : public libCZI::AddSubBlockInfoBase#
This struct defines the data to be added to the subblock segment. This variant uses a callback-function in order to supply the writer with the bitmap-data, which will be called for every line of the bitmap.
Public Functions
-
inline AddSubBlockInfoLinewiseBitmap()#
Default constructor.
-
inline virtual void Clear() override#
Clears this object to its blank/initial state.
Public Members
-
std::function<const void*(int line)> getBitmapLine#
This functor will be called for every line, i.e. the parameter line will count from 0 to physicalHeight-1. The pointer returned by this function must be valid until the next call into the functor (or returning from the ‘SyncAddSubBlock’ method).
-
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).
-
inline AddSubBlockInfoLinewiseBitmap()#