OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimEnviTileSource.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // License: MIT
4 //
5 // See LICENSE.txt file in the top level directory for more details.
6 //
7 // Author: David Burken
8 //
9 // Description:
10 //
11 // Image handler class for a raster files with an ENVI header file.
12 //
13 //----------------------------------------------------------------------------
14 // $Id$
15 
16 #ifndef ossimEnviTileSource_HEADER
17 #define ossimEnviTileSource_HEADER 1
18 
21 
22 
24 {
25 public:
26 
29 
31  virtual ossimString getShortName() const;
32 
34  virtual ossimString getLongName() const;
35 
37  virtual bool open();
38 
45 
50  virtual bool saveState(ossimKeywordlist& kwl,
51  const char* prefix=0)const;
52 
59  virtual bool loadState(const ossimKeywordlist& kwl,
60  const char* prefix = NULL);
61 
68  const ossimString& name)const;
69 
74  virtual void getPropertyNames(std::vector<ossimString>& propertyNames)const;
75 
83  virtual bool getRgbBandList(std::vector<ossim_uint32>& bandList) const;
84 
85 protected:
86 
88  virtual ~ossimEnviTileSource();
89 
90 private:
91 
96  void setDefaultBandList();
97 
103 
105 
106 TYPE_DATA
107 
108 }; // End: class ossimEnviTileSource
109 
110 #endif /* #ifndef ossimEnviTileSource_HEADER */
virtual bool open()
Pure virtual open.
#define OSSIMDLLEXPORT
Represents serializable keyword/value map.
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Method to save the state of an object to a keyword list.
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
virtual bool getRgbBandList(std::vector< ossim_uint32 > &bandList) const
Convenience method to get the zero based rgb output band list.
virtual ossimRefPtr< ossimImageGeometry > getInternalImageGeometry() const
virtual ossimRefPtr< ossimProperty > getProperty(const ossimString &name) const
ossimEnviHeader m_enviHdr
Class for reading and writing an ENVI (The Environment for Visualizing Images) header file...