ITK  6.0.0
Insight Toolkit
itkDisplacementFieldTransformParametersAdaptor.h
Go to the documentation of this file.
1/*=========================================================================
2 *
3 * Copyright NumFOCUS
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 * https://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 itkDisplacementFieldTransformParametersAdaptor_h
19#define itkDisplacementFieldTransformParametersAdaptor_h
20
22
23namespace itk
24{
63template <typename TTransform>
64class ITK_TEMPLATE_EXPORT DisplacementFieldTransformParametersAdaptor : public TransformParametersAdaptor<TTransform>
65{
66public:
67 ITK_DISALLOW_COPY_AND_MOVE(DisplacementFieldTransformParametersAdaptor);
68
74
76 itkNewMacro(Self);
77
79 itkOverrideGetNameOfClassMacro(DisplacementFieldTransformParametersAdaptor);
80
82 using TransformType = TTransform;
84 using FixedParametersType = typename TransformType::FixedParametersType;
85 using FixedParametersValueType = typename TransformType::FixedParametersValueType;
86 using ParametersType = typename TransformType::ParametersType;
87 using ParametersValueType = typename TransformType::ParametersValueType;
88
89 using DisplacementFieldType = typename TransformType::DisplacementFieldType;
93 using SpacingType = typename DisplacementFieldType::SpacingType;
94
96 static constexpr unsigned int SpaceDimension = TransformType::Dimension;
97
99 void
101
103 virtual const SizeType
105
107 void
109
111 virtual const PointType
113
115 void
117
119 virtual const SpacingType
121
123 void
125
127 virtual const DirectionType
129
131 void
133
134protected:
137}; // class DisplacementFieldTransformParametersAdaptor
138} // namespace itk
139
140#ifndef ITK_MANUAL_INSTANTIATION
141# include "itkDisplacementFieldTransformParametersAdaptor.hxx"
142#endif
143
144#endif /* itkDisplacementFieldTransformParametersAdaptor_h */
DisplacementFieldTransformParametersAdaptor is a helper class intended to definition.
virtual const SpacingType GetRequiredSpacing() const
virtual const DirectionType GetRequiredDirection() const
virtual const SizeType GetRequiredSize() const
void SetRequiredDirection(const DirectionType &)
~DisplacementFieldTransformParametersAdaptor() override=default
typename TransformType::FixedParametersValueType FixedParametersValueType
virtual const PointType GetRequiredOrigin() const
Light weight base class for most itk classes.
Base helper class intended for multi-resolution image registration.
SmartPointer< Self > Pointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....