18 #ifndef itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor_h
19 #define itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor_h
65 template<
typename TTransform>
93 typedef typename TimeVaryingVelocityFieldControlPointLatticeType::RegionType
RegionType;
95 typedef typename TimeVaryingVelocityFieldControlPointLatticeType::PixelType
VectorType;
97 typedef typename TimeVaryingVelocityFieldControlPointLatticeType::SpacingType
SpacingType;
113 void SetRequiredTransformDomainMeshSize(
const MeshSizeType & );
116 itkGetConstReferenceMacro( RequiredTransformDomainMeshSize,
MeshSizeType );
119 void SetRequiredTransformDomainSize(
const SizeType & );
122 itkGetConstReferenceMacro( RequiredTransformDomainSize,
SizeType );
125 void SetRequiredTransformDomainSpacing(
const SpacingType & );
128 itkGetConstReferenceMacro( RequiredTransformDomainSpacing,
SpacingType );
131 void SetRequiredTransformDomainOrigin(
const OriginType & );
134 itkGetConstReferenceMacro( RequiredTransformDomainOrigin,
OriginType );
137 void SetRequiredTransformDomainDirection(
const DirectionType & );
140 itkGetConstReferenceMacro( RequiredTransformDomainDirection,
DirectionType );
148 requiredLatticeOrigin[i] = this->m_RequiredFixedParameters[TotalDimension + i];
150 return requiredLatticeOrigin;
161 this->m_RequiredTransformDomainSpacing[i];
162 requiredLatticeSpacing[i] = domainPhysicalDimensions /
static_cast<FixedParametersValueType>( this->m_RequiredTransformDomainMeshSize[i] );
164 return requiredLatticeSpacing;
174 requiredLatticeSize[i] =
static_cast<SizeValueType>( this->m_RequiredFixedParameters[i] );
176 return requiredLatticeSize;
183 return this->m_RequiredTransformDomainDirection;
187 virtual void AdaptTransformParameters() ITK_OVERRIDE;
189 virtual
void SetRequiredFixedParameters( const FixedParametersType ) ITK_OVERRIDE;
193 ~TimeVaryingBSplineVelocityFieldTransformParametersAdaptor() ITK_OVERRIDE;
195 void PrintSelf( std::ostream& os,
Indent indent ) const ITK_OVERRIDE;
198 ITK_DISALLOW_COPY_AND_ASSIGN(TimeVaryingBSplineVelocityFieldTransformParametersAdaptor);
201 void UpdateRequiredFixedParameters();
214 #ifndef ITK_MANUAL_INSTANTIATION
215 #include "itkTimeVaryingBSplineVelocityFieldTransformParametersAdaptor.hxx"
Light weight base class for most itk classes.
unsigned long SizeValueType
ImageBaseType::DirectionType DirectionType
ImageBaseType::PointType PointType
const unsigned int Dimension
Control indentation during Print() invocation.
ImageBaseType::SizeType SizeType
ImageBaseType::IndexType IndexType