MrSID Decode SDK for Raster Reference Manual
9.1.0.4045
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
90
LTIColorSpace
getColorSpace()
const
;
91
102
LTIDataType
getDataType()
const
;
103
112
virtual
const
LTIPixel
& getPixelProps()
const
= 0;
113
123
virtual
const
LTIPixel
* getBackgroundPixel()
const
= 0;
124
134
virtual
const
LTIPixel
* getNoDataPixel()
const
= 0;
135
145
virtual
const
LTIPixelLookupTable
* getPixelLookupTable()
const
= 0;
146
155
virtual
const
LTIPixel
&getMinDynamicRange()
const
= 0;
156
165
virtual
const
LTIPixel
&getMaxDynamicRange()
const
= 0;
166
175
bool
isNaturalDynamicRange()
const
;
187
virtual
const
LTIGeoCoord
& getGeoCoord()
const
= 0;
188
197
virtual
bool
isGeoCoordImplicit()
const
= 0;
198
207
virtual
const
LTIMetadataDatabase
&getMetadata()
const
= 0;
208
219
virtual
double
getMinMagnification()
const
= 0;
220
231
virtual
double
getMaxMagnification()
const
= 0;
232
244
virtual
bool
isSelective()
const
= 0;
245
255
virtual
lt_uint32
getModifications(
const
LTIScene
&scene)
const
= 0;
256
272
lt_int64 getNominalImageSizeWithoutAlpha()
const
;
273
289
lt_int64 getNominalImageSizeWithAlpha()
const
;
290
300
void
getGeoPoint(
LTIPosition
position,
double
& x,
double
& y)
const
;
301
314
LTIPixel
* createBackgroundPixel()
const
;
315
};
316
317
LT_END_NAMESPACE
(LizardTech)
318
319
#endif // LTI_IMAGE_H
LizardTech