MrSID Decode SDK for Raster Reference Manual  9.5.1.4427
lti_imageStageManager.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 LTI_IMAGESTAGEMANAGER_H
14 #define LTI_IMAGESTAGEMANAGER_H
15 
16 // lt_lib_mrsid_core
17 #include "lti_imageStage.h"
18 
19 
20 LT_BEGIN_NAMESPACE(LizardTech)
21 
22 
34 {
36 public:
46  virtual LT_STATUS createImageProps(lt_uint32 imageNumber,
47  LTIImage *&imageProps);
48 
58  // HACK to get SWIG working
59 #ifndef SWIG
60  virtual LT_STATUS createImageStage(lt_uint32 imageNumber,
61  LTIImageStage *&imageStage);
62 #endif
63  virtual LTIImageStage *createImageStage(lt_uint32 imageNumber);
64 
68  lt_uint32 getNumImages(void) const;
69 
77  virtual LT_STATUS createOverviewImageStage(LTIImageStage *&imageStage);
78 
79 protected:
83  virtual void setNumImages(lt_uint32 numImages);
84 
85 private:
86  lt_uint32 m_numImages;
87 };
88 
89 #ifndef DOXYGEN_EXCLUDE
90 
91 class LTIImageStageManager2 : public LTIImageStageManager
92 {
93  LTI_REFERENCE_COUNTED_BOILERPLATE_BASE(LTIImageStageManager2);
94 public:
95  // HACK to get SWIG working
96 #ifndef SWIG
97 
103  virtual LT_STATUS getImageName(lt_uint32 imageNumber,
104  LTFileSpec &imageName);
105 
112  virtual LT_STATUS getSupportFileBaseName(lt_uint32 imageNumber,
113  LTFileSpec &baseName);
114 #endif
115  virtual LTFileSpec getImageName(lt_uint32 imageNumber);
116  virtual LTFileSpec getSupportFileBaseName(lt_uint32 imageNumber);
117 
118 protected:
119  virtual void setNumImages(lt_uint32 numImages)
120  {
122  }
123 
124 };
125 
126 #endif
127 
128 LT_END_NAMESPACE(LizardTech)
129 
130 #endif // LTI_IMAGESTAGEMANAGER_H

LizardTech