]> Creatis software - creaImageIO.git/commitdiff
bbpackage for creaImageIO + itk
authorFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Wed, 25 May 2011 12:21:57 +0000 (12:21 +0000)
committerFrederic Cervenansky <Frederic.Cervenansky@creatis.insa-lyon.fr>
Wed, 25 May 2011 12:21:57 +0000 (12:21 +0000)
bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx
bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.h

index c1c6e4c5764f5ae275df9d06eb58f0acc59e9991..c035509b94a39bde08d4761e8a8035a2d602d9fc 100644 (file)
@@ -30,7 +30,7 @@ void ItkImagesChooserDialogBox::Export()
 {
         if (dlg->getImagesSelected().size() == 1)
         { 
-               bbSetOutputOut( dlg->getTemplatedImagesSelected<TImage>().front() ); 
+               bbSetOutputOut( dlg->getTemplatedImagesSelected<TImage>().front().GetPointer() ); 
         } 
          else if (dlg->getImagesSelected().size() > 1)
          { 
index 368a638316a46c032e2e0f43dddee277de68e537..f99b8592f37e9a03bafde92389c15d184d8c86d8 100644 (file)
@@ -50,6 +50,7 @@ class bbcreaImageIO_EXPORT ItkImagesChooserDialogBox
     private:
     // Template read method 
     template<class TImage> void Export();
+       itk::Object* mOutput;
 //===== 
 // Before editing this file, make sure it's a file of your own (i.e.: it wasn't generated from xml description; if so : your modifications will be lost)
 //=====