OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimTileMapModel.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // DESCRIPTION: Contains declaration of TileMap sensor model class.
6 //
7 // SOFTWARE HISTORY:
8 // 23JAN2008 Jordi Inglada, CNES
9 // Initial coding.
10 //
11 //*****************************************************************************
12 // $Id: ossimTileMapModel.h 10384 2007-01-26 20:32:12Z gpotts $
13 
14 #ifndef ossimTileMapModel_HEADER
15 #define ossimTileMapModel_HEADER
16 
20 #include <ossim/base/ossimGpt.h>
21 #include <ossim/base/ossimDpt.h>
23 #include <iostream>
24 
25 class ossimMapProjection;
26 
27 namespace ossimplugins
28 {
29 //******************************************************************************
30 //*
31 //* CLASS: ossimTileMapModel
32 //*
33 //*******************************************************************************
35 {
36 public:
41  ossimTileMapModel(const ossimKeywordlist& geom_kwl);
43 
44  virtual ~ossimTileMapModel(){};
45 
47  {
48  UNKNOWN_PROJECTION = 0,
52  SOM_ORBIT
53  };
54 
58  virtual ossimObject* dup() const { return 0; } // TBR
59 
63  virtual std::ostream& print(std::ostream& out) const;
64 
65 
66 
67  bool open(const ossimFilename& file);
68 
73  virtual bool saveState(ossimKeywordlist& kwl,
74  const char* prefix=0) const;
75 
76  virtual bool loadState(const ossimKeywordlist& kwl,
77  const char* prefix=0);
78 
83  static void writeGeomTemplate(ostream& os);
84 
85  //***
86  // Overrides base class pure virtual.
87  //***
88  virtual void worldToLineSample(const ossimGpt& ground_point,
89  ossimDpt& img_pt) const;
90  virtual void lineSampleHeightToWorld(const ossimDpt& image_point,
91  const double& heightEllipsoid,
92  ossimGpt& worldPoint) const;
93  virtual void lineSampleToWorld(const ossimDpt& image_point,
94  ossimGpt& worldPoint) const;
95 
100  void setDepth(unsigned int depth){
101  qDepth = depth;
102  }
103  unsigned int getDepth()
104  {
105  return qDepth;
106  }
107 
108 
112  inline virtual bool useForward()const {return true;}
113 
114 
115 protected:
116 
117 
118 
119  //***
120  // Image constant parameters:
121  //***
132 
135 
142  //
143  // //***
144  // // Adjustable parameters:
145  // //***
151  double theYawOffset;
152  double theYawRate;
154  //
155  // //***
156  // // Quantities derived from the adjustable parameters:
157  // //***
158  NEWMAT::Matrix theRollRotMat;
159 
160  unsigned int qDepth;
161  TYPE_DATA
162 
163 
164 };
165 } // End: namespace ossimplugins
166 #endif
void setDepth(unsigned int depth)
Represents serializable keyword/value map.
virtual ossimObject * dup() const
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
Definition: ossimH5Util.cpp:41
ossimRefPtr< ossimMapProjection > theMapProjection
#define TYPE_DATA
Definition: ossimRtti.h:339
#define OSSIM_PLUGINS_DLL
double theIllumAzimuth
image to ground faster
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23