]> Creatis software - creaImageIO.git/commitdiff
no message
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 24 Jun 2011 10:56:37 +0000 (10:56 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Fri, 24 Jun 2011 10:56:37 +0000 (10:56 +0000)
bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx

index 2d9074973262fb6015f58e07eac71ddaa57c3634..66f810ac388c742f1f5d828f80daddc18ab27c38 100644 (file)
@@ -35,8 +35,9 @@ void ItkImagesChooserDialogBox::Export()
          else if (dlg->getImagesSelected().size() > 1)
          { 
                  OutputImagesITKType outVect;
-                 std::vector<TImage::Pointer> tempImgs= dlg->getTemplatedImagesSelected<TImage>();
-                 std::vector<TImage::Pointer>::iterator it = tempImgs.begin();
+               
+                 typename  std::vector<typename TImage::Pointer> tempImgs= dlg->getTemplatedImagesSelected<TImage>();
+                 typename std::vector<typename TImage::Pointer>::iterator it = tempImgs.begin();
                  for(;it != tempImgs.end(); ++it)
                  {
                          outVect.push_back( (*it).GetPointer() );
@@ -63,8 +64,8 @@ void ItkImagesChooserDialogBox::ExportVTK()
        // BBTK can support only a vector with same dimensions image.
         if (dlg->getDims().front() < 4)
         { 
-                 std::vector<TImage::Pointer> tempImgs= dlg->getTemplatedImagesSelected<TImage>();
-                 std::vector<TImage::Pointer>::iterator it = tempImgs.begin();
+                 typename std::vector<typename TImage::Pointer> tempImgs= dlg->getTemplatedImagesSelected<TImage>();
+                 typename std::vector<typename TImage::Pointer>::iterator it = tempImgs.begin();
                  for(;it != tempImgs.end(); ++it)
                  {
                        dlg->split3Din3Dvtk<TImage>( (*it) );