OTB
9.0.0
Orfeo Toolbox
Modules
Learning
DimensionalityReductionLearning
include
otbSOMModelFactory.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
#ifndef otbSOMModelFactory_h
21
#define otbSOMModelFactory_h
22
23
#include "itkObjectFactoryBase.h"
24
#include "itkImageIOBase.h"
25
26
namespace
otb
27
{
28
35
template
<
class
TInputValue,
class
TTargetValue,
unsigned
int
MapDimension>
36
class
ITK_EXPORT
SOMModelFactory
:
public
itk::ObjectFactoryBase
37
{
38
public
:
40
typedef
SOMModelFactory
Self
;
41
typedef
itk::ObjectFactoryBase
Superclass
;
42
typedef
itk::SmartPointer<Self>
Pointer
;
43
typedef
itk::SmartPointer<const Self>
ConstPointer
;
44
46
const
char
* GetITKSourceVersion(
void
)
const override
;
47
const
char
* GetDescription(
void
)
const override
;
49
51
itkFactorylessNewMacro(
Self
);
52
54
itkTypeMacro(
SOMModelFactory
, itk::ObjectFactoryBase);
55
57
static
void
RegisterOneFactory
(
void
)
58
{
59
Pointer
SOMFactory =
SOMModelFactory::New
();
60
itk::ObjectFactoryBase::RegisterFactory(SOMFactory);
61
}
63
64
protected
:
65
SOMModelFactory
();
66
~
SOMModelFactory
()
override
;
67
68
private
:
69
SOMModelFactory
(
const
Self&) =
delete
;
70
void
operator=(
const
Self&) =
delete
;
71
};
72
73
}
// namespace otb
74
75
#ifndef OTB_MANUAL_INSTANTIATION
76
#include "
otbSOMModelFactory.hxx
"
77
#endif
78
79
#endif
otbSOMModelFactory.hxx
otb::SOMModelFactory::New
static Pointer New(void)
otb::SOMModelFactory::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition:
otbSOMModelFactory.h:43
otb
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
Definition:
otbJoinContainer.h:32
otb::SOMModelFactory::Pointer
itk::SmartPointer< Self > Pointer
Definition:
otbSOMModelFactory.h:42
otb::SOMModelFactory::Self
SOMModelFactory Self
Definition:
otbSOMModelFactory.h:40
otb::SOMModelFactory
Definition:
otbSOMModelFactory.h:36
otb::SOMModelFactory::RegisterOneFactory
static void RegisterOneFactory(void)
Definition:
otbSOMModelFactory.h:57
otb::SOMModelFactory::Superclass
itk::ObjectFactoryBase Superclass
Definition:
otbSOMModelFactory.h:41
Generated at Wed Feb 28 2024 15:23:50 for
OTB
with
1.8.17