From 7a7bbac184759163de981962bed465ae1d71f84b Mon Sep 17 00:00:00 2001 From: Eduardo DAVILA Date: Wed, 8 Aug 2018 16:16:08 +0200 Subject: [PATCH] 3218 creaImageIO Feature New Normal - vtk8itk4wx3-mingw64 --- bbtk/src/bbcreaImageIOGimmick.xml | 1 - src/creaImageIOGimmickView.h | 2 +- src/creaImageIOWxSimpleDlg.cpp | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/bbtk/src/bbcreaImageIOGimmick.xml b/bbtk/src/bbcreaImageIOGimmick.xml index d07a54f..c44018d 100644 --- a/bbtk/src/bbcreaImageIOGimmick.xml +++ b/bbtk/src/bbcreaImageIOGimmick.xml @@ -109,7 +109,6 @@ for (ii=0;iiModified(); - outStrGimmick[ii].img->Update(); m_results.push_back(outStrGimmick[ii].img); m_resultsDicomAtr.push_back( outStrGimmick[ii].infos ); } diff --git a/src/creaImageIOGimmickView.h b/src/creaImageIOGimmickView.h index d001690..2826fdc 100644 --- a/src/creaImageIOGimmickView.h +++ b/src/creaImageIOGimmickView.h @@ -79,7 +79,7 @@ namespace creaImageIO //===================================================================== ///Abstract class that handles views, attributes and previews (GUI) for Gimmick. - class GimmickView: public MultiThreadImageReaderUser + class CREAIMAGEIO_EXPORT GimmickView: public MultiThreadImageReaderUser { public: /// Ctor diff --git a/src/creaImageIOWxSimpleDlg.cpp b/src/creaImageIOWxSimpleDlg.cpp index 88cf784..d2f509c 100644 --- a/src/creaImageIOWxSimpleDlg.cpp +++ b/src/creaImageIOWxSimpleDlg.cpp @@ -151,6 +151,8 @@ namespace creaImageIO if (dlg.GetReturnCode() == wxID_OK) { //EED1 dlg.stopReading(); + std::vector outStrGimmick; + dlg.getSelected(outStrGimmick, m_attrDicomTags,true,""); m_results.clear(); int size=(int)outStrGimmick.size(); int ii; @@ -281,7 +283,6 @@ namespace creaImageIO //img->Delete(); } // for slice out->Modified(); - out->Update(); //EED This is NOT working. The iteration over the pointer vtkImageData // int slice=0; // std::vector::iterator it; @@ -306,7 +307,6 @@ namespace creaImageIO } // getImagesSelected().size()!=0 result->Modified(); - result->Update(); return result; } -- 2.47.1