MrSID Decode SDK for Raster Reference Manual  9.5.1.4427
lti_types.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 - C*/
12 
13 #ifndef LTI_TYPES_H
14 #define LTI_TYPES_H
15 
16 #include "lt_base.h"
17 #include <stddef.h> // NULL
18 
19 
20 
21 #ifdef LT_CPLUSPLUS
22 extern "C" {
23 #endif
24 
38 typedef enum LTIColorSpace
39 {
43 
44  // 1-banded colorspaces
49 
50  // 3-banded colorspaces
51  LTI_COLORSPACE_RGB = 0x000301,
52  LTI_COLORSPACE_CMY = 0x000302,
53  LTI_COLORSPACE_YIQ = 0x000303,
60 
61  // 4-banded colorspaces
62  LTI_COLORSPACE_RGBK = 0x000401,
63  LTI_COLORSPACE_CMYK = 0x000402,
64  LTI_COLORSPACE_YIQK = 0x000403,
71 
72  // N-banded colorspaces
77 
83 typedef enum LTIColor
84 {
97 } LTIColor;
98 
99 
105 typedef enum LTIDataType
106 {
116  // not supported at this time
117  //LTI_DATATYPE_UINT64 = 9,
118  //LTI_DATATYPE_SINT64 = 10,
119  //LTI_DATATYPE_COMPLEX32 = 11, // (float32 Real, float32 Imaginary)
120  //LTI_DATATYPE_COMPLEX64 = 12 // (float64 Real, float64 Imaginary)
121 } LTIDataType;
122 
123 
124 
132 typedef enum LTIPosition
133 {
143 } LTIPosition;
144 
145 
152 typedef enum LTILayout
153 {
158 } LTILayout;
159 
160 
164 typedef enum LTIEndian
165 {
170 } LTIEndian;
171 
176 typedef enum LTIResampleMethod
177 {
183 
187 typedef enum LTIPixelFillMethod
188 {
189  LTI_PIXELFILL_HARD = 0, // use NoData
190  LTI_PIXELFILL_FUZZY = 1, // use fuzzy NoData
191  LTI_PIXELFILL_COPY = 2 // ignore NoData
193 
194 /*
195  * constants representing possible pixel modifications
196  */
198 {
199  LTI_MODIFICATION_NONE = 0x00000000,
219 
220 /*
221  * constants representing the constructed pipeline
222  */
223 typedef enum LTIPipelineInfo
224 {
227 
228 #ifdef LT_CPLUSPLUS
229 }
230 
232 
233 // fwd decls (utils)
234 class LTFileSpec;
235 class LTIOStreamInf;
236 
237 // fwd decls (SDK core)
238 class LTIGeoCoord;
239 class LTIImage;
240 class LTIImageFilter;
241 class LTIImageReader;
242 class LTIImageStage;
243 class LTIImageWriter;
245 class LTIMetadataDatabase;
246 class LTINavigator;
247 class LTIPixel;
248 class LTIPixelLookupTable;
249 class LTIProgressDelegate;
250 class LTISample;
251 class LTIScene;
252 class LTISceneBuffer;
253 class LTIMaskSource;
254 class LTIMask;
255 
257 
258 #endif
259 
260 #endif
representation of a scene
Definition: lti_scene.h:64
LTIEndian
constants representing endianness (byte order)
Definition: lti_types.h:164
LTIDataType
datatypes
Definition: lti_types.h:105
abstract class for implementing an image reader
#define LT_END_NAMESPACE(theNameSpace)
compiler does not support namespaces
Definition: lt_define.h:85
Include file for all LizardTech sources.
basic properties of a sample
Definition: lti_sample.h:28
band interleaved by pixel
Definition: lti_types.h:155
abstract class for implementing an image writer
represents a geographic coordinate
Definition: lti_geoCoord.h:32
color lookup table
abstract class for implementing an image transform
band interleaved by line
Definition: lti_types.h:157
enum LTIEncodingModification LTIEncodingModifications
Abstract definition of a stream.
Represents a file or directory path.
Definition: lt_fileSpec.h:33
class for storing metadata associated with an image
basic properties of a pixel
Definition: lti_pixel.h:36
LTIPixelFillMethod
constants representing pixel filling methods
Definition: lti_types.h:187
band sequential
Definition: lti_types.h:156
class to hold data passed between image stages
LTIPipelineInfo
Definition: lti_types.h:223
LTIColorSpace
colorspaces
Definition: lti_types.h:38
LTIResampleMethod
constants representing resampling methods
Definition: lti_types.h:176
abstract class representing an image
Definition: lti_image.h:32
provides LTIScene movement control
Definition: lti_navigator.h:30
LTIEncodingModification
Definition: lti_types.h:197
LTILayout
constants representing data layout
Definition: lti_types.h:152
LTIColor
colors
Definition: lti_types.h:83
abstract class for decoding from an image
#define LT_BEGIN_NAMESPACE(theNameSpace)
compiler does not support namespaces
Definition: lt_define.h:84
LTIPosition
well-known points
Definition: lti_types.h:132
interrupt delegate (callback) base class
Definition: lti_delegates.h:39
progress delegate (callback) base class
Definition: lti_delegates.h:72

LizardTech