OTB  9.0.0
Orfeo Toolbox
otbPolarimetricData.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2005-2022 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 
27 namespace otb
28 {
33 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;
34 
45 class ITK_EXPORT PolarimetricData : public itk::DataObject
46 {
47 public:
50  typedef itk::DataObject Superclass;
51  typedef itk::SmartPointer<Self> Pointer;
52  typedef itk::SmartPointer<const Self> ConstPointer;
53 
55  itkTypeMacro(PolarimetricData, DataObject);
56 
58  itkNewMacro(Self);
59 
61  void DetermineArchitecture(bool* PresentInputImages);
62  void DetermineArchitecture(int NumberOfImages, bool EmissionH, bool EmissionV);
64 
66  itkSetMacro(ArchitectureType, ArchitectureType);
67  itkGetMacro(ArchitectureType, ArchitectureType);
69 
70 protected:
73 
75  ~PolarimetricData() override
76  {
77  }
78 
80  void PrintSelf(std::ostream& os, itk::Indent indent) const override;
81 
82 private:
83  PolarimetricData(const Self&) = delete;
84  void operator=(const Self&) = delete;
85 
88 };
89 
90 } // end namespace otb
91 
92 #endif
otb::PolarimetricData::m_ArchitectureType
ArchitectureType m_ArchitectureType
Definition: otbPolarimetricData.h:87
otb::HH_HV_VH_VV
@ HH_HV_VH_VV
Definition: otbPolarimetricData.h:33
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition: otbJoinContainer.h:32
otb::PolarimetricData::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: otbPolarimetricData.h:52
otb::PolarimetricData::Pointer
itk::SmartPointer< Self > Pointer
Definition: otbPolarimetricData.h:51
otb::ArchitectureType
ArchitectureType
This enumeration describes the different architectures we can find in polarimetry....
Definition: otbPolarimetricData.h:33
otb::HH_VV
@ HH_VV
Definition: otbPolarimetricData.h:33
otb::UNKNOWN_ARCHITECTURE
@ UNKNOWN_ARCHITECTURE
Definition: otbPolarimetricData.h:33
otb::PolarimetricData
This class allows determining the type of architecture we get.
Definition: otbPolarimetricData.h:45
otb::PolarimetricData::Self
PolarimetricData Self
Definition: otbPolarimetricData.h:49
otb::PolarimetricData::Superclass
itk::DataObject Superclass
Definition: otbPolarimetricData.h:50
otb::HH_HV_VV
@ HH_HV_VV
Definition: otbPolarimetricData.h:33
otb::PolarimetricData::~PolarimetricData
~PolarimetricData() override
Definition: otbPolarimetricData.h:75
otb::HH_VH_VV
@ HH_VH_VV
Definition: otbPolarimetricData.h:33
otb::VH_VV
@ VH_VV
Definition: otbPolarimetricData.h:33
otb::HH_HV
@ HH_HV
Definition: otbPolarimetricData.h:33