OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
cnes
src
otb
PlatformPosition.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 PlatformPosition_h
13
#define PlatformPosition_h
14
15
#include <vector>
16
#include <
ossim/plugin/ossimPluginConstants.h
>
17
#include <
otb/JSDDateTime.h
>
18
19
class
ossimKeywordlist
;
20
21
namespace
ossimplugins
22
{
23
24
25
class
Ephemeris;
26
class
HermiteInterpolator;
27
28
33
class
OSSIM_PLUGINS_DLL
PlatformPosition
34
{
35
public
:
39
PlatformPosition
();
43
~
PlatformPosition
();
47
PlatformPosition
(
const
PlatformPosition
& rhs);
48
57
PlatformPosition
(
Ephemeris
** data,
int
nbrData);
58
62
PlatformPosition
& operator=(
const
PlatformPosition
& rhs);
63
69
Ephemeris
* Interpolate(
JSDDateTime
date)
const
;
70
71
77
bool
getPlatformPositionAtTime(
JSDDateTime
time, std::vector<double>& position, std::vector<double>& speed);
78
79
PlatformPosition
*
Clone
()
const
80
{
81
return
new
PlatformPosition
(*
this
);
82
};
83
84
void
setData(
Ephemeris
** data,
int
nbrData);
85
Ephemeris
* getData(
int
noData)
const
;
86
87
int
getNbrData()
const
;
94
bool
saveState(
ossimKeywordlist
& kwl,
95
const
char
* prefix=0)
const
;
96
102
bool
loadState(
const
ossimKeywordlist
&kwl,
const
char
*prefix=0);
103
104
protected
:
105
109
void
InitData(
Ephemeris
** data,
int
nbrData);
110
void
InitAuxiliaryData();
111
116
int
_nbrData
;
117
121
Ephemeris
**
_data
;
122
126
void
Clear();
127
128
private
:
129
double
*
_t
;
130
double
**
_p
;
131
double
**
_dp
;
132
HermiteInterpolator
**
_interpolator
;
133
};
134
}
135
136
#endif
ossimplugins::PlatformPosition::_nbrData
int _nbrData
Number of platform positions.
Definition:
PlatformPosition.h:116
ossimplugins::PlatformPosition::_dp
double ** _dp
Definition:
PlatformPosition.h:131
ossimplugins::HermiteInterpolator
Abstract interpolator.
Definition:
HermiteInterpolator.h:26
ossimplugins::PlatformPosition
This class handles the platform position.
Definition:
PlatformPosition.h:33
ossimKeywordlist
Represents serializable keyword/value map.
Definition:
ossimKeywordlist.h:50
ossimplugins::PlatformPosition::_p
double ** _p
Definition:
PlatformPosition.h:130
ossimplugins::PlatformPosition::_t
double * _t
Definition:
PlatformPosition.h:129
ossimplugins
Definition:
AlosPalsarData.cpp:26
ossimplugins::Ephemeris
This class represents an ephemeris.
Definition:
Ephemeris.h:28
ossimplugins::PlatformPosition::_data
Ephemeris ** _data
Platform positions.
Definition:
PlatformPosition.h:121
ossimplugins::PlatformPosition::Clone
PlatformPosition * Clone() const
Definition:
PlatformPosition.h:79
OSSIM_PLUGINS_DLL
#define OSSIM_PLUGINS_DLL
Definition:
ossimPluginConstants.h:39
JSDDateTime.h
ossimPluginConstants.h
ossimplugins::PlatformPosition::_interpolator
HermiteInterpolator ** _interpolator
Definition:
PlatformPosition.h:132
ossimplugins::JSDDateTime
This class represents a date.
Definition:
JSDDateTime.h:30
Generated on Fri Aug 3 2018 08:46:55 for OSSIM - Open Source Software Image Map by
1.8.14