OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
CompensationDataRecord.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 CompensationDataRecord_h
13 #define CompensationDataRecord_h
14 
15 #include <iostream>
16 
19 
20 namespace ossimplugins
21 {
27 {
28 public:
33 
38 
43 
52 
57 
61  std::string get_comp_desig()
62  {
63  return _comp_desig;
64  };
68  std::string get_comp_descr()
69  {
70  return _comp_descr;
71  };
76  {
77  return _n_comp_rec;
78  };
83  {
84  return _comp_seq_no;
85  };
90  {
91  return _beam_tab_size;
92  };
96  double* get_beam_tab()
97  {
98  return _beam_tab;
99  };
103  std::string get_beam_type()
104  {
105  return _beam_type;
106  };
110  double get_look_angle()
111  {
112  return _look_angle;
113  };
118  {
119  return _beam_tab_inc;
120  };
121 
122 protected:
126  std::string _comp_desig;
130  std::string _comp_descr;
146  double _beam_tab[256];
150  std::string _beam_type;
154  double _look_angle;
159 private:
160 };
161 }
162 #endif
std::string _comp_descr
Compensation data descriptor
std::string get_comp_desig()
Compensation data designator.
friend std::istream & operator>>(std::istream &is, CompensationDataRecord &data)
This function reads a CompensationDataRecord from a stream.
double _look_angle
Look angle of beam table centre
int get_comp_seq_no()
Compensation record sequence number
double * get_beam_tab()
Elevation gain beam profile
double get_look_angle()
Look angle of beam table centre
int _n_comp_rec
Number of compensation records
double _beam_tab_inc
Increment between beam table entries
int _comp_seq_no
Compensation record sequence number
int get_n_comp_rec()
Number of compensation records
int get_beam_tab_size()
Number of beam table entries
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
double _beam_tab[256]
Elevation gain beam profile
CompensationDataRecord & operator=(const CompensationDataRecord &rhs)
Copy operator.
double get_beam_tab_inc()
Increment between beam table entries
int _beam_tab_size
Number of beam table entries
std::string _comp_desig
Compensation data designator.
std::string get_comp_descr()
Compensation data descriptor
friend std::ostream & operator<<(std::ostream &os, const CompensationDataRecord &data)
This function writes the CompensationDataRecord in a stream.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
This class is able to read a Compensation data record.