OTB  10.0.0
Orfeo Toolbox
otbPolarimetricData.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 
21 #ifndef otbPolarimetricData_h
22 #define otbPolarimetricData_h
23 
24 #include "itkDataObject.h"
25 #include "itkObjectFactory.h"
26 #include "OTBPolarimetryExport.h"
27 
28 namespace otb
29 {
34 typedef enum { HH_HV_VH_VV = 0, HH_HV_VV = 1, HH_VH_VV = 2, HH_HV = 3, VH_VV = 4, HH_VV = 5, UNKNOWN_ARCHITECTURE = 6 } ArchitectureType;
35 
46 class OTBPolarimetry_EXPORT PolarimetricData : public itk::DataObject
47 {
48 public:
51  typedef itk::DataObject Superclass;
52  typedef itk::SmartPointer<Self> Pointer;
53  typedef itk::SmartPointer<const Self> ConstPointer;
54 
56  itkTypeMacro(PolarimetricData, DataObject);
57 
59  itkNewMacro(Self);
60 
62  void DetermineArchitecture(bool* PresentInputImages);
63  void DetermineArchitecture(int NumberOfImages, bool EmissionH, bool EmissionV);
65 
70 
71 protected:
74 
76  ~PolarimetricData() override
77  {
78  }
79 
81  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
82 
83 private:
84  PolarimetricData(const Self&) = delete;
85  void operator=(const Self&) = delete;
86 
89 };
90 
91 } // end namespace otb
92 
93 #endif
This class allows determining the type of architecture we get.
void PrintSelf(std::ostream &os, itk::Indent indent) const override
itk::SmartPointer< const Self > ConstPointer
void DetermineArchitecture(bool *PresentInputImages)
itk::DataObject Superclass
ArchitectureType m_ArchitectureType
void DetermineArchitecture(int NumberOfImages, bool EmissionH, bool EmissionV)
itk::SmartPointer< Self > Pointer
void operator=(const Self &)=delete
PolarimetricData(const Self &)=delete
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
ArchitectureType
This enumeration describes the different architectures we can find in polarimetry....
@ UNKNOWN_ARCHITECTURE