OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ErsSarMapProjectionData.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 ErsSarMapProjectionData_h
13 #define ErsSarMapProjectionData_h
14 
15 #include <iostream>
16 #include <cstdlib>
18 #include "erssar/ErsSarRecord.h"
19 
20 namespace ossimplugins
21 {
22 
23 
30 {
31 public:
36 
40  virtual ~ErsSarMapProjectionData();
41 
46 
51 
56 
61 
66  {
67  return new ErsSarMapProjectionData();
68  };
69 
74  {
75  return new ErsSarMapProjectionData(*this);
76  };
77 
81  void Read(std::istream& is)
82  {
83  is >> *this;
84  };
85 
89  void Write(std::ostream& os)
90  {
91  os << *this;
92  };
93 
97  std::string get_map_proj_des() const
98  {
99  return _map_proj_des;
100  };
105  {
106  return _num_pix_in_line;
107  };
111  int get_num_lines() const
112  {
113  return _num_lines;
114  };
118  double get_nom_interpixel_dist() const
119  {
120  return _nom_interpixel_dist;
121  };
125  double get_nom_interline_dist() const
126  {
127  return _nom_interline_dist;
128  };
133  {
134  return _orientation_at_center;
135  };
139  double get_orbit_incl() const
140  {
141  return _orbit_incl;
142  };
146  double get_asc_node_long() const
147  {
148  return _asc_node_long;
149  };
153  double get_platform_heading() const
154  {
155  return _platform_heading;
156  };
160  std::string get_name_of_ref_ellipsoid() const
161  {
162  return _name_of_ref_ellipsoid;
163  };
167  double get_semi_maj_axis() const
168  {
169  return _semi_maj_axis;
170  };
174  double get_semi_min_axis() const
175  {
176  return _semi_min_axis;
177  };
182  {
184  };
189  {
191  };
196  {
198  };
203  {
205  };
210  {
212  };
217  {
219  };
224  {
226  };
231  {
233  };
234 
235 protected:
239  std::string _map_proj_des;
263  double _orbit_incl;
316 
317 
318 private:
319 
320 };
321 }
322 
323 #endif
void Write(std::ostream &os)
Write the class to a stream.
std::string get_name_of_ref_ellipsoid() const
name_of_ref_ellipsoid
double _last_line_first_pixel_lat
last_line_first_pixel_lat
double get_asc_node_long() const
asc_node_long
double _first_line_first_pixel_lat
first_line_first_pixel_lat
int get_num_pix_in_line() const
num_pix_in_line
double get_semi_min_axis() const
semi_min_axis
double get_semi_maj_axis() const
semi_maj_axis
double get_platform_heading() const
platform_heading
double _last_line_last_pixel_lon
last_line_last_pixel_lon
double get_first_line_last_pixel_lon() const
first_line_last_pixel_lon
double get_last_line_last_pixel_lat() const
last_line_last_pixel_lat
ErsSarRecord * Instanciate()
This function is able to create a new instance of the class.
This class is able to read the SAR leader data set summary record of the leader file.
double _orientation_at_center
orientation_at_center
double _last_line_first_pixel_lon
last_line_first_pixel_lon
double get_first_line_last_pixel_lat() const
first_line_last_pixel _lat
ErsSarRecord * Clone()
This function is able to create a new instance of the class initialised with the data of the calling ...
double _first_line_last_pixel_lon
first_line_last_pixel_lon
std::string get_map_proj_des() const
map_proj_des
double get_last_line_first_pixel_lat() const
last_line_first_pixel_lat
void Read(std::istream &is)
Read the class data from a stream.
This class is the base class of all the record classes.
Definition: ErsSarRecord.h:27
double get_first_line_first_pixel_lat() const
first_line_first_pixel _lat
double get_last_line_first_pixel_lon() const
last_line_first_pixel_lon
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
double _nom_interpixel_dist
nom_interpixel_dist
ErsSarMapProjectionData & operator=(const ErsSarMapProjectionData &rhs)
Copy operator.
double get_nom_interpixel_dist() const
nom_interpixel_dist
friend std::istream & operator>>(std::istream &is, ErsSarMapProjectionData &data)
This function read a ErsSarMapProjectionData from a stream.
double _first_line_last_pixel_lat
first_line_last_pixel_lat
std::string _name_of_ref_ellipsoid
name_of_ref_ellipsoid
double _first_line_first_pixel_lon
first_line_first_pixel_lon
double get_last_line_last_pixel_lon() const
last_line_last_pixel_lon
double get_first_line_first_pixel_lon() const
first_line_first_pixel_lon
friend std::ostream & operator<<(std::ostream &os, const ErsSarMapProjectionData &data)
This function write the ErsSarMapProjectionData in a stream.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
double get_nom_interline_dist() const
nom_interline_dist
double _last_line_last_pixel_lat
last_line_last_pixel_lat
double get_orientation_at_center() const
orientation_at_center