OTB  10.0.0
Orfeo Toolbox
otbSensorTransformFactory.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2024 Centre National d'Etudes Spatiales (CNES)
3  *
4  * This file is part of Orfeo Toolbox
5  *
6  * https://www.orfeo-toolbox.org/
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  */
20 #ifndef otbSensorTransformFactory_h
21 #define otbSensorTransformFactory_h
22 
23 #include "otbSensorTransformBase.h"
24 #include "itkMacro.h"
25 
26 namespace otb
27 {
33 //template <class TScalarType, unsigned int NInputDimensions, unsigned int NOutputDimensions>
34 class ITK_EXPORT SensorTransformFactory : boost::noncopyable
35 {
36 public:
39 
42 
44  template <class TScalarType, unsigned int NInputDimensions, unsigned int NOutputDimensions>
46  CreateTransform(const ImageMetadata &imd, TransformDirection d) const;
47 
48 private:
51 };
52 }
53 
54 #ifndef OTB_MANUAL_INSTANTIATION
56 #endif
57 
58 #endif // otbSensorTransformFactory_h
Generic class containing image metadata used in OTB.
itk::SmartPointer< Self > Pointer
Creates an instance of SensorTransform (RPC, SAR ...) object using object factory.
static SensorTransformFactory & GetInstance()
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
TransformDirection
Definition: otbTransform.h:30