18 #ifndef __itkBSplineDeformableTransform_h
19 #define __itkBSplineDeformableTransform_h
21 #include "itkConfigure.h"
107 template <
class TScalarType = double,
unsigned int NDimensions = 3,
108 unsigned int VSplineOrder = 3>
124 itkSimpleNewMacro(
Self);
125 virtual ::itk::LightObject::Pointer CreateAnother(
void)
const
130 copyPtr->m_BulkTransform = this->GetBulkTransform();
131 smartPtr =
static_cast<Pointer>( copyPtr );
143 itkStaticConstMacro( SpaceDimension,
unsigned int, NDimensions );
146 itkStaticConstMacro( SplineOrder,
unsigned int, VSplineOrder );
194 virtual void SetFixedParameters(
const ParametersType & parameters );
216 #ifdef ITKV3_COMPATIBILITY
219 this->SetCoefficientImages( images );
222 CoefficientImageArray GetCoefficientImage()
224 return this->GetCoefficientImages();
254 using Superclass::TransformPoint;
273 virtual void SetGridOrigin(
const OriginType & );
279 virtual void SetGridSpacing(
const SpacingType & );
291 virtual void SetGridRegion(
const RegionType & );
307 itkGetConstReferenceMacro(ValidRegion,
RegionType);
312 itkExceptionMacro(
"GetNumberOfLocalParameters not yet implemented.");
317 void PrintSelf( std::ostream & os,
Indent indent )
const;
325 virtual void SetFixedParametersGridSizeFromTransformDomainInformation()
const;
328 virtual void SetFixedParametersGridOriginFromTransformDomainInformation()
const;
331 virtual void SetFixedParametersGridSpacingFromTransformDomainInformation()
const;
334 virtual void SetFixedParametersGridDirectionFromTransformDomainInformation()
const;
337 virtual void SetCoefficientImageInformationFromFixedParameters();
340 void operator=(
const Self & );
343 virtual bool InsideValidRegion( ContinuousIndexType & )
const;
369 void UpdateValidGridRegion();
375 #define ITK_TEMPLATE_BSplineDeformableTransform(_, EXPORT, TypeX, TypeY) \
378 _( 3 ( class EXPORT BSplineDeformableTransform<ITK_TEMPLATE_3 TypeX> ) ) \
379 namespace Templates \
381 typedef BSplineDeformableTransform<ITK_TEMPLATE_3 TypeX> \
382 BSplineDeformableTransform##TypeY; \
386 #if ITK_TEMPLATE_EXPLICIT
395 #include "Templates/itkBSplineDeformableTransform+-.h"
399 #include "itkBSplineDeformableTransform.hxx"