OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimHdf5GridModel.h
Go to the documentation of this file.
1 //*****************************************************************************
2 // FILE: ossimHdf5GridModel.h
3 //
4 // License: MIT
5 //
6 // See LICENSE.txt file in the top level directory for more details.
7 //
8 // AUTHOR: David Burken
9 //
10 // Copied from Mingjie Su's ossimHdfGridModel.
11 //
12 // DESCRIPTION:
13 // Contains declaration of class ossimHdfGridModel. This is an
14 // implementation of an interpolation sensor model.
15 //
16 //*****************************************************************************
17 // $Id$
18 
19 #ifndef ossimHdf5GridModel_HEADER
20 #define ossimHdf5GridModel_HEADER 1
21 
26 #include <ossim/hdf5/ossimHdf5.h>
27 #include <string>
28 
29 
30 /******************************************************************************
31  *
32  * CLASS: ossimHdf5GridModel
33  *
34  *****************************************************************************/
36 {
37 public:
38 
41 
43  virtual ~ossimHdf5GridModel();
44 
46  bool initialize(ossimHdf5* hdf5, const ossimString& projDataPath="");
47 
49  virtual bool saveState(ossimKeywordlist& kwl, const char* prefix) const;
50 
51 protected:
52 
53  bool initCoarseGrid(const char* datasetName, ossimDblGrid& coarseGrid);
54 
55  bool crossesDateline();
56 
57  // This polygon differs from base "theBoundGndPolygon" in that if the
58  // scene crosses the dateline the longitude values are stored between
59  // 0 and 360 degress as opposed to -180 to 180.
61 
65 
66  TYPE_DATA
67 };
68 
69 #endif /* Matches: #ifndef ossimHdf5GridModel_HEADER */
Represents serializable keyword/value map.
ossimString m_projDataPath
#define TYPE_DATA
Definition: ossimRtti.h:339
Low-level OSSIM interface to HDF5 libraries.
Definition: ossimHdf5.h:27
virtual bool saveState(ossimKeywordlist &kwl, const char *prefix=0) const
Fulfills ossimObject base-class pure virtuals.
#define OSSIM_DLL
ossimRefPtr< ossimHdf5 > m_hdf5
bool crossesDateline(H5::DataSet &dataset, const ossimIrect &validRect)
Checks for dateline cross.
ossimPolygon m_boundGndPolygon