OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ErsSarPositionVectorRecord.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 ErsSarPositionVectorRecord_h
13 #define ErsSarPositionVectorRecord_h
14 
15 #include <iostream>
16 #include <cstdlib>
17 #include "erssar/ErsSarRecord.h"
18 
19 namespace ossimplugins
20 {
21 
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
const double * get_vel() const
Data point velocity (mm/s)
const double * get_pos() const
Data point position (m)
ErsSarPositionVectorRecord & operator=(const ErsSarPositionVectorRecord &rhs)
Copy operator.
double _vel[3]
Data point velocity (mm/s)
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
This class is able to read a position vector record.
friend std::ostream & operator<<(std::ostream &os, const ErsSarPositionVectorRecord &data)
This function write the ErsSar PositionVectorRecord in a stream.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23
friend std::istream & operator>>(std::istream &is, ErsSarPositionVectorRecord &data)
This function read a ErsSar PositionVectorRecord from a stream.