18 #ifndef itkVelocityFieldTransform_h
19 #define itkVelocityFieldTransform_h
35 template <
typename TParametersValueType,
unsigned int VDimension>
54 using typename Superclass::InverseTransformBasePointer;
57 using typename Superclass::ScalarType;
60 using typename Superclass::FixedParametersType;
61 using typename Superclass::FixedParametersValueType;
62 using typename Superclass::ParametersType;
63 using typename Superclass::ParametersValueType;
66 using typename Superclass::TransformCategoryEnum;
69 using typename Superclass::NumberOfParametersType;
72 using typename Superclass::InputPointType;
73 using typename Superclass::OutputPointType;
76 using typename Superclass::InputVectorType;
77 using typename Superclass::OutputVectorType;
79 using typename Superclass::InputVectorPixelType;
80 using typename Superclass::OutputVectorPixelType;
83 using typename Superclass::DerivativeType;
86 static constexpr
unsigned int VelocityFieldDimension = VDimension + 1;
89 static constexpr
unsigned int Dimension = VDimension;
92 using typename Superclass::DisplacementFieldType;
96 using typename Superclass::VectorImageDisplacementFieldType;
118 using Superclass::SetDisplacementField;
140 itkGetConstReferenceMacro(VelocityFieldSetTime,
unsigned long);
150 itkDebugMacro(
"setting DisplacementField to " << displacementField);
151 if (this->m_DisplacementField != displacementField)
153 this->m_DisplacementField = displacementField;
160 UpdateTransformParameters(
const DerivativeType & update, ScalarType factor = 1.0)
override;
164 GetInverse(
Self * inverse)
const;
167 InverseTransformBasePointer
168 GetInverseTransform()
const override;
178 itkSetClampMacro(LowerTimeBound, ScalarType, 0.0, 1.0);
184 itkGetConstMacro(LowerTimeBound, ScalarType);
190 itkSetClampMacro(UpperTimeBound, ScalarType, 0.0, 1.0);
196 itkGetConstMacro(UpperTimeBound, ScalarType);
201 itkSetMacro(NumberOfIntegrationSteps,
unsigned int);
206 itkGetConstMacro(NumberOfIntegrationSteps,
unsigned int);
212 PrintSelf(std::ostream & os,
Indent indent)
const override;
216 InternalClone()
const override;
219 CopyDisplacementField(
const DisplacementFieldType *)
const;
241 SetFixedParametersFromVelocityField()
const;
245 #ifndef ITK_MANUAL_INSTANTIATION
246 # include "itkVelocityFieldTransform.hxx"
249 #endif // itkVelocityFieldTransform_h