|
OTB
9.0.0
Orfeo Toolbox
|
Go to the documentation of this file.
21 #ifndef otbSarInverseTransform_hxx
22 #define otbSarInverseTransform_hxx
29 template <
class TScalarType,
unsigned int NInputDimensions,
unsigned int NOutputDimensions>
33 template <
class TScalarType,
unsigned int NInputDimensions,
unsigned int NOutputDimensions>
39 worldPoint[0] =
static_cast<double>(point[0]);
40 worldPoint[1] =
static_cast<double>(point[1]);
41 if (NInputDimensions > 2)
42 worldPoint[2] =
static_cast<double>(point[2]);
46 this->m_Transformer->WorldToLineSample(worldPoint, sensorPoint);
51 pOut[0] =
static_cast<TScalarType
>(sensorPoint[0]) + 0.5;
52 pOut[1] =
static_cast<TScalarType
>(sensorPoint[1]) + 0.5;
54 if (NOutputDimensions > 2)
55 pOut[2] =
static_cast<TScalarType
>(worldPoint[2]);
63 template <
class TScalarType,
unsigned int NInputDimensions,
unsigned int NOutputDimensions>
66 Superclass::PrintSelf(os, indent);
67 os << indent <<
"Transformation direction: Inverse" << std::endl;
static DEMHandler & GetInstance()
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
itk::Point< double, 2 > Point2DType
itk::Point< double, 3 > Point3DType
double GetHeightAboveEllipsoid(double lon, double lat) const