ITK  5.2.0
Insight Toolkit
itkTimeVaryingVelocityFieldTransformParametersAdaptor.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  * 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 itkTimeVaryingVelocityFieldTransformParametersAdaptor_h
19 #define itkTimeVaryingVelocityFieldTransformParametersAdaptor_h
20 
22 
23 namespace itk
24 {
63 template <typename TTransform>
65  : public TransformParametersAdaptor<TTransform>
66 {
67 public:
68  ITK_DISALLOW_COPY_AND_MOVE(TimeVaryingVelocityFieldTransformParametersAdaptor);
69 
75 
77  itkNewMacro(Self);
78 
81 
83  using TransformType = TTransform;
84  using TransformPointer = typename TransformType::Pointer;
85  using ParametersType = typename TransformType::ParametersType;
86  using ParametersValueType = typename TransformType::ParametersValueType;
87 
88  using TimeVaryingVelocityFieldType = typename TransformType::TimeVaryingVelocityFieldType;
89  using TimeVaryingVelocityFieldPointer = typename TimeVaryingVelocityFieldType::Pointer;
93  using SpacingType = typename TimeVaryingVelocityFieldType::SpacingType;
94 
96  static constexpr unsigned int TotalDimension = TransformType::Dimension + 1;
97 
99  void
100  SetRequiredSize(const SizeType &);
101 
103  virtual const SizeType
104  GetRequiredSize() const;
105 
107  void
108  SetRequiredOrigin(const PointType &);
109 
111  virtual const PointType
112  GetRequiredOrigin() const;
113 
115  void
116  SetRequiredSpacing(const SpacingType &);
117 
119  virtual const SpacingType
120  GetRequiredSpacing() const;
121 
123  void
124  SetRequiredDirection(const DirectionType &);
125 
127  virtual const DirectionType
128  GetRequiredDirection() const;
129 
131  void
132  AdaptTransformParameters() override;
133 
134 protected:
137 }; // class TimeVaryingVelocityFieldTransformParametersAdaptor
138 } // namespace itk
139 
140 #ifndef ITK_MANUAL_INSTANTIATION
141 # include "itkTimeVaryingVelocityFieldTransformParametersAdaptor.hxx"
142 #endif
143 
144 #endif /* itkTimeVaryingVelocityFieldTransformParametersAdaptor_h */
itk::TimeVaryingVelocityFieldTransformParametersAdaptor::ParametersValueType
typename TransformType::ParametersValueType ParametersValueType
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:86
itk::GTest::TypedefsAndConstructors::Dimension2::DirectionType
ImageBaseType::DirectionType DirectionType
Definition: itkGTestTypedefsAndConstructors.h:52
itk::TimeVaryingVelocityFieldTransformParametersAdaptor::SizeType
typename TimeVaryingVelocityFieldType::SizeType SizeType
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:91
itk::TimeVaryingVelocityFieldTransformParametersAdaptor::TimeVaryingVelocityFieldPointer
typename TimeVaryingVelocityFieldType::Pointer TimeVaryingVelocityFieldPointer
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:89
itk::GTest::TypedefsAndConstructors::Dimension2::PointType
ImageBaseType::PointType PointType
Definition: itkGTestTypedefsAndConstructors.h:51
itk::TimeVaryingVelocityFieldTransformParametersAdaptor::SpacingType
typename TimeVaryingVelocityFieldType::SpacingType SpacingType
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:93
itk::GTest::TypedefsAndConstructors::Dimension2::SizeType
ImageBaseType::SizeType SizeType
Definition: itkGTestTypedefsAndConstructors.h:49
itk::SmartPointer< Self >
itk::TimeVaryingVelocityFieldTransformParametersAdaptor::ParametersType
typename TransformType::ParametersType ParametersType
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:85
itk::LightObject
Light weight base class for most itk classes.
Definition: itkLightObject.h:59
itk::TimeVaryingVelocityFieldTransformParametersAdaptor::TransformPointer
typename TransformType::Pointer TransformPointer
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:84
itk::TimeVaryingVelocityFieldTransformParametersAdaptor::DirectionType
typename TimeVaryingVelocityFieldType::DirectionType DirectionType
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:92
itk::TimeVaryingVelocityFieldTransformParametersAdaptor
TimeVaryingVelocityFieldTransformParametersAdaptor is a helper class intended to definition.
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:64
itk::TimeVaryingVelocityFieldTransformParametersAdaptor::TransformType
TTransform TransformType
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:83
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::TimeVaryingVelocityFieldTransformParametersAdaptor::TimeVaryingVelocityFieldType
typename TransformType::TimeVaryingVelocityFieldType TimeVaryingVelocityFieldType
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:88
itk::GTest::TypedefsAndConstructors::Dimension2::Dimension
constexpr unsigned int Dimension
Definition: itkGTestTypedefsAndConstructors.h:44
itk::TimeVaryingVelocityFieldTransformParametersAdaptor::PointType
typename TimeVaryingVelocityFieldType::PointType PointType
Definition: itkTimeVaryingVelocityFieldTransformParametersAdaptor.h:90