MrSID Decode SDK for Raster Reference Manual 9.5.4.4709

- Main Page
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

lti_image.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_IMAGE_H
14 #define LTI_IMAGE_H
15
16 // lt_lib_mrsid_core
17 #include "lti_types.h"
18 #include "lti_referenceCountedObject.h"
19
20
21 LT_BEGIN_NAMESPACE(LizardTech)
22
23
32 class LTIImage : public LTIReferenceCountedObject
33 {
34 LTI_REFERENCE_COUNTED_BOILERPLATE_BASE(LTIImage);
35 public:
43 virtual lt_uint32 getWidth() const = 0;
44
52 virtual lt_uint32 getHeight() const = 0;
53
65 virtual LT_STATUS getDimsAtMag(double mag,
66 lt_uint32 &width,
67 lt_uint32 &height) const = 0;
68
79 lt_uint16 getNumBands() const;
80
91 lt_uint16 getNumBandsWithoutAlpha() const;
92
102 LTIColorSpace getColorSpace() const;
103
114 LTIDataType getDataType() const;
115
124 virtual const LTIPixel& getPixelProps() const = 0;
125
135 virtual const LTIPixel* getBackgroundPixel() const = 0;
136
146 virtual const LTIPixel* getNoDataPixel() const = 0;
147
157 virtual const LTIPixelLookupTable* getPixelLookupTable() const = 0;
158
167 virtual const LTIPixel &getMinDynamicRange() const = 0;
168
177 virtual const LTIPixel &getMaxDynamicRange() const = 0;
178
187 bool isNaturalDynamicRange() const;
199 virtual const LTIGeoCoord& getGeoCoord() const = 0;
200
209 virtual bool isGeoCoordImplicit() const = 0;
210
219 virtual const LTIMetadataDatabase &getMetadata() const = 0;
220
231 virtual double getMinMagnification() const = 0;
232
243 virtual double getMaxMagnification() const = 0;
244
256 virtual bool isSelective() const = 0;
257
267 virtual lt_uint32 getModifications(const LTIScene &scene) const = 0;
268
269
280 virtual LT_STATUS getMetadataBlob(const char *type, LTIOStreamInf *&stream) const = 0;
281
282
298 lt_int64 getNominalImageSizeWithoutAlpha() const;
299
315 lt_int64 getNominalImageSizeWithAlpha() const;
316
326 void getGeoPoint(LTIPosition position, double& x, double& y) const;
327
340 LTIPixel* createBackgroundPixel() const;
341 };
342
343 LT_END_NAMESPACE(LizardTech)
344
345 #endif // LTI_IMAGE_H

LizardTech