]> Creatis software - clitk.git/commitdiff
Removed typename outside template which prevents MSVC compilation
authorSimon Rit <simon.rit@creatis.insa-lyon.fr>
Tue, 14 Feb 2012 08:30:36 +0000 (09:30 +0100)
committerSimon Rit <simon.rit@creatis.insa-lyon.fr>
Tue, 14 Feb 2012 08:30:36 +0000 (09:30 +0100)
registration/clitkConvertBSplineDeformableTransformToVFGenericFilter.cxx

index d0e1fa73bf029c1bcc16565a6dfd91f294509e81..1536ff63adaca40ee1d5ee6db6a319590de0f90c 100644 (file)
@@ -75,7 +75,7 @@ namespace clitk
     typedef itk::Image<OutputPixelType, Dimension> OutputImageType;
 
     typedef ConvertBLUTCoeffsToVFFilter<OutputImageType> FilterType;
-    typename FilterType::Pointer filter = FilterType::New();
+    FilterType::Pointer filter = FilterType::New();
     filter->SetInputFileName(m_InputFileName);
     filter->SetTransformType(m_ArgsInfo.type_arg);
     filter->SetVerbose(m_ArgsInfo.verbose_flag);
@@ -84,9 +84,9 @@ namespace clitk
       filter->SetLikeFileName(m_ArgsInfo.like_arg);
     }
     else {
-      typename FilterType::OutputImagePointType origin;
-      typename FilterType::OutputImageSpacingType spacing;
-      typename FilterType::OutputImageSizeType size;
+      FilterType::OutputImagePointType origin;
+      FilterType::OutputImageSpacingType spacing;
+      FilterType::OutputImageSizeType size;
       for (unsigned int i = 0; i < Dimension; i++) {
         origin[i] = m_ArgsInfo.origin_arg[i];
         spacing[i] = m_ArgsInfo.spacing_arg[i];
@@ -98,7 +98,7 @@ namespace clitk
     }
     
     if (m_ArgsInfo.order_given) {
-      typename FilterType::OutputImageSizeType order;
+      FilterType::OutputImageSizeType order;
       for (unsigned int i = 0; i < Dimension; i++) {
         order[i] = m_ArgsInfo.order_arg[i];
       }