OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
MainProcessingParameters.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 MainProcessingParameters_h
13 #define MainProcessingParameters_h
14 
15 #include <iostream>
16 #include <sstream>
18 
19 namespace ossimplugins
20 {
26 {
27 public:
32 
36  virtual ~MainProcessingParameters();
37 
42 
47 
52 
57 
62  {
63  return new MainProcessingParameters();
64  };
65 
70  {
71  return new MainProcessingParameters(*this);
72  };
73 
77  void Read(std::istream& is)
78  {
79  is>>*this;
80  };
81 
85  void Write(std::ostream& os)
86  {
87  os<<*this;
88  };
89 
90 
95  {
97  };
102  {
103  return _attach_flag;
104  };
109  {
111  };
115  std::string get_work_order_id()
116  {
117  return _work_order_id;
118  };
123  {
124  return _time_diff;
125  };
129  std::string get_swath_num()
130  {
131  return _swath_num;
132  };
137  {
138  return _range_spacing;
139  };
144  {
145  return _azimut_spacing;
146  };
151  {
152  return _line_time_interval;
153  };
157  unsigned int get_num_output_lines()
158  {
159  return _num_output_lines;
160  };
165  {
166  return _num_samples_per_line;
167  };
171  std::string get_data_type()
172  {
173  return _data_type;
174  };
179  {
181  };
186  {
188  };
193  {
194  return _data_analysis_flag;
195  };
200  {
201  return _ant_elev_coor_flag;
202  };
207  {
208  return _chirp_extract_flag;
209  };
214  {
215  return _srgr_flag;
216  };
221  {
222  return _dop_cen_flag;
223  };
228  {
229  return _dop_amb_flag;
230  };
235  {
237  };
242  {
243  return _detected_flag;
244  };
249  {
250  return _look_sum_flag;
251  };
256  {
257  return _rms_equal_flag;
258  };
263  {
264  return _ant_scal_flag;
265  };
270  {
271  return _vga_com_echo_flag;
272  };
277  {
278  return _vga_com_cal_flag;
279  };
284  {
285  return _vga_com_nom_time_flag;
286  };
291  {
293  };
297  std::string get_raw_data_analysis()
298  {
299  return _raw_data_analysis;
300  };
304  std::string get_start_time_mds1()
305  {
306  return _start_time_mds1;
307  };
311  std::string get_start_time_mds2()
312  {
313  return _start_time_mds2;
314  };
318  std::string get_parameter_code()
319  {
320  return _parameter_code;
321  };
325  std::string get_errors_counters()
326  {
327  return _errors_counters;
328  };
332  std::string get_image_parameters1()
333  {
334  return _image_parameters1;
335  };
339  float* get_prf_values()
340  {
341  return _prf_values;
342  };
346  float get_prf()
347  {
348  return _prf_values[0];
349  };
353  std::string get_image_parameters2()
354  {
355  return _image_parameters2;
356  };
361  {
362  return _first_proc_range_samp;
363  };
368  {
369  return _range_ref;
370  };
375  {
376  return _range_samp_rate;
377  };
382  {
383  return _radar_freq;
384  };
388  unsigned short get_num_looks_range()
389  {
390  return _num_looks_range;
391  };
395  std::string get_filter_range()
396  {
397  return _filter_range;
398  };
403  {
404  return _filter_coef_range;
405  };
409  std::string get_bandwidth()
410  {
411  return _bandwidth;
412  };
416  std::string get_nominal_chirp()
417  {
418  return _nominal_chirp;
419  };
423  unsigned int get_num_lines_proc()
424  {
425  return _num_lines_proc;
426  };
430  unsigned short get_num_look_az()
431  {
432  return _num_look_az;
433  };
438  {
439  return _look_bw_az;
440  };
444  float get_to_bw_az()
445  {
446  return _to_bw_az;
447  };
451  std::string get_filter_az()
452  {
453  return _filter_az;
454  };
459  {
460  return _filter_coef_az;
461  };
465  float* get_az_fm_rate()
466  {
467  return _az_fm_rate;
468  };
473  {
474  return _ax_fm_origin;
475  };
480  {
481  return _dop_amb_coef;
482  };
487  {
488  return _calibration_factors;
489  };
493  std::string get_noise_estimation()
494  {
495  return _noise_estimation;
496  };
500  std::string get_output_statistics()
501  {
502  return _output_statistics;
503  };
508  {
510  };
514  std::string get_echo_comp()
515  {
516  return _echo_comp;
517  };
521  std::string get_echo_comp_ratio()
522  {
523  return _echo_comp_ratio;
524  };
528  std::string get_init_cal_comp()
529  {
530  return _init_cal_comp;
531  };
535  std::string get_init_cal_ratio()
536  {
537  return _init_cal_ratio;
538  };
542  std::string get_per_cal_comp()
543  {
544  return _per_cal_comp;
545  };
549  std::string get_per_cal_ratio()
550  {
551  return _per_cal_ratio;
552  };
556  std::string get_noise_comp()
557  {
558  return _noise_comp;
559  };
563  std::string get_noise_comp_ratio()
564  {
565  return _noise_comp_ratio;
566  };
570  unsigned int* get_beam_overlap()
571  {
572  return _beam_overlap;
573  };
577  float* get_beam_param()
578  {
579  return _beam_param;
580  };
584  unsigned int* get_lines_per_burst()
585  {
586  return _lines_per_burst;
587  };
592  {
593  return _time_first_SS1_echo;
594  };
599  {
601  };
606  {
608  };
613  {
615  };
620  {
621  return _x_pos_1;
622  };
627  {
628  return _y_pos_1;
629  };
634  {
635  return _z_pos_1;
636  };
641  {
642  return _x_vel_1;
643  };
648  {
649  return _y_vel_1;
650  };
655  {
656  return _z_vel_1;
657  };
662  {
664  };
669  {
671  };
676  {
678  };
683  {
684  return _x_pos_2;
685  };
690  {
691  return _y_pos_2;
692  };
697  {
698  return _z_pos_2;
699  };
704  {
705  return _x_vel_2;
706  };
711  {
712  return _y_vel_2;
713  };
718  {
719  return _z_vel_2;
720  };
725  {
727  };
732  {
734  };
739  {
741  };
746  {
747  return _x_pos_3;
748  };
753  {
754  return _y_pos_3;
755  };
760  {
761  return _z_pos_3;
762  };
767  {
768  return _x_vel_3;
769  };
774  {
775  return _y_vel_3;
776  };
781  {
782  return _z_vel_3;
783  };
788  {
790  };
795  {
797  };
802  {
804  };
809  {
810  return _x_pos_4;
811  };
816  {
817  return _y_pos_4;
818  };
823  {
824  return _z_pos_4;
825  };
830  {
831  return _x_vel_4;
832  };
837  {
838  return _y_vel_4;
839  };
844  {
845  return _z_vel_4;
846  };
851  {
853  };
858  {
860  };
865  {
867  };
872  {
873  return _x_pos_5;
874  };
879  {
880  return _y_pos_5;
881  };
886  {
887  return _z_pos_5;
888  };
893  {
894  return _x_vel_5;
895  };
900  {
901  return _y_vel_5;
902  };
907  {
908  return _z_vel_5;
909  };
910 
914  std::string _first_zero_doppler_time;
926  std::string _work_order_id;
930  float _time_diff;
934  std::string _swath_num;
950  unsigned int _num_output_lines;
954  unsigned int _num_samples_per_line;
958  std::string _data_type;
1030  std::string _raw_data_analysis;
1034  std::string _start_time_mds1;
1038  std::string _start_time_mds2;
1042  std::string _parameter_code;
1046  std::string _errors_counters;
1050  std::string _image_parameters1;
1054  float _prf_values[5];
1058  std::string _image_parameters2;
1066  float _range_ref;
1078  unsigned short _num_looks_range;
1082  std::string _filter_range;
1090  std::string _bandwidth;
1094  std::string _nominal_chirp;
1098  unsigned int _num_lines_proc;
1102  unsigned short _num_look_az;
1110  float _to_bw_az;
1114  std::string _filter_az;
1122  float _az_fm_rate[3];
1138  std::string _noise_estimation;
1142  std::string _output_statistics;
1150  std::string _echo_comp;
1154  std::string _echo_comp_ratio;
1158  std::string _init_cal_comp;
1162  std::string _init_cal_ratio;
1166  std::string _per_cal_comp;
1170  std::string _per_cal_ratio;
1174  std::string _noise_comp;
1178  std::string _noise_comp_ratio;
1182  unsigned int _beam_overlap[4];
1186  float _beam_param[4];
1190  unsigned int _lines_per_burst[5];
1375 
1376 
1377 private:
1378 
1379 };
1380 }
1381 #endif
1382 
1383 
unsigned int get_num_samples_per_line()
num_samples_per_line
unsigned int * get_lines_per_burst()
lines_per_burst[5]
std::string _time_first_SS1_echo
time_first_SS1_echo
std::string _output_statistics
output_statistics
unsigned int get_state_vector_time_3_sec()
state_vector_time_3 sec
unsigned int _state_vector_time_1_sec
state_vector_time_1_sec
int _state_vector_time_1_day
state_vector_time_1_day
unsigned int get_first_proc_range_samp()
first_proc_range_samp
int get_state_vector_time_3_day()
state_vector_time_3 day
std::string get_noise_estimation()
noise_estimation
unsigned int get_state_vector_time_4_microsec()
state_vector_time_4 microsec
unsigned int _lines_per_burst[5]
lines_per_burst[5]
unsigned int get_state_vector_time_4_sec()
state_vector_time_1 sec
EnvisatAsarRecord * Clone()
This function is able to create a new instance of the class initialised with the data of the calling ...
std::string get_parameter_code()
parameter_code
unsigned int _num_range_lines_per_burst
num_range_lines_per_burst
int get_state_vector_time_5_day()
state_vector_time_5 day
std::string get_init_cal_ratio()
init_cal_ratio
unsigned int get_num_lines_proc()
num_lines_proc
unsigned int get_num_output_lines()
num_output_lines
std::string get_raw_data_analysis()
raw_data_analysis
std::string get_output_statistics()
output_statistics
unsigned short get_num_looks_range()
num_looks_range
unsigned int get_state_vector_time_2_sec()
state_vector_time_2 sec
friend std::istream & operator>>(std::istream &is, MainProcessingParameters &data)
This function reads a MainProcessingParameters from a stream.
std::string get_echo_comp_ratio()
echo_comp_ratio
std::string _calibration_factors
calibration_factors
std::string get_image_parameters2()
image_parameters block2
MainProcessingParameters & operator=(const MainProcessingParameters &rhs)
Copy operator.
bool get_range_spread_comp_flag()
range_spread_comp_flag
std::string get_image_parameters1()
image_parameters block1
float get_time_diff_zero_doppler()
time_diff_zero_doppler
unsigned int _state_vector_time_3_microsec
state_vector_time_3_microsec
std::string get_start_time_mds2()
start_time_mds2
unsigned int _beam_overlap[4]
beam_overlap[4]
unsigned short _num_looks_range
num_looks_range
unsigned int get_state_vector_time_2_microsec()
state_vector_time_1 microsec
std::string get_time_first_SS1_echo()
time_first_SS1_echo
unsigned int _first_proc_range_samp
first_proc_range_samp
unsigned int _num_samples_per_line
num_samples_per_line
unsigned int _state_vector_time_1_microsec
state_vector_time_1_microsec
std::string _image_parameters1
image_parameters block 1
unsigned int get_state_vector_time_1_sec()
state_vector_time_1 sec
std::string get_calibration_factors()
calibration_factors
unsigned int * get_beam_overlap()
beam_overlap[4]
int get_state_vector_time_1_day()
state_vector_time_1 day
unsigned int get_num_range_lines_per_burst()
num_range_lines_per_burst
std::string _first_zero_doppler_time
first_zero_doppler_time
std::string _last_zero_doppler_time
last_zero_doppler_time
bool get_vga_com_nom_time_flag()
vga_com_nom_time_flag
int _state_vector_time_3_day
state_vector_time_3_day
This class is able to read the ASAR MainProcessingParameters record.
std::string get_start_time_mds1()
start_time_mds1
unsigned int get_state_vector_time_5_sec()
state_vector_time_5 sec
float get_avg_scene_height_ellpsoid()
avg_scene_height_ellpsoid
int _state_vector_time_5_day
state_vector_time_5_day
std::string get_last_zero_doppler_time()
last_zero_doppler_time
int get_state_vector_time_2_day()
state_vector_time_2 day
int get_state_vector_time_4_day()
state_vector_time_4 day
unsigned int _state_vector_time_5_sec
state_vector_time_5_sec
void Read(std::istream &is)
Reads the class data from a stream.
unsigned int get_state_vector_time_1_microsec()
state_vector_time_1 microsec
unsigned int get_state_vector_time_5_microsec()
state_vector_time_5 microsec
float _time_diff_zero_doppler
time_diff_zero_doppler
unsigned int get_state_vector_time_3_microsec()
state_vector_time_3 microsec
std::string get_errors_counters()
errors_counters
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
int _state_vector_time_2_day
state_vector_time_2_day
bool _range_spread_comp_flag
range_spread_comp_flag
friend std::ostream & operator<<(std::ostream &os, const MainProcessingParameters &data)
This function writes the MainProcessingParameters in a stream.
EnvisatAsarRecord * Instanciate()
This function is able to create a new instance of the class.
float _avg_scene_height_ellpsoid
avg_scene_height_ellpsoid
unsigned int _state_vector_time_2_microsec
state_vector_time_2_microsec
This class is the base class of all the Envisat ASAR record classes.
unsigned int _state_vector_time_3_sec
state_vector_time_3_sec
void Write(std::ostream &os)
Writes the class to a stream.
std::string get_first_zero_doppler_time()
first_zero_doppler_time
unsigned int _state_vector_time_4_microsec
state_vector_time_4_microsec
unsigned int _num_output_lines
num_output_lines
std::string get_noise_comp_ratio()
noise_comp_ratio
std::string _image_parameters2
image_parameters block 2
unsigned int _state_vector_time_4_sec
state_vector_time_4_sec
bool _gm_rng_comp_inv_filter_flag
gm_rng_comp_inv_filter_flag
int _state_vector_time_4_day
state_vector_time_4_day
unsigned int _state_vector_time_5_microsec
state_vector_time_5_microsec
unsigned int _state_vector_time_2_sec
state_vector_time_2_sec
std::string _raw_data_analysis
raw_data_analysis
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
bool get_gm_rng_comp_inv_filter_flag()
gm_rng_comp_inv_filter_flag