OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
GeolocationGrid.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 GeolocationGrid_h
13 #define GeolocationGrid_h
14 
15 #include <iostream>
17 
18 namespace ossimplugins
19 {
25 {
26 public:
31 
35  virtual ~GeolocationGrid();
36 
40  friend std::ostream& operator<<(std::ostream& os, const GeolocationGrid& data);
41 
46 
50  GeolocationGrid(const GeolocationGrid& rhs);
51 
56 
61  {
62  return new GeolocationGrid();
63  };
64 
69  {
70  return new GeolocationGrid(*this);
71  };
72 
76  void Read(std::istream& is)
77  {
78  is>>*this;
79  };
80 
84  void Write(std::ostream& os)
85  {
86  os<<*this;
87  };
88 
93  {
95  };
100  {
102  };
107  {
109  };
114  {
115  return _attach_flag;
116  };
120  unsigned int get_line_num()
121  {
122  return _line_num;
123  };
127  unsigned int get_num_lines()
128  {
129  return _num_lines;
130  };
135  {
136  return _sub_sat_track;
137  };
141  unsigned int * get_samp_numbers()
142  {
143  return _samp_numbers;
144  };
149  {
150  return _slant_range_times;
151  };
155  float * get_angles()
156  {
157  return _angles;
158  };
162  int * get_lats()
163  {
164  return _lats;
165  };
169  int * get_longs()
170  {
171  return _longs;
172  };
177  {
179  };
184  {
185  return _last_line_tie_points;
186  };
187 
188 
208  unsigned int _line_num;
212  unsigned int _num_lines;
220  unsigned int _samp_numbers[11];
228  float _angles[11];
232  int _lats[11];
236  int _longs[11];
245 
246 
247 private:
248 
249 };
250 }
251 #endif
252 
253 
EnvisatAsarRecord * Instanciate()
This function is able to create a new instance of the class.
float _slant_range_times[11]
slant_range_times[11]
unsigned int _samp_numbers[11]
samp_numbers
void Write(std::ostream &os)
Writes the class to a stream.
unsigned int get_first_zero_doppler_time_microsec()
first_zero_doppler_time micro sec
unsigned int get_num_lines()
num_lines
unsigned int * get_samp_numbers()
samp_numbvers
float * get_slant_range_times()
slant_range_times
unsigned int _first_zero_doppler_time_sec
first_zero_doppler_time sec
float _angles[11]
angles[11]
virtual ~GeolocationGrid()
Destructor.
unsigned int _first_zero_doppler_time_microsec
first_zero_doppler_time microsec
friend std::istream & operator>>(std::istream &is, GeolocationGrid &data)
This function reads a GeolocationGrid from a stream.
std::string _last_line_tie_points
last_line_tie_points
int _first_zero_doppler_time_day
first_zero_doppler_time day
void Read(std::istream &is)
Reads the class data from a stream.
EnvisatAsarRecord * Clone()
This function is able to create a new instance of the class initialised with the data of the calling ...
friend std::ostream & operator<<(std::ostream &os, const GeolocationGrid &data)
This function writes the GeolocationGrid in a stream.
unsigned int get_first_zero_doppler_time_sec()
first_zero_doppler_time second
GeolocationGrid & operator=(const GeolocationGrid &rhs)
Copy operator.
unsigned int get_line_num()
line_num
std::string get_last_zero_doppler_time()
last_zero_doppler_time
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
This class is the base class of all the Envisat ASAR record classes.
float _sub_sat_track
sub_sat_track
float get_sub_sat_track()
sub_sat_track
bool get_attach_flag()
attach_flag
std::string _last_zero_doppler_time
last_zero_doppler_time
int get_first_zero_doppler_time_day()
first_zero_doppler_time day
unsigned int _line_num
line_num
This class is able to read the ASAR GeolocationGrid record.
std::string get_last_line_tie_points()
last_line_tie_points
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
unsigned int _num_lines
num_lines