]> Creatis software - creaImageIO.git/commitdiff
3218 creaImageIO Feature New Normal - vtk8itk4wx3-mingw64
authorEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 8 Aug 2018 14:16:08 +0000 (16:16 +0200)
committerEduardo DAVILA <davila@creatis.insa-lyon.fr>
Wed, 8 Aug 2018 14:16:08 +0000 (16:16 +0200)
bbtk/src/bbcreaImageIOGimmick.xml
src/creaImageIOGimmickView.h
src/creaImageIOWxSimpleDlg.cpp

index d07a54fd2fc7ece26831afa24978bafc054d210e..c44018da88be807efc24f40c419372e36bcab3d2 100644 (file)
                                for (ii=0;ii<size;ii++)
                                {
                                        outStrGimmick[ii].img->Modified();
-                                       outStrGimmick[ii].img->Update();
                                        m_results.push_back(outStrGimmick[ii].img);
                                        m_resultsDicomAtr.push_back( outStrGimmick[ii].infos );
                                }
index d0016904bcf0ca61ffed2c540b18733044e9022d..2826fdc8288d67d28b6264eb506f04e9aee4ca73 100644 (file)
@@ -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
index 88cf78408d8102f8320c4e59b703f5866bf73c34..d2f509cc964e267a630812baaa6f9783248fc1a2 100644 (file)
@@ -151,6 +151,8 @@ namespace creaImageIO
                 if (dlg.GetReturnCode() == wxID_OK)
             {
 //EED1                         dlg.stopReading();
+                       std::vector<creaImageIO::OutStrGimmick> 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<vtkImageData*>::iterator it;
@@ -306,7 +307,6 @@ namespace creaImageIO
                } // getImagesSelected().size()!=0
 
                        result->Modified();
-                       result->Update();
                return result;
 
                }