MrSID Decode SDK for Raster Reference Manual 9.5.5.5244
MrSIDImageReader.h
Go to the documentation of this file.
1//
2// This code is property of Celartem, Inc dba Extensis.
3// Copyright (c) 1995-2023. All rights reserved.
4// Use permitted only under license from Extensis.
5//
6/* PUBLIC */
7
8#ifndef MRSIDIMAGEREADER_H
9#define MRSIDIMAGEREADER_H
10
11// lt_lib_mrsid_mrsidReader
13#include "lti_imageFilter.h"
14
15
16LT_BEGIN_LIZARDTECH_NAMESPACE
17
19class LTIMosaicFilter;
20class MG2ImageReader;
21class MG3SingleImageReader;
22class MG4SingleImageReader;
23
32{
34public:
46 bool useWorldFile = false,
49
61 LTIOStreamInf* worldFileStream = nullptr,
64
65 // LTIImageStage
66 virtual lt_int64 getEncodingCost(const LTIScene& scene) const;
67 virtual lt_uint32 getModifications(const LTIScene &scene) const;
68
69 // MrSIDImageReaderInterface overrides
71 bool isLocked(void) const;
72 void setMaxWorkerThreads(int numThreads);
74
75 // for LizardTech internal use only
77 // for LizardTech internal use only
78 const LTIMosaicFilter *getMosaicFilter(void) const;
79 // for LizardTech internal use only
80 const MG2ImageReader *getMG2ImageReader(void) const;
81 // for LizardTech internal use only
82 const MG3SingleImageReader *getMG3ImageReader(void) const;
83 // for LizardTech internal use only
84 const MG4SingleImageReader *getMG4ImageReader(void) const;
85
86protected:
88 bool deleteImages);
89
95};
96
97
98LT_END_LIZARDTECH_NAMESPACE
99
100#endif // MRSIDIMAGEREADER_H
#define LTI_REFERENCE_COUNTED_BOILERPLATE(classname)
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:30
unsigned char lt_uint8
unsigned 8-bit integer
Definition: lt_types.h:36
unsigned int lt_uint32
unsigned 32-bit integer
Definition: lt_types.h:44
long long int lt_int64
signed 64-bit integer
Definition: lt_types.h:57
MrSIDStreamUsage
@ MRSID_STREAM_USAGE_DEFAULT
MrSIDMemoryUsage
@ MRSID_MEMORY_USAGE_DEFAULT
Represents a file or directory path.
Definition: lt_fileSpec.h:35
Abstract definition of a stream.
abstract class for implementing an image transform
create a single mosaicked image from a set of images
representation of a scene
Definition: lti_scene.h:60
reader for MrSID images (MG2, MG3 and MG4)
void setMaxWorkerThreads(int numThreads)
set the maximum number of worker threads
bool isLocked(void) const
image encryption query
virtual lt_uint32 getModifications(const LTIScene &scene) const
get the modification bitfield for this image
int getMaxWorkerThreads() const
get the maximum number of worker threads
MrSIDImageStageManager * m_manager
lt_uint8 getNumLevels(void) const
get number of resolution levels
LTIMosaicFilter * m_mosaicFilter
LT_STATUS initialize(const LTFileSpec &fileSpec, bool useWorldFile=false, MrSIDMemoryUsage memoryUsage=MRSID_MEMORY_USAGE_DEFAULT, MrSIDStreamUsage streamUsage=MRSID_STREAM_USAGE_DEFAULT)
initializer
LT_STATUS initialize(LTIOStreamInf *stream, LTIOStreamInf *worldFileStream=nullptr, MrSIDMemoryUsage memoryUsage=MRSID_MEMORY_USAGE_DEFAULT, MrSIDStreamUsage streamUsage=MRSID_STREAM_USAGE_DEFAULT)
initializer
const MG3SingleImageReader * getMG3ImageReader(void) const
const MG2ImageReader * getMG2ImageReader(void) const
const LTIMosaicFilter * getMosaicFilter(void) const
virtual lt_int64 getEncodingCost(const LTIScene &scene) const
get the cost to encode this scene
const MG4SingleImageReader * getMG4ImageReader(void) const
MrSIDSingleImageReaderBase * m_mrsidReader
LT_STATUS protectedInit(LTIOStreamInf *worldfile, bool deleteImages)
const MrSIDImageStageManager & getManager(void) const
base class for MrSID image readers

Extensis