OTB
9.0.0
Orfeo Toolbox
Modules
Miscellaneous
Simulation
include
otbLabelToSimulationParametersBase.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
22
#ifndef otbLabelToSimulationParametersBase_h
23
#define otbLabelToSimulationParametersBase_h
24
25
26
#include "itkProcessObject.h"
27
#include "itkArray.h"
28
29
namespace
otb
30
{
31
62
63
template
<
class
TLabel>
64
class
ITK_EXPORT
LabelToSimulationParametersBase
:
public
itk::ProcessObject
65
{
66
public
:
68
typedef
LabelToSimulationParametersBase
Self
;
69
typedef
itk::ProcessObject
Superclass
;
70
typedef
itk::SmartPointer<Self>
Pointer
;
71
typedef
itk::SmartPointer<const Self>
ConstPointer
;
72
74
typedef
TLabel
LabelType
;
75
typedef
double
ParametersValueType
;
76
typedef
itk::Array<ParametersValueType>
ParametersType
;
77
78
80
itkTypeMacro(
LabelToSimulationParametersBase
, ProcessObject);
81
82
itkSetMacro(Label,
LabelType
);
83
itkGetMacro(Label,
LabelType
);
84
85
itkSetMacro(Step1Parameters,
ParametersType
);
86
itkGetMacro(Step1Parameters,
ParametersType
);
87
88
itkSetMacro(Step2Parameters,
ParametersType
);
89
itkGetMacro(Step2Parameters,
ParametersType
);
90
91
// virtual const ParametersType & GetStep1Parameters() = 0;
92
// virtual const ParametersType & GetStep2Parameters() = 0;
93
94
protected
:
95
LabelToSimulationParametersBase
(){};
96
~LabelToSimulationParametersBase
()
override
97
{
98
}
99
100
101
private
:
102
LabelToSimulationParametersBase
(
const
Self&) =
delete
;
103
void
operator=(
const
Self&) =
delete
;
104
105
ParametersType
m_Step1Parameters
;
106
ParametersType
m_Step2Parameters
;
107
LabelType
m_Label
;
108
};
109
110
}
// end namespace otb
111
112
#ifndef OTB_MANUAL_INSTANTIATION
113
#endif
114
115
#endif
otb::LabelToSimulationParametersBase::ParametersType
itk::Array< ParametersValueType > ParametersType
Definition:
otbLabelToSimulationParametersBase.h:76
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition:
otbJoinContainer.h:32
otb::LabelToSimulationParametersBase::Self
LabelToSimulationParametersBase Self
Definition:
otbLabelToSimulationParametersBase.h:68
otb::LabelToSimulationParametersBase::m_Step2Parameters
ParametersType m_Step2Parameters
Definition:
otbLabelToSimulationParametersBase.h:106
otb::LabelToSimulationParametersBase::Superclass
itk::ProcessObject Superclass
Definition:
otbLabelToSimulationParametersBase.h:69
otb::LabelToSimulationParametersBase::LabelToSimulationParametersBase
LabelToSimulationParametersBase()
Definition:
otbLabelToSimulationParametersBase.h:95
otb::LabelToSimulationParametersBase::Pointer
itk::SmartPointer< Self > Pointer
Definition:
otbLabelToSimulationParametersBase.h:70
otb::LabelToSimulationParametersBase::LabelType
TLabel LabelType
Definition:
otbLabelToSimulationParametersBase.h:74
otb::LabelToSimulationParametersBase
Base class for all classes that take a label and outputs two set of parameters for two steps (step1,...
Definition:
otbLabelToSimulationParametersBase.h:64
otb::LabelToSimulationParametersBase::~LabelToSimulationParametersBase
~LabelToSimulationParametersBase() override
Definition:
otbLabelToSimulationParametersBase.h:96
otb::LabelToSimulationParametersBase::m_Label
LabelType m_Label
Definition:
otbLabelToSimulationParametersBase.h:107
otb::LabelToSimulationParametersBase::ParametersValueType
double ParametersValueType
Definition:
otbLabelToSimulationParametersBase.h:75
otb::LabelToSimulationParametersBase::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition:
otbLabelToSimulationParametersBase.h:71
otb::LabelToSimulationParametersBase::m_Step1Parameters
ParametersType m_Step1Parameters
Definition:
otbLabelToSimulationParametersBase.h:105
Generated at Wed Feb 28 2024 15:22:50 for
OTB
with
1.8.17