OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
src
base
ossimImageTypeLut.cpp
Go to the documentation of this file.
1
//*******************************************************************
2
//
3
// License: See top level LICENSE.txt file.
4
//
5
// Author: David Burken
6
//
7
// Description:
8
//
9
// Contains class definition for ImageTypeLUT. Currently has mapping of
10
// output image writes from enumeration to string and string to
11
// enumeration.
12
//
13
//*******************************************************************
14
// $Id: ossimImageTypeLut.cpp 22221 2013-04-11 15:30:08Z dburken $
15
16
#include <
ossim/base/ossimImageTypeLut.h
>
17
18
//***
19
// Pixel type keyword to use for getState/saveState methods.
20
//***
21
const
ossimKeyword
ossimImageTypeLut::IMAGE_TYPE_KW
(
"image_type"
,
22
"Image type.\n\
23
Valid types are: ccf, tiff, tiled_tiff, jpeg, and general_raster."
);
24
25
static
const
int
TABLE_SIZE = 9;
26
27
//*******************************************************************
28
// Public Constructor:
29
//*******************************************************************
30
ossimImageTypeLut::ossimImageTypeLut
()
31
:
32
ossimLookUpTable
(TABLE_SIZE)
33
{
34
//***
35
// Complete initialization of data member "theImageTypeTable".
36
// Note: Output type enumerations defined in constants.h file.
37
//***
38
theTable
[0].theKey =
OSSIM_TIFF_STRIP
;
39
theTable
[0].theValue =
"tiff_strip"
;
40
theTable
[1].theKey =
OSSIM_TIFF_STRIP_BAND_SEPARATE
;
41
theTable
[1].theValue =
"tiff_strip_band_separate"
;
42
theTable
[2].theKey =
OSSIM_TIFF_TILED
;
43
theTable
[2].theValue =
"tiff_tiled"
;
44
theTable
[3].theKey =
OSSIM_TIFF_TILED_BAND_SEPARATE
;
45
theTable
[3].theValue =
"tiff_tiled_band_separate"
;
46
theTable
[4].theKey =
OSSIM_GENERAL_RASTER_BIP
;
47
theTable
[4].theValue =
"general_raster_bip"
;
48
theTable
[5].theKey =
OSSIM_GENERAL_RASTER_BIL
;
49
theTable
[5].theValue =
"general_raster_bil"
;
50
theTable
[6].theKey =
OSSIM_GENERAL_RASTER_BSQ
;
51
theTable
[6].theValue =
"general_raster_bsq"
;
52
theTable
[7].theKey =
OSSIM_JPEG
;
53
theTable
[7].theValue =
"jpeg"
;
54
theTable
[8].theKey =
OSSIM_PDF
;
55
theTable
[8].theValue =
"ossim_pdf"
;
56
}
OSSIM_TIFF_TILED_BAND_SEPARATE
Definition:
ossimConstants.h:405
ossimLookUpTable::theTable
std::vector< ossimKeyValueMap > theTable
Definition:
ossimLookUpTable.h:124
OSSIM_GENERAL_RASTER_BSQ
Definition:
ossimConstants.h:408
ossimImageTypeLut::ossimImageTypeLut
ossimImageTypeLut()
Definition:
ossimImageTypeLut.cpp:30
OSSIM_TIFF_STRIP
Definition:
ossimConstants.h:402
OSSIM_TIFF_STRIP_BAND_SEPARATE
Definition:
ossimConstants.h:403
OSSIM_PDF
Definition:
ossimConstants.h:410
OSSIM_GENERAL_RASTER_BIL
Definition:
ossimConstants.h:407
ossimKeyword
Definition:
ossimKeyword.h:17
ossimLookUpTable
Definition:
ossimLookUpTable.h:32
ossimImageTypeLut.h
OSSIM_TIFF_TILED
Definition:
ossimConstants.h:404
OSSIM_GENERAL_RASTER_BIP
Definition:
ossimConstants.h:406
ossimImageTypeLut::IMAGE_TYPE_KW
static const ossimKeyword IMAGE_TYPE_KW
Definition:
ossimImageTypeLut.h:31
OSSIM_JPEG
Definition:
ossimConstants.h:409
Generated on Fri Aug 3 2018 08:46:49 for OSSIM - Open Source Software Image Map by
1.8.14