OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimLandsatTileSource.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts
6 //
7 // Description:
8 //
9 // Contains class definition for the class "ossimLandsatTileSource".
10 // ossimLandsatTileSource is derived from ImageHandler which is derived from
11 // TileSource.
12 //
13 //*******************************************************************
14 // $Id: ossimLandsatTileSource.h 17932 2010-08-19 20:34:35Z dburken $
15 
16 #ifndef ossimLandsatTileSource_HEADER
17 #define ossimLandsatTileSource_HEADER
18 
20 #include <ossim/base/ossimDate.h>
22 
24 {
25 public:
27 
29  const char* prefix=0);
30 
31 
32  virtual ossimString getShortName() const;
33 
34  virtual ossimString getLongName() const;
35 
36  virtual bool open();
37 
38  virtual double getNullPixelValue(ossim_uint32 band=0)const;
39 
40  virtual double getMinPixelValue(ossim_uint32 band=0)const;
41 
42  virtual double getMaxPixelValue(ossim_uint32 band=0)const;
43 
44  virtual ossimScalarType getOutputScalarType() const;
45 
46  bool getAcquisitionDate(ossimDate& date)const;
47  ossimString getSatelliteName()const;
48 
49  ossimFilename getBandFilename(ossim_uint32 idx)const;
50 
51  bool isPan()const;
52  bool isVir()const;
53  bool isTm()const;
54 
58 
59  virtual bool loadState(const ossimKeywordlist& kwl,
60  const char* prefix = NULL);
61 
67  virtual ossimRefPtr<ossimProperty> getProperty(const ossimString& name)const;
68 
73  virtual void getPropertyNames(std::vector<ossimString>& propertyNames)const;
74 
75 private:
76  virtual ~ossimLandsatTileSource();
77 
78  void openHeader(const ossimFilename& file);
79 
81 
82  TYPE_DATA
83 };
84 
85 #endif
virtual bool open()
Pure virtual open.
Represents serializable keyword/value map.
virtual ossimScalarType getOutputScalarType() const
Returns the output pixel type of the tile source.
virtual double getNullPixelValue(ossim_uint32 band=0) const
Override base getXXXXPixValue methods since the null/min/max can be set to something different...
virtual double getMinPixelValue(ossim_uint32 band=0) const
Retuns the min pixel value.
virtual bool loadState(const ossimKeywordlist &kwl, const char *prefix=0)
Method to the load (recreate) the state of an object from a keyword list.
virtual ossimRefPtr< ossimImageGeometry > getImageGeometry()
Returns the image geometry object associated with this tile source or NULL if non defined...
virtual void getPropertyNames(std::vector< ossimString > &propertyNames) const
#define TYPE_DATA
Definition: ossimRtti.h:339
unsigned int ossim_uint32
ossimRefPtr< ossimFfL7 > theFfHdr
virtual double getMaxPixelValue(ossim_uint32 band=0) const
Returns the max pixel of the band.
ossimScalarType
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
#define OSSIM_DLL