OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
SceneCoord.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #ifndef SceneCoord_h
13 #define SceneCoord_h
14 
15 #include <otb/JSDDateTime.h>
16 #include <otb/InfoSceneCoord.h>
19 
20 class ossimKeywordlist;
21 
22 namespace ossimplugins
23 {
24 
30 {
31 public:
35  SceneCoord();
36 
40  virtual ~SceneCoord();
41 
45  SceneCoord(const SceneCoord& rhs);
46 
50  SceneCoord& operator=(const SceneCoord& rhs);
51 
58  bool saveState(ossimKeywordlist& kwl, const char* prefix=0) const;
59 
65  bool loadState (const ossimKeywordlist &kwl, const char *prefix=0);
70  virtual std::ostream& print(std::ostream& out) const;
71 
72  void set_numberOfSceneCoord(const ossim_uint32& numberOfSceneCoord)
73  {
74  _numberOfSceneCoord = numberOfSceneCoord;
75  }
76  void set_centerSceneCoord(const InfoSceneCoord& centerSceneCoord)
77  {
78  _centerSceneCoord = centerSceneCoord;
79  }
80  void set_cornersSceneCoord(const std::vector<InfoSceneCoord>& cornersSceneCoord)
81  {
82  _tabCornersSceneCoord = cornersSceneCoord;
83  }
84 
85 protected:
86 
98  std::vector<InfoSceneCoord> _tabCornersSceneCoord;
99 
100 private:
101 };
102 }
103 
104 #endif
This class represents an InfoSceneCoord.
This class represents Scence coordinate.
Definition: SceneCoord.h:29
Represents serializable keyword/value map.
void set_numberOfSceneCoord(const ossim_uint32 &numberOfSceneCoord)
Definition: SceneCoord.h:72
std::ostream & print(H5::H5File *file, std::ostream &out)
Print method.
Definition: ossimH5Util.cpp:41
void set_centerSceneCoord(const InfoSceneCoord &centerSceneCoord)
Definition: SceneCoord.h:76
unsigned int ossim_uint32
#define OSSIM_PLUGINS_DLL
InfoSceneCoord _centerSceneCoord
Center scene coordinate.
Definition: SceneCoord.h:94
std::vector< InfoSceneCoord > _tabCornersSceneCoord
Corners InfoIncidenceAngle.
Definition: SceneCoord.h:98
ossim_uint32 _numberOfSceneCoord
Number of scene coordinate.
Definition: SceneCoord.h:90
void set_cornersSceneCoord(const std::vector< InfoSceneCoord > &cornersSceneCoord)
Definition: SceneCoord.h:80
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23