MrSID Decode SDK for Raster Reference Manual  9.0.0.3864
MrSIDImageReader.h
Go to the documentation of this file.
1 /* $Id$ */
2 /* //////////////////////////////////////////////////////////////////////////
3 // //
4 // This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue, //
5 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
6 // prohibited. Access to and use of this code is permitted only under //
7 // license from LizardTech, Inc. Portions of the code are protected by //
8 // US and foreign patents and other filings. All Rights Reserved. //
9 // //
11 /* PUBLIC */
12 
13 #ifndef MRSIDIMAGEREADER_H
14 #define MRSIDIMAGEREADER_H
15 
16 // lt_lib_mrsid_mrsidReader
17 #include "MrSIDImageReaderBase.h"
18 #include "lti_imageFilter.h"
19 
20 
21 LT_BEGIN_NAMESPACE(LizardTech)
22 
24 class LTIMosaicFilter;
25 class MG2ImageReader;
26 class MG3SingleImageReader;
27 class MG4SingleImageReader;
28 
37 {
39 public:
50  LT_STATUS initialize(const LTFileSpec& fileSpec,
51  bool useWorldFile = false,
54 
65  LT_STATUS initialize(LTIOStreamInf* stream,
66  LTIOStreamInf* worldFileStream = NULL,
69 
70  // LTIImageStage
71  virtual lt_int64 getEncodingCost(const LTIScene& scene) const;
72  virtual lt_uint32 getModifications(const LTIScene &scene) const;
73 
74  // MrSIDImageReaderInterface overrides
75  lt_uint8 getNumLevels(void) const;
76  bool isLocked(void) const;
77  void setMaxWorkerThreads(int numThreads);
78  int getMaxWorkerThreads() const;
79 
80  // for LizardTech internal use only
81  const MrSIDImageStageManager &getManager(void) const;
82  // for LizardTech internal use only
83  const LTIMosaicFilter *getMosaicFilter(void) const;
84  // for LizardTech internal use only
85  const MG2ImageReader *getMG2ImageReader(void) const;
86  // for LizardTech internal use only
87  const MG3SingleImageReader *getMG3ImageReader(void) const;
88  // for LizardTech internal use only
89  const MG4SingleImageReader *getMG4ImageReader(void) const;
90 
91 protected:
92  LT_STATUS protectedInit(LTIOStreamInf *worldfile,
93  bool deleteImages);
94 
95  MrSIDImageStageManager *m_manager;
96  LTIMosaicFilter *m_mosaicFilter;
99  bool m_isLocked;
100 };
101 
102 
103 LT_END_NAMESPACE(LizardTech)
104 
105 #endif // MRSIDIMAGEREADER_H
representation of a scene
Definition: lti_scene.h:64
Represents a file or directory path.
Definition: lt_fileSpec.h:33
#define LT_END_NAMESPACE(theNameSpace)
compiler does not support namespaces
Definition: lt_define.h:85
MrSIDMemoryUsage
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:39
create a single mosaicked image from a set of images
MrSIDImageStageManager * m_manager
abstract class for implementing an image transform
Abstract definition of a stream.
LTIMosaicFilter * m_mosaicFilter
base class for MrSID image readers
MrSIDStreamUsage
MrSIDSingleImageReaderBase * m_mrsidReader
reader for MrSID images (MG2, MG3 and MG4)
#define LT_BEGIN_NAMESPACE(theNameSpace)
compiler does not support namespaces
Definition: lt_define.h:84
#define LTI_REFERENCE_COUNTED_BOILERPLATE(classname)
unsigned int lt_uint32
unsigned 32-bit integer
Definition: lt_types.h:54
unsigned char lt_uint8
unsigned 8-bit integer
Definition: lt_types.h:46

LizardTech