Home
|
Main Page
|
Modules
|
Namespace List
|
Class Hierarchy
|
Alphabetical List
|
Data Structures
|
File List
|
Namespace Members
|
Data Fields
|
Globals
|
Related Pages
Src
E
elastix
Components
Transforms
TranslationStackTransform
itkTranslationStackTransform.h
Go to the documentation of this file.
1
/*=========================================================================
2
*
3
* Copyright UMC Utrecht and contributors
4
*
5
* Licensed under the Apache License, Version 2.0 (the "License");
6
* you may not use this file except in compliance with the License.
7
* You may obtain a copy of the License at
8
*
9
* http://www.apache.org/licenses/LICENSE-2.0.txt
10
*
11
* Unless required by applicable law or agreed to in writing, software
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
* See the License for the specific language governing permissions and
15
* limitations under the License.
16
*
17
*=========================================================================*/
18
#ifndef itkTranslationStackTransform_h
19
#define itkTranslationStackTransform_h
20
21
#include "
itkStackTransform.h
"
22
#include "
itkAdvancedTranslationTransform.h
"
23
#include "
elxElastixBase.h
"
24
25
namespace
itk
26
{
27
template
<
unsigned
int
NDimension>
28
class
ITK_TEMPLATE_EXPORT
TranslationStackTransform
29
:
public
itk::StackTransform
<elx::ElastixBase::CoordRepType, NDimension, NDimension>
30
{
31
private
:
32
using
CoordRepType
= elx::ElastixBase::CoordRepType;
33
34
public
:
35
ITK_DISALLOW_COPY_AND_MOVE
(
TranslationStackTransform
);
36
37
using
Self
=
TranslationStackTransform
;
38
using
Superclass
=
itk::StackTransform<CoordRepType, NDimension, NDimension>
;
39
using
Pointer
= itk::SmartPointer<TranslationStackTransform>;
40
itkNewMacro(
Self
);
41
itkTypeMacro(
TranslationStackTransform
,
Superclass
);
42
43
protected
:
45
TranslationStackTransform
() =
default
;
46
48
~TranslationStackTransform
()
override
=
default
;
49
50
private
:
52
typename
Superclass::SubTransformPointer
53
CreateSubTransform
()
const override
54
{
55
return
AdvancedTranslationTransform<CoordRepType, NDimension - 1>::New
().GetPointer();
56
}
57
};
58
59
}
// namespace itk
60
61
#endif
itk::AdvancedTranslationTransform
Translation transformation of a vector space (e.g. space coordinates)
Definition
itkAdvancedTranslationTransform.h:55
itk::StackTransform
Implements stack of transforms: one for every last dimension index.
Definition
itkStackTransform.h:41
itk::StackTransform::SubTransformPointer
typename SubTransformType::Pointer SubTransformPointer
Definition
itkStackTransform.h:86
itk::TranslationStackTransform
Definition
itkTranslationStackTransform.h:30
itk::TranslationStackTransform::ITK_DISALLOW_COPY_AND_MOVE
ITK_DISALLOW_COPY_AND_MOVE(TranslationStackTransform)
itk::TranslationStackTransform::~TranslationStackTransform
~TranslationStackTransform() override=default
itk::TranslationStackTransform::Pointer
itk::SmartPointer< TranslationStackTransform > Pointer
Definition
itkTranslationStackTransform.h:39
itk::TranslationStackTransform::CoordRepType
elx::ElastixBase::CoordRepType CoordRepType
Definition
itkTranslationStackTransform.h:32
itk::TranslationStackTransform::CreateSubTransform
Superclass::SubTransformPointer CreateSubTransform() const override
Definition
itkTranslationStackTransform.h:53
itk::TranslationStackTransform::TranslationStackTransform
TranslationStackTransform()=default
elxElastixBase.h
itkAdvancedTranslationTransform.h
itkStackTransform.h
itk
Definition
itkAdvancedImageToImageMetric.h:43
Generated on 2024-07-17 for elastix by
1.11.0 (9b424b03c9833626cd435af22a444888fbbb192d)