|
libCZI
Reading CZI documents made easy
|
This interface is used to represent the CZI-file. More...
#include <libCZI.h>
Public Member Functions | |
| virtual void | Open (std::shared_ptr< IStream > stream)=0 |
| virtual std::shared_ptr< IMetadataSegment > | ReadMetadataSegment ()=0 |
| virtual std::shared_ptr< IAccessor > | CreateAccessor (AccessorType accessorType)=0 |
| virtual void | Close ()=0 |
| std::shared_ptr< ISingleChannelTileAccessor > | CreateSingleChannelTileAccessor () |
| std::shared_ptr< ISingleChannelPyramidLayerTileAccessor > | CreateSingleChannelPyramidLayerTileAccessor () |
| std::shared_ptr< ISingleChannelScalingTileAccessor > | CreateSingleChannelScalingTileAccessor () |
Public Member Functions inherited from libCZI::ISubBlockRepository | |
| virtual void | EnumerateSubBlocks (std::function< bool(int index, const SubBlockInfo &info)> funcEnum)=0 |
| virtual void | EnumSubset (const IDimCoordinate *planeCoordinate, const IntRect *roi, bool onlyLayer0, std::function< bool(int index, const SubBlockInfo &info)> funcEnum)=0 |
| virtual std::shared_ptr< ISubBlock > | ReadSubBlock (int index)=0 |
| virtual bool | TryGetSubBlockInfoOfArbitrarySubBlockInChannel (int channelIndex, SubBlockInfo &info)=0 |
| virtual SubBlockStatistics | GetStatistics ()=0 |
| virtual PyramidStatistics | GetPyramidStatistics ()=0 |
Public Member Functions inherited from libCZI::IAttachmentRepository | |
| virtual void | EnumerateAttachments (std::function< bool(int index, const AttachmentInfo &info)> funcEnum)=0 |
| virtual void | EnumerateSubset (const char *contentFileType, const char *name, std::function< bool(int index, const AttachmentInfo &infi)> funcEnum)=0 |
| virtual std::shared_ptr< IAttachment > | ReadAttachment (int index)=0 |
This interface is used to represent the CZI-file.
|
pure virtual |
Closes CZI-reader. The underlying stream-object will be released, and further calls to other methods will fail. The stream is also closed when the object is destroyed, so it is usually not neccesary to explitely call Close. Also, take care that the ownership of the class must be defined when calling Close.
|
pure virtual |
Creates an accessor for the sub-blocks. See also the various typed methods: CreateSingleChannelTileAccessor, CreateSingleChannelPyramidLayerTileAccessor and CreateSingleChannelScalingTileAccessor.
| accessorType | The type of the accessor. |
|
inline |
Creates a single channel pyramid-layer accessor.
|
inline |
Creates a single channel scaling tile accessor.
|
inline |
Creates a single channel tile accessor.
|
pure virtual |
Opens the specified stream and reads the global information from the CZI-document. The stream passed in will have its refcount incremented, a reference is held until Close is called (or the instance is destroyed).
| stream | The stream object. |
|
pure virtual |
Reads the metadata segment from the stream.