18 #ifndef itkVelocityFieldTransform_h
19 #define itkVelocityFieldTransform_h
35 template<
typename TParametersValueType,
unsigned int NDimensions>
85 itkStaticConstMacro( VelocityFieldDimension,
unsigned int, NDimensions + 1 );
88 itkStaticConstMacro( Dimension,
unsigned int, NDimensions );
127 itkGetModifiableObjectMacro(VelocityFieldInterpolator, VelocityFieldInterpolatorType );
131 itkGetConstReferenceMacro( VelocityFieldSetTime,
unsigned long );
140 itkDebugMacro(
"setting DisplacementField to " << displacementField);
141 if ( this->m_DisplacementField != displacementField )
143 this->m_DisplacementField = displacementField;
149 virtual void UpdateTransformParameters(
const DerivativeType & update, ScalarType factor = 1.0 ) ITK_OVERRIDE;
152 bool GetInverse( Self *inverse ) const;
155 virtual InverseTransformBasePointer GetInverseTransform() const ITK_OVERRIDE;
158 virtual
void IntegrateVelocityField() {};
164 itkSetClampMacro( LowerTimeBound, ScalarType, 0.0, 1.0 );
170 itkGetConstMacro( LowerTimeBound, ScalarType );
176 itkSetClampMacro( UpperTimeBound, ScalarType, 0.0, 1.0 );
182 itkGetConstMacro( UpperTimeBound, ScalarType );
187 itkSetMacro( NumberOfIntegrationSteps,
unsigned int );
192 itkGetConstMacro( NumberOfIntegrationSteps,
unsigned int );
198 void PrintSelf( std::ostream& os,
Indent indent )
const ITK_OVERRIDE;
203 typename DisplacementFieldType::Pointer CopyDisplacementField( const DisplacementFieldType * ) const;
208 unsigned int m_NumberOfIntegrationSteps;
217 unsigned long m_VelocityFieldSetTime;
226 virtual
void SetFixedParametersFromVelocityField() const;
231 #ifndef ITK_MANUAL_INSTANTIATION
232 #include "itkVelocityFieldTransform.hxx"
235 #endif // itkVelocityFieldTransform_h
Superclass::RegionType RegionType
Light weight base class for most itk classes.
Represent the size (bounds) of a n-dimensional image.
Class to hold and manage parameters of type Image<Vector<...>,...>, used in Transforms, etc.
Class to hold and manage different parameter types used during optimization.
Superclass::IndexType IndexType
Control indentation during Print() invocation.
Base class for all vector image interpolaters.
Templated n-dimensional image class.