OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
AlosPalsarPositionVectorRecord.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 // "Copyright Centre for Remote Imaging, Sensing and Processing"
5 //
6 // License: LGPL
7 //
8 // See LICENSE.txt file in the top level directory for more details.
9 //
10 //----------------------------------------------------------------------------
11 // $Id$
12 
13 #ifndef AlosPalsarPositionVectorRecord_h
14 #define AlosPalsarPositionVectorRecord_h
15 
16 #include <iostream>
17 #include <cstdlib>
19 
20 namespace ossimplugins
21 {
22 
28 {
29 public:
34 
39 
44 
53 
58 
62  const double* get_pos() const
63  {
64  return _pos;
65  };
66 
70  const double* get_vel() const
71  {
72  return _vel;
73  };
74 
75 protected:
79  double _pos[3];
83  double _vel[3];
84 private:
85 
86 
87 };
88 }
89 #endif
friend std::ostream & operator<<(std::ostream &os, const AlosPalsarPositionVectorRecord &data)
This function write the AlosPalsar PositionVectorRecord in a stream.
friend std::istream & operator>>(std::istream &is, AlosPalsarPositionVectorRecord &data)
This function read a AlosPalsar PositionVectorRecord from a stream.
const double * get_vel() const
Data point velocity (mm/s)
This class is able to read a position vector record.
const double * get_pos() const
Data point position (m)
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
AlosPalsarPositionVectorRecord & operator=(const AlosPalsarPositionVectorRecord &rhs)
Copy operator.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23