20 #ifndef otbSensorTransformFactory_hxx
21 #define otbSensorTransformFactory_hxx
32 template <
class TScalarType,
unsigned int NInputDimensions,
unsigned int NOutputDimensions>
43 factories.push_back(TransformFactories::RPCForwardTransformFactory<TScalarType, NInputDimensions, NOutputDimensions>);
44 factories.push_back(TransformFactories::RPCInverseTransformFactory<TScalarType, NInputDimensions, NOutputDimensions>);
45 factories.push_back(TransformFactories::SARForwardTransformFactory<TScalarType, NInputDimensions, NOutputDimensions>);
46 factories.push_back(TransformFactories::SARInverseTransformFactory<TScalarType, NInputDimensions, NOutputDimensions>);
49 for (
auto& transformFactory : factories)
51 transformPointer = transformFactory(imd, direction);
56 return transformPointer;
61 otbLogMacro(Warning, <<
"The SensorTransform factory could not find a compatible Sensor Transform");