OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
AttitudeData.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 AttitudeData_h
13 #define AttitudeData_h
14 
15 #include <iostream>
16 
19 
20 #include "DataPointDataRecord.h"
21 
22 namespace ossimplugins
23 {
29 {
30 public:
34  AttitudeData();
35 
39  ~AttitudeData();
40 
44  AttitudeData(const AttitudeData& rhs);
45 
49  AttitudeData& operator=(const AttitudeData& rhs);
53  friend std::ostream& operator<<(std::ostream& os, const AttitudeData& data);
54 
59 
64  {
65  return new AttitudeData();
66  };
67 
72  {
73  return new AttitudeData(*this);
74  };
75 
79  void Read(std::istream& is)
80  {
81  is>>*this;
82  };
83 
87  void Write(std::ostream& os)
88  {
89  os<<*this;
90  };
91 
95  int get_npoint()
96  {
97  return _npoint;
98  };
103  {
104  return _att_vect;
105  };
109  double get_pitch_bias()
110  {
111  return _pitch_bias;
112  };
116  double get_roll_bias()
117  {
118  return _roll_bias;
119  };
123  double get_yaw_bias()
124  {
125  return _yaw_bias;
126  };
127 
128 
129 protected:
133  int _npoint;
141  double _pitch_bias;
145  double _roll_bias;
149  double _yaw_bias;
150 
151 
152 private:
153 };
154 }
155 #endif
double _pitch_bias
Pitch bias (degrees)
Definition: AttitudeData.h:141
RadarSatRecord * Clone()
This function is able to create a new instance of the class initialised with the data of the calling ...
Definition: AttitudeData.h:71
RadarSatRecord * Instanciate()
This function is able to create a new instance of the class.
Definition: AttitudeData.h:63
friend std::istream & operator>>(std::istream &is, AttitudeData &data)
This function reads a AttitudeData from a stream.
This class is the base class of all the record classes.
void Read(std::istream &is)
Reads the class data from a stream.
Definition: AttitudeData.h:79
double get_roll_bias()
Roll bias (degrees)
Definition: AttitudeData.h:116
double _roll_bias
Roll bias (degrees)
Definition: AttitudeData.h:145
This class is able to read a Data point data record.
double _yaw_bias
Yaw bias (degrees)
Definition: AttitudeData.h:149
double get_yaw_bias()
Yaw bias (degrees)
Definition: AttitudeData.h:123
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
void Write(std::ostream &os)
Writes the class to a stream.
Definition: AttitudeData.h:87
DataPointDataRecord * get_att_vect()
Data points
Definition: AttitudeData.h:102
double get_pitch_bias()
Pitch bias (degrees)
Definition: AttitudeData.h:109
friend std::ostream & operator<<(std::ostream &os, const AttitudeData &data)
This function writes the AttitudeData in a stream.
int _npoint
Number of data points.
Definition: AttitudeData.h:126
int get_npoint()
Number of data points.
Definition: AttitudeData.h:95
AttitudeData & operator=(const AttitudeData &rhs)
Copy operator.
This class is able to read a Attitude data record.
Definition: AttitudeData.h:28
DataPointDataRecord _att_vect[20]
Data points
Definition: AttitudeData.h:137
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23