18 #ifndef itkBSplineDeformableTransform_h
19 #define itkBSplineDeformableTransform_h
112 template <
typename TParametersValueType =
double,
unsigned int VDimension = 3,
unsigned int VSplineOrder = 3>
130 itkSimpleNewMacro(
Self);
137 copyPtr->m_BulkTransform = this->GetBulkTransform();
138 smartPtr = static_cast<Pointer>(copyPtr);
150 static constexpr
unsigned int SpaceDimension = VDimension;
153 static constexpr
unsigned int SplineOrder = VSplineOrder;
159 using typename Superclass::ParametersType;
160 using typename Superclass::ParametersValueType;
161 using typename Superclass::FixedParametersType;
162 using typename Superclass::FixedParametersValueType;
170 using typename Superclass::NumberOfParametersType;
206 SetFixedParameters(
const FixedParametersType & passedParameters)
override;
210 using typename Superclass::ImageType;
211 using typename Superclass::ImagePointer;
212 using typename Superclass::CoefficientImageArray;
233 using typename Superclass::SpacingType;
235 using typename Superclass::OriginType;
238 using typename Superclass::WeightsFunctionType;
240 using typename Superclass::WeightsType;
241 using typename Superclass::ContinuousIndexType;
244 using typename Superclass::ParameterIndexArrayType;
254 using Superclass::TransformPoint;
260 bool & inside)
const override;
267 NumberOfParametersType
268 GetNumberOfParameters()
const override;
271 NumberOfParametersType
272 GetNumberOfParametersPerDimension()
const override;
275 using typename Superclass::PixelType;
277 using typename Superclass::MeshSizeType;
317 itkGetConstReferenceMacro(ValidRegion,
RegionType);
322 PrintSelf(std::ostream & os,
Indent indent)
const override;
330 SetFixedParametersGridSizeFromTransformDomainInformation()
const override;
334 SetFixedParametersGridOriginFromTransformDomainInformation()
const override;
338 SetFixedParametersGridSpacingFromTransformDomainInformation()
const override;
342 SetFixedParametersGridDirectionFromTransformDomainInformation()
const override;
346 SetCoefficientImageInformationFromFixedParameters()
override;
371 unsigned long m_Offset{};
372 bool m_SplineOrderOdd{};
377 UpdateValidGridRegion();
382 #ifndef ITK_MANUAL_INSTANTIATION
383 # include "itkBSplineDeformableTransform.hxx"