18 #ifndef __itkStackTransform_h
19 #define __itkStackTransform_h
37 template<
class TScalarType,
38 unsigned int NInputDimensions = 3,
39 unsigned int NOutputDimensions = 3 >
95 itkGetStaticConstMacro( ReducedInputSpaceDimension ),
109 virtual OutputPointType
TransformPoint(
const InputPointType & ipp )
const;
115 <<
"TransformVector(const InputVectorType &) is not implemented "
116 <<
"for StackTransform" );
123 <<
"TransformVector(const InputVnlVectorType &) is not implemented "
124 <<
"for StackTransform" );
131 <<
"TransformCovariantVector(const InputCovariantVectorType &) is not implemented "
132 <<
"for StackTransform" );
142 const InputPointType & ipp,
144 NonZeroJacobianIndicesType & nzji )
const;
165 return this->m_FixedParameters;
196 itkGetMacro( NumberOfSubTransforms,
unsigned int );
199 itkSetMacro( StackSpacing, TScalarType );
200 itkGetConstMacro( StackSpacing, TScalarType );
201 itkSetMacro( StackOrigin, TScalarType );
202 itkGetConstMacro( StackOrigin, TScalarType );
218 SubTransformPointer transformcopy =
dynamic_cast< SubTransformType *
>( transform->CreateAnother().GetPointer() );
219 transformcopy->SetFixedParameters( transform->GetFixedParameters() );
220 transformcopy->SetParameters( transform->GetParameters() );
239 const InputPointType & ipp, SpatialJacobianType & sj )
const
241 itkExceptionMacro( <<
"Not implemented for StackTransform" );
246 const InputPointType & ipp, SpatialHessianType & sh )
const
248 itkExceptionMacro( <<
"Not implemented for StackTransform" );
254 NonZeroJacobianIndicesType & nonZeroJacobianIndices )
const
256 itkExceptionMacro( <<
"Not implemented for StackTransform" );
261 const InputPointType & ipp, SpatialJacobianType & sj,
263 NonZeroJacobianIndicesType & nonZeroJacobianIndices )
const
265 itkExceptionMacro( <<
"Not implemented for StackTransform" );
271 NonZeroJacobianIndicesType & nonZeroJacobianIndices )
const
273 itkExceptionMacro( <<
"Not implemented for StackTransform" );
278 const InputPointType & ipp, SpatialHessianType & sh,
280 NonZeroJacobianIndicesType & nonZeroJacobianIndices )
const
282 itkExceptionMacro( <<
"Not implemented for StackTransform" );
307 #ifndef ITK_MANUAL_INSTANTIATION
308 #include "itkStackTransform.hxx"