21 #ifndef otbSpot5InverseTransform_hxx
22 #define otbSpot5InverseTransform_hxx
29 template <
class TScalarType,
unsigned int NInputDimensions,
unsigned int NOutputDimensions>
33 template <
class TScalarType,
unsigned int NInputDimensions,
unsigned int NOutputDimensions>
38 worldPoint[0] =
static_cast<double>(point[0]);
39 worldPoint[1] =
static_cast<double>(point[1]);
40 if (NInputDimensions > 2)
41 worldPoint[2] =
static_cast<double>(point[2]);
50 pOut[0] =
static_cast<TScalarType
>(sensorPoint[0]) + 0.5;
51 pOut[1] =
static_cast<TScalarType
>(sensorPoint[1]) + 0.5;
53 if (NOutputDimensions > 2)
54 pOut[2] =
static_cast<TScalarType
>(worldPoint[2]);
62 template <
class TScalarType,
unsigned int NInputDimensions,
unsigned int NOutputDimensions>
65 Superclass::PrintSelf(os, indent);
66 os << indent <<
"Transformation direction: Inverse\n";
static DEMHandler & GetInstance()
double GetHeightAboveEllipsoid(double lon, double lat) const
itk::Point< double, 2 > Point2DType
SPOT5 sensor class, based on OSSIM Spot5SensorModel with ITK/GDAL implementation.
itk::Point< double, 3 > Point3DType
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.