OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
cnes
src
otb
Sensor.cpp
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
#include <
otb/Sensor.h
>
13
#include <
otb/SensorParams.h
>
14
#include <
otb/PlatformPosition.h
>
15
16
#include <cstring>
17
18
namespace
ossimplugins
19
{
20
21
22
Sensor::Sensor
(
SensorParams
* params,
PlatformPosition
* position)
23
{
24
_params
= params->
Clone
();
25
_position
= position->
Clone
();
26
}
27
28
Sensor::~Sensor
()
29
{
30
if
(
_params
!= NULL)
31
{
32
delete
_params
;
33
}
34
35
if
(
_position
!= NULL)
36
{
37
delete
_position
;
38
}
39
}
40
}
ossimplugins::PlatformPosition
This class handles the platform position.
Definition:
PlatformPosition.h:33
PlatformPosition.h
ossimplugins::Sensor::~Sensor
virtual ~Sensor()
Destructor.
Definition:
Sensor.cpp:28
ossimplugins::SensorParams
This class handles the sensor parameters.
Definition:
SensorParams.h:29
ossimplugins
Definition:
AlosPalsarData.cpp:26
Sensor.h
ossimplugins::PlatformPosition::Clone
PlatformPosition * Clone() const
Definition:
PlatformPosition.h:79
ossimplugins::Sensor::_position
PlatformPosition * _position
Definition:
Sensor.h:55
ossimplugins::SensorParams::Clone
virtual SensorParams * Clone()
Definition:
SensorParams.h:98
ossimplugins::Sensor::Sensor
Sensor(SensorParams *params, PlatformPosition *position)
Constructor.
Definition:
Sensor.cpp:22
SensorParams.h
ossimplugins::Sensor::_params
SensorParams * _params
Definition:
Sensor.h:54
Generated on Fri Aug 3 2018 08:46:55 for OSSIM - Open Source Software Image Map by
1.8.14