template <class TImageType, class TCoordRep = float>
class ITK_EXPORT VectorBSplineResampleImageFunction :
public VectorBSplineInterpolateImageFunction<
- TImageType,TCoordRep,ITK_TYPENAME TImageType::PixelType::ValueType >
+ TImageType,TCoordRep, typename TImageType::PixelType::ValueType >
{
public:
/** Standard class typedefs. */
typedef VectorBSplineResampleImageFunction Self;
- typedef VectorBSplineInterpolateImageFunction<TImageType,TCoordRep, ITK_TYPENAME TImageType::PixelType::ValueType > Superclass;
+ typedef VectorBSplineInterpolateImageFunction<TImageType,TCoordRep, typename TImageType::PixelType::ValueType > Superclass;
typedef itk::SmartPointer<Self> Pointer;
typedef itk::SmartPointer<const Self> ConstPointer;
template <class TImageType, class TCoordRep = float>
class ITK_EXPORT VectorBSplineResampleImageFunctionWithLUT :
public VectorBSplineInterpolateImageFunctionWithLUT<
- TImageType,TCoordRep,ITK_TYPENAME TImageType::PixelType::ValueType >
+ TImageType,TCoordRep,typename TImageType::PixelType::ValueType >
{
public:
/** Standard class typedefs. */
typedef VectorBSplineResampleImageFunctionWithLUT Self;
typedef VectorBSplineInterpolateImageFunctionWithLUT<
- TImageType,TCoordRep, ITK_TYPENAME TImageType::PixelType::ValueType > Superclass;
+ TImageType,TCoordRep, typename TImageType::PixelType::ValueType > Superclass;
typedef itk::SmartPointer<Self> Pointer;
typedef itk::SmartPointer<const Self> ConstPointer;
template <class TImageType, class TCoordRep = float>
class ITK_EXPORT BSplineResampleImageFunctionWithLUT :
public BSplineInterpolateImageFunctionWithLUT<
- TImageType,TCoordRep,ITK_TYPENAME TImageType::PixelType >
+ TImageType,TCoordRep,typename TImageType::PixelType >
{
public:
/** Standard class typedefs. */
typedef BSplineResampleImageFunctionWithLUT Self;
typedef BSplineInterpolateImageFunctionWithLUT<
- TImageType,TCoordRep, ITK_TYPENAME TImageType::PixelType > Superclass;
+ TImageType,TCoordRep, typename TImageType::PixelType > Superclass;
typedef SmartPointer<Self> Pointer;
typedef SmartPointer<const Self> ConstPointer;
FixedImageType> FixedIteratorType;
typedef itk::ImageRegionConstIteratorWithIndex<
- ITK_TYPENAME Superclass::GradientImageType> GradientIteratorType;
+ typename Superclass::GradientImageType> GradientIteratorType;
FixedIteratorType ti( fixedImage, this->GetFixedImageRegion() );
const unsigned int ParametersDimension = this->GetNumberOfParameters();
derivative = DerivativeType( ParametersDimension );
- derivative.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivative.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
ti.GoToBegin();
FixedImageType> FixedIteratorType;
typedef itk::ImageRegionConstIteratorWithIndex<
- ITK_TYPENAME Superclass::GradientImageType> GradientIteratorType;
+ typename Superclass::GradientImageType> GradientIteratorType;
FixedIteratorType ti( fixedImage, this->GetFixedImageRegion() );
const unsigned int ParametersDimension = this->GetNumberOfParameters();
derivative = DerivativeType( ParametersDimension );
- derivative.Fill( NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivative.Fill( NumericTraits<typename DerivativeType::ValueType>::Zero );
ti.GoToBegin();
const unsigned int ParametersDimension = this->GetNumberOfParameters();
derivative = DerivativeType( ParametersDimension );
- derivative.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivative.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
DerivativeType derivativeF = DerivativeType( ParametersDimension );
- derivativeF.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivativeF.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
DerivativeType derivativeM = DerivativeType( ParametersDimension );
- derivativeM.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivativeM.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
ti.GoToBegin();
// First compute the sums
const unsigned int ParametersDimension = this->GetNumberOfParameters();
derivative = DerivativeType( ParametersDimension );
- derivative.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivative.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
DerivativeType derivativeF = DerivativeType( ParametersDimension );
- derivativeF.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivativeF.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
DerivativeType derivativeM = DerivativeType( ParametersDimension );
- derivativeM.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivativeM.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
DerivativeType derivativeM1 = DerivativeType( ParametersDimension );
- derivativeM1.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivativeM1.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
ti.GoToBegin();
// First compute the sums
const unsigned int ParametersDimension = this->GetNumberOfParameters();
derivative = DerivativeType( ParametersDimension );
- derivative.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivative.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
DerivativeType derivativeF = DerivativeType( ParametersDimension );
- derivativeF.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivativeF.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
DerivativeType derivativeM = DerivativeType( ParametersDimension );
- derivativeM.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivativeM.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
ti.GoToBegin();
// First compute the sums
const unsigned int ParametersDimension = this->GetNumberOfParameters();
derivative = DerivativeType( ParametersDimension );
- derivative.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivative.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
DerivativeType derivativeF = DerivativeType( ParametersDimension );
- derivativeF.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivativeF.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
DerivativeType derivativeM = DerivativeType( ParametersDimension );
- derivativeM.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivativeM.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
DerivativeType derivativeM1 = DerivativeType( ParametersDimension );
- derivativeM1.Fill( itk::NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivativeM1.Fill( itk::NumericTraits<typename DerivativeType::ValueType>::Zero );
ti.GoToBegin();
// First compute the sums
}
memset( derivative.data_block(),
0,
- this->m_NumberOfParameters * sizeof(ITK_TYPENAME DerivativeType::ValueType) );
+ this->m_NumberOfParameters * sizeof(typename DerivativeType::ValueType) );
for( unsigned int threadID = 0; threadID<this->m_NumberOfThreads; threadID++ ) {
memset( m_ThreaderDerivativeF[threadID].data_block(),
0,
- this->m_NumberOfParameters * sizeof(ITK_TYPENAME DerivativeType::ValueType) );
+ this->m_NumberOfParameters * sizeof(typename DerivativeType::ValueType) );
memset( m_ThreaderDerivativeM[threadID].data_block(),
0,
- this->m_NumberOfParameters * sizeof(ITK_TYPENAME DerivativeType::ValueType) );
+ this->m_NumberOfParameters * sizeof(typename DerivativeType::ValueType) );
}
// MUST BE CALLED TO INITIATE PROCESSING
}
memset( derivative.data_block(),
0,
- this->m_NumberOfParameters * sizeof(ITK_TYPENAME DerivativeType::ValueType) );
+ this->m_NumberOfParameters * sizeof(typename DerivativeType::ValueType) );
for( unsigned int threadID = 0; threadID<this->m_NumberOfThreads; threadID++ ) {
memset( m_ThreaderDerivativeF[threadID].data_block(),
0,
- this->m_NumberOfParameters * sizeof(ITK_TYPENAME DerivativeType::ValueType) );
+ this->m_NumberOfParameters * sizeof(typename DerivativeType::ValueType) );
memset( m_ThreaderDerivativeM[threadID].data_block(),
0,
- this->m_NumberOfParameters * sizeof(ITK_TYPENAME DerivativeType::ValueType) );
+ this->m_NumberOfParameters * sizeof(typename DerivativeType::ValueType) );
}
// MUST BE CALLED TO INITIATE PROCESSING
const unsigned int ParametersDimension = this->GetNumberOfParameters();
derivative = DerivativeType( ParametersDimension );
- derivative.Fill( NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivative.Fill( NumericTraits<typename DerivativeType::ValueType>::Zero );
ti.GoToBegin();
const unsigned int ParametersDimension = this->GetNumberOfParameters();
derivative = DerivativeType( ParametersDimension );
- derivative.Fill( NumericTraits<ITK_TYPENAME DerivativeType::ValueType>::Zero );
+ derivative.Fill( NumericTraits<typename DerivativeType::ValueType>::Zero );
ti.GoToBegin();