Loading [MathJax]/extensions/tex2jax.js
ITK  6.0.0
Insight Toolkit
itkTimeVaryingVelocityFieldTransform.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 itkTimeVaryingVelocityFieldTransform_h
19 #define itkTimeVaryingVelocityFieldTransform_h
20 
22 
23 namespace itk
24 {
25 
53 template <typename TParametersValueType, unsigned int VDimension>
54 class ITK_TEMPLATE_EXPORT TimeVaryingVelocityFieldTransform
55  : public VelocityFieldTransform<TParametersValueType, VDimension>
56 {
57 public:
58  ITK_DISALLOW_COPY_AND_MOVE(TimeVaryingVelocityFieldTransform);
59 
65 
67  itkOverrideGetNameOfClassMacro(TimeVaryingVelocityFieldTransform);
68 
70  itkNewMacro(Self);
71 
74 
76  using typename Superclass::InterpolatorType;
77  using VelocityFieldIntegratorType = typename Superclass::VelocityFieldInterpolatorType;
78 
80  using typename Superclass::DisplacementFieldType;
81  using typename Superclass::VelocityFieldType;
82 
85 
87  using typename Superclass::ScalarType;
88 
90  using typename Superclass::ParametersType;
91  using ParametersValueType = typename ParametersType::ValueType;
92  using typename Superclass::FixedParametersType;
93  using FixedParametersValueType = typename FixedParametersType::ValueType;
94  using typename Superclass::NumberOfParametersType;
95 
97  using typename Superclass::DerivativeType;
98 
100 
102 #if !defined(ITK_LEGACY_REMOVE)
104  GetTimeVaryingVelocityField()
105  {
106  return this->GetModifiableVelocityField();
107  }
108 #endif
109  VelocityFieldType *
111  {
112  return this->GetModifiableVelocityField();
113  }
114  const VelocityFieldType *
116  {
117  return this->GetVelocityField();
118  }
122  virtual void
124  {
125  this->SetVelocityField(field);
126  }
127 
130  void
131  IntegrateVelocityField() override;
132 
133 protected:
135  ~TimeVaryingVelocityFieldTransform() override = default;
136 };
137 
138 } // end namespace itk
139 
140 #ifndef ITK_MANUAL_INSTANTIATION
141 # include "itkTimeVaryingVelocityFieldTransform.hxx"
142 #endif
143 
144 #endif // itkTimeVaryingVelocityFieldTransform_h
Pointer
SmartPointer< Self > Pointer
Definition: itkAddImageFilter.h:93
itk::TimeVaryingVelocityFieldTransform::GetModifiableTimeVaryingVelocityField
VelocityFieldType * GetModifiableTimeVaryingVelocityField()
Definition: itkTimeVaryingVelocityFieldTransform.h:110
itk::Transform< TParametersValueType, VDimension, VDimension >::InverseTransformBasePointer
typename InverseTransformBaseType::Pointer InverseTransformBasePointer
Definition: itkTransform.h:167
itk::TimeVaryingVelocityFieldTransform::TransformPointer
typename Transform< TParametersValueType, VDimension, VDimension >::Pointer TransformPointer
Definition: itkTimeVaryingVelocityFieldTransform.h:99
itk::TimeVaryingVelocityFieldTransform::GetTimeVaryingVelocityField
const VelocityFieldType * GetTimeVaryingVelocityField() const
Definition: itkTimeVaryingVelocityFieldTransform.h:115
itk::TimeVaryingVelocityFieldTransform
Transform objects based on integration of a time-varying velocity field.
Definition: itkTimeVaryingVelocityFieldTransform.h:54
itk::SmartPointer< Self >
itk::TimeVaryingVelocityFieldTransform::SetTimeVaryingVelocityField
virtual void SetTimeVaryingVelocityField(VelocityFieldType *field)
Definition: itkTimeVaryingVelocityFieldTransform.h:123
itk::DisplacementFieldTransform
Provides local/dense/high-dimensionality transformation via a a displacement field.
Definition: itkDisplacementFieldTransform.h:87
itk::TimeVaryingVelocityFieldTransform::TimeVaryingVelocityFieldPointer
typename VelocityFieldType::Pointer TimeVaryingVelocityFieldPointer
Definition: itkTimeVaryingVelocityFieldTransform.h:84
itk::VelocityFieldTransform
Provides local/dense/high-dimensionality transformation via a a velocity field.
Definition: itkVelocityFieldTransform.h:36
itkVelocityFieldTransform.h
itk::Transform< TParametersValueType, VDimension, VDimension >::ScalarType
ParametersValueType ScalarType
Definition: itkTransform.h:127
itk::TimeVaryingVelocityFieldTransform::VelocityFieldIntegratorType
typename Superclass::VelocityFieldInterpolatorType VelocityFieldIntegratorType
Definition: itkTimeVaryingVelocityFieldTransform.h:77
itk
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes....
Definition: itkAnatomicalOrientation.h:29
itk::Array
Array class with size defined at construction time.
Definition: itkArray.h:47
itk::TimeVaryingVelocityFieldTransform::ParametersValueType
typename ParametersType::ValueType ParametersValueType
Definition: itkTimeVaryingVelocityFieldTransform.h:91
itk::Image
Templated n-dimensional image class.
Definition: itkImage.h:88
itk::Transform< TParametersValueType, VDimension, VDimension >
itk::TimeVaryingVelocityFieldTransform::FixedParametersValueType
typename FixedParametersType::ValueType FixedParametersValueType
Definition: itkTimeVaryingVelocityFieldTransform.h:93