35 os<<
"line_num:"<<data.
_line_num<<std::endl;
41 for (
int i = 0; i<11; i++) {
42 os<<
"samp_numbers["<<i<<
"]:"<<data.
_samp_numbers[i]<<std::endl;
45 for (
int i = 0; i<11; i++) {
49 for (
int i = 0; i<11; i++) {
50 os<<
"angles["<<i<<
"]:"<<data.
_angles[i]<<std::endl;
53 for (
int i = 0; i<11; i++) {
54 os<<
"lats["<<i<<
"]:"<<data.
_lats[i]<<std::endl;
57 for (
int i = 0; i<11; i++) {
58 os<<
"longs["<<i<<
"]:"<<data.
_longs[i]<<std::endl;
131 for (
int i = 0; i<11; i++) {
136 for (
int i = 0; i<11; i++) {
141 for (
int i = 0; i<11; i++) {
142 is.read((
char*)&(data.
_angles[i]),4);
146 for (
int i = 0; i<11; i++) {
147 is.read((
char*)&(data.
_lats[i]),4);
151 for (
int i = 0; i<11; i++) {
152 is.read((
char*)&(data.
_longs[i]),4);
172 _first_zero_doppler_time_day(rhs._first_zero_doppler_time_day),
173 _first_zero_doppler_time_sec(rhs._first_zero_doppler_time_sec),
174 _first_zero_doppler_time_microsec(rhs._first_zero_doppler_time_microsec),
175 _attach_flag(rhs._attach_flag),
176 _line_num(rhs._line_num),
177 _num_lines(rhs._num_lines),
178 _sub_sat_track(rhs._sub_sat_track),
179 _last_zero_doppler_time(rhs._last_zero_doppler_time),
180 _last_line_tie_points(rhs._last_line_tie_points)
183 for (
int i = 0; i<11; i++) {
207 for (
int i = 0; i<11; i++) {
float _slant_range_times[11]
slant_range_times[11]
unsigned int _samp_numbers[11]
samp_numbers
void SwitchEndian(T &value)
This function switches the LSB value and the MSB value of the parameter.
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
std::string _last_line_tie_points
last_line_tie_points
GeolocationGrid()
Constructor.
std::ostream & operator<<(std::ostream &os, const AlosPalsarData &data)
int _first_zero_doppler_time_day
first_zero_doppler_time day
std::istream & operator>>(std::istream &is, AlosPalsarData &data)
GeolocationGrid & operator=(const GeolocationGrid &rhs)
Copy operator.
std::basic_istream< char > istream
Base class for char input streams.
This class is the base class of all the Envisat ASAR record classes.
float _sub_sat_track
sub_sat_track
std::string _last_zero_doppler_time
last_zero_doppler_time
unsigned int _line_num
line_num
This class is able to read the ASAR GeolocationGrid record.
bool _attach_flag
attach_flag
std::basic_ostream< char > ostream
Base class for char output streams.
unsigned int _num_lines
num_lines