18 #ifndef itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor_h
19 #define itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor_h
65 template<
typename TTransform>
96 using VectorType =
typename TimeVaryingVelocityFieldControlPointLatticeType::PixelType;
98 using SpacingType =
typename TimeVaryingVelocityFieldControlPointLatticeType::SpacingType;
114 void SetRequiredTransformDomainMeshSize(
const MeshSizeType & );
117 itkGetConstReferenceMacro( RequiredTransformDomainMeshSize,
MeshSizeType );
120 void SetRequiredTransformDomainSize(
const SizeType & );
123 itkGetConstReferenceMacro( RequiredTransformDomainSize,
SizeType );
126 void SetRequiredTransformDomainSpacing(
const SpacingType & );
129 itkGetConstReferenceMacro( RequiredTransformDomainSpacing,
SpacingType );
132 void SetRequiredTransformDomainOrigin(
const OriginType & );
135 itkGetConstReferenceMacro( RequiredTransformDomainOrigin,
OriginType );
138 void SetRequiredTransformDomainDirection(
const DirectionType & );
141 itkGetConstReferenceMacro( RequiredTransformDomainDirection,
DirectionType );
149 requiredLatticeOrigin[i] = this->m_RequiredFixedParameters[TotalDimension + i];
151 return requiredLatticeOrigin;
162 this->m_RequiredTransformDomainSpacing[i];
163 requiredLatticeSpacing[i] = domainPhysicalDimensions /
static_cast<FixedParametersValueType>( this->m_RequiredTransformDomainMeshSize[i] );
165 return requiredLatticeSpacing;
175 requiredLatticeSize[i] =
static_cast<SizeValueType>( this->m_RequiredFixedParameters[i] );
177 return requiredLatticeSize;
184 return this->m_RequiredTransformDomainDirection;
188 void AdaptTransformParameters()
override;
190 void SetRequiredFixedParameters(
const FixedParametersType )
override;
196 void PrintSelf( std::ostream& os,
Indent indent )
const override;
200 void UpdateRequiredFixedParameters();
213 #ifndef ITK_MANUAL_INSTANTIATION
214 #include "itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.hxx"
Light weight base class for most itk classes.
unsigned long SizeValueType
constexpr unsigned int Dimension
ImageBaseType::SizeType SizeType
ImageBaseType::DirectionType DirectionType
ImageBaseType::IndexType IndexType
Control indentation during Print() invocation.
ImageBaseType::PointType PointType
ImageBaseType::RegionType RegionType