From 3cd22d1996c8ca64d3e61f3b0616aee07b5df32a Mon Sep 17 00:00:00 2001 From: Frederic Cervenansky Date: Wed, 25 May 2011 12:21:57 +0000 Subject: [PATCH] bbpackage for creaImageIO + itk --- bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx | 2 +- bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx b/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx index c1c6e4c..c035509 100644 --- a/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx +++ b/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.cxx @@ -30,7 +30,7 @@ void ItkImagesChooserDialogBox::Export() { if (dlg->getImagesSelected().size() == 1) { - bbSetOutputOut( dlg->getTemplatedImagesSelected().front() ); + bbSetOutputOut( dlg->getTemplatedImagesSelected().front().GetPointer() ); } else if (dlg->getImagesSelected().size() > 1) { diff --git a/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.h b/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.h index 368a638..f99b859 100644 --- a/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.h +++ b/bbtk/src/bbcreaImageIOItkImagesChooserDialogBox.h @@ -50,6 +50,7 @@ class bbcreaImageIO_EXPORT ItkImagesChooserDialogBox private: // Template read method template 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) //===== -- 2.47.1