OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
cnes
src
otb
RefPoint.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 RefPoint_h
13
#define RefPoint_h
14
15
#include <
ossim/plugin/ossimPluginConstants.h
>
16
17
class
ossimKeywordlist
;
18
19
namespace
ossimplugins
20
{
21
22
23
class
Ephemeris;
24
25
29
class
OSSIM_PLUGINS_DLL
RefPoint
30
{
31
public
:
35
RefPoint
();
39
~
RefPoint
();
43
RefPoint
(
const
RefPoint
& rhs);
47
RefPoint
& operator=(
const
RefPoint
& rhs);
48
49
void
set_ephemeris(
Ephemeris
* ephemeris);
50
void
set_distance(
double
distance
);
51
void
set_pix_line(
double
pix_line);
52
void
set_pix_col(
double
pix_col);
53
54
Ephemeris
* get_ephemeris();
55
double
get_distance()
const
;
56
double
get_pix_line()
const
;
57
double
get_pix_col()
const
;
58
59
RefPoint
*
Clone
()
60
{
61
return
new
RefPoint
(*
this
);
62
};
63
70
bool
saveState(
ossimKeywordlist
& kwl,
const
char
* prefix=0)
const
;
71
77
bool
loadState (
const
ossimKeywordlist
&kwl,
const
char
*prefix=0);
78
79
protected
:
80
Ephemeris
*
_ephemeris
;
81
double
_distance
;
82
double
_pix_line
;
83
double
_pix_col
;
84
private
:
85
};
86
}
87
88
#endif
ossimplugins::RefPoint::_pix_line
double _pix_line
Definition:
RefPoint.h:82
ossimplugins::RefPoint::Clone
RefPoint * Clone()
Definition:
RefPoint.h:59
ossimKeywordlist
Represents serializable keyword/value map.
Definition:
ossimKeywordlist.h:50
ossimplugins::RefPoint
This class handles the referential point.
Definition:
RefPoint.h:29
ossimplugins
Definition:
AlosPalsarData.cpp:26
ossimplugins::Ephemeris
This class represents an ephemeris.
Definition:
Ephemeris.h:28
ossimplugins::RefPoint::_distance
double _distance
Definition:
RefPoint.h:81
ossimplugins::RefPoint::_pix_col
double _pix_col
Definition:
RefPoint.h:83
OSSIM_PLUGINS_DLL
#define OSSIM_PLUGINS_DLL
Definition:
ossimPluginConstants.h:39
ossimplugins::RefPoint::_ephemeris
Ephemeris * _ephemeris
Definition:
RefPoint.h:80
ossimPluginConstants.h
distance
float distance(double lat1, double lon1, double lat2, double lon2, int units)
Generated on Fri Aug 3 2018 08:46:55 for OSSIM - Open Source Software Image Map by
1.8.14