18 #ifndef itkBSplineDeformableTransform_h
19 #define itkBSplineDeformableTransform_h
21 #include "itkConfigure.h"
113 template<
typename TParametersValueType=double,
114 unsigned int NDimensions = 3,
115 unsigned int VSplineOrder = 3>
131 itkSimpleNewMacro(
Self);
137 copyPtr->m_BulkTransform = this->GetBulkTransform();
138 smartPtr =
static_cast<Pointer>( copyPtr );
150 itkStaticConstMacro( SpaceDimension,
unsigned int, NDimensions );
153 itkStaticConstMacro( SplineOrder,
unsigned int, VSplineOrder );
225 #ifdef ITKV3_COMPATIBILITY
228 this->SetCoefficientImages( images );
231 CoefficientImageArray GetCoefficientImage()
233 return this->GetCoefficientImages();
263 using Superclass::TransformPoint;
282 virtual
void SetGridOrigin( const
OriginType & );
285 itkGetConstMacro( GridOrigin, OriginType );
288 virtual
void SetGridSpacing( const
SpacingType & );
291 itkGetConstMacro( GridSpacing, SpacingType );
297 itkGetConstMacro( GridDirection, DirectionType );
300 virtual
void SetGridRegion( const
RegionType & );
303 itkGetConstMacro( GridRegion, RegionType );
306 itkGetStaticConstMacro(SpaceDimension),
312 itkSetConstObjectMacro(BulkTransform, BulkTransformType);
313 itkGetConstObjectMacro(BulkTransform, BulkTransformType);
317 itkGetConstReferenceMacro(ValidRegion, RegionType);
321 void PrintSelf( std::ostream & os,
Indent indent ) const ITK_OVERRIDE;
329 virtual
void SetFixedParametersGridSizeFromTransformDomainInformation() const ITK_OVERRIDE;
332 virtual
void SetFixedParametersGridOriginFromTransformDomainInformation() const ITK_OVERRIDE;
335 virtual
void SetFixedParametersGridSpacingFromTransformDomainInformation() const ITK_OVERRIDE;
338 virtual
void SetFixedParametersGridDirectionFromTransformDomainInformation() const ITK_OVERRIDE;
341 virtual
void SetCoefficientImageInformationFromFixedParameters() ITK_OVERRIDE;
356 const RegionType & m_GridRegion;
357 const OriginType & m_GridOrigin;
358 const SpacingType & m_GridSpacing;
359 const DirectionType & m_GridDirection;
362 BulkTransformPointer m_BulkTransform;
364 RegionType m_ValidRegion;
367 unsigned long m_Offset;
368 bool m_SplineOrderOdd;
372 void UpdateValidGridRegion();
377 #ifndef ITK_MANUAL_INSTANTIATION
378 #include "itkBSplineDeformableTransform.hxx"
Light weight base class for most itk classes.
An image region represents a structured region of data.
ObjectType * GetPointer() const
A templated class holding a point in n-Dimensional image space.
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
A templated class holding a geometric point in n-Dimensional space.