ITK  6.0.0
Insight Toolkit
itkConstantVelocityFieldTransformParametersAdaptor.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 itkConstantVelocityFieldTransformParametersAdaptor_h
19 #define itkConstantVelocityFieldTransformParametersAdaptor_h
20 
22 
23 namespace itk
24 {
63 template <typename TTransform>
65  : public TransformParametersAdaptor<TTransform>
66 {
67 public:
68  ITK_DISALLOW_COPY_AND_MOVE(ConstantVelocityFieldTransformParametersAdaptor);
69 
75 
77  itkNewMacro(Self);
78 
80  itkOverrideGetNameOfClassMacro(ConstantVelocityFieldTransformParametersAdaptor);
81 
83  using TransformType = TTransform;
85  using ParametersType = typename TransformType::ParametersType;
86  using ParametersValueType = typename TransformType::ParametersValueType;
87 
88  using ConstantVelocityFieldType = typename TransformType::ConstantVelocityFieldType;
92  using SpacingType = typename ConstantVelocityFieldType::SpacingType;
93 
95  static constexpr unsigned int ConstantVelocityFieldDimension = TransformType::ConstantVelocityFieldDimension;
96 
98  void
99  SetRequiredSize(const SizeType &);
100 
102  virtual const SizeType
103  GetRequiredSize() const;
104 
106  void
107  SetRequiredOrigin(const PointType &);
108 
110  virtual const PointType
111  GetRequiredOrigin() const;
112 
114  void
115  SetRequiredSpacing(const SpacingType &);
116 
118  virtual const SpacingType
119  GetRequiredSpacing() const;
120 
122  void
123  SetRequiredDirection(const DirectionType &);
124 
126  virtual const DirectionType
127  GetRequiredDirection() const;
128 
130  void
131  AdaptTransformParameters() override;
132 
133 protected:
136 }; // class ConstantVelocityFieldTransformParametersAdaptor
137 } // namespace itk
138 
139 #ifndef ITK_MANUAL_INSTANTIATION
140 # include "itkConstantVelocityFieldTransformParametersAdaptor.hxx"
141 #endif
142 
143 #endif /* itkConstantVelocityFieldTransformParametersAdaptor_h */
itk::ConstantVelocityFieldTransformParametersAdaptor::SizeType
typename ConstantVelocityFieldType::SizeType SizeType
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:90
itk::ConstantVelocityFieldTransformParametersAdaptor::TransformPointer
typename TransformType::Pointer TransformPointer
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:84
Pointer
SmartPointer< Self > Pointer
Definition: itkAddImageFilter.h:93
itk::GTest::TypedefsAndConstructors::Dimension2::DirectionType
ImageBaseType::DirectionType DirectionType
Definition: itkGTestTypedefsAndConstructors.h:52
itk::ConstantVelocityFieldTransformParametersAdaptor::ConstantVelocityFieldType
typename TransformType::ConstantVelocityFieldType ConstantVelocityFieldType
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:88
itk::ConstantVelocityFieldTransformParametersAdaptor::ParametersType
typename TransformType::ParametersType ParametersType
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:85
itk::GTest::TypedefsAndConstructors::Dimension2::PointType
ImageBaseType::PointType PointType
Definition: itkGTestTypedefsAndConstructors.h:51
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::SmartPointer< Self >
itk::ConstantVelocityFieldTransformParametersAdaptor::SpacingType
typename ConstantVelocityFieldType::SpacingType SpacingType
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:92
itk::ConstantVelocityFieldTransformParametersAdaptor::TransformType
TTransform TransformType
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:83
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:55
itk::ConstantVelocityFieldTransformParametersAdaptor::DirectionType
typename ConstantVelocityFieldType::DirectionType DirectionType
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:91
itk::TransformParametersAdaptor
Base helper class intended for multi-resolution image registration.
Definition: itkTransformParametersAdaptor.h:55
itkTransformParametersAdaptor.h
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnnulusOperator.h:24
itk::ConstantVelocityFieldTransformParametersAdaptor::ParametersValueType
typename TransformType::ParametersValueType ParametersValueType
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:86
itk::ConstantVelocityFieldTransformParametersAdaptor
ConstantVelocityFieldTransformParametersAdaptor is a helper class intended to definition.
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:64
itk::ConstantVelocityFieldTransformParametersAdaptor::PointType
typename ConstantVelocityFieldType::PointType PointType
Definition: itkConstantVelocityFieldTransformParametersAdaptor.h:89