]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOWxIsimpleDlg.h
modifications for bbtkItkImageChooserDialogBox
[creaImageIO.git] / src / creaImageIOWxIsimpleDlg.h
index 6527b014c12debe7f87bfa1a710cd2abfb072eab..21555d874e8d2b1709efb6f93ed573cace50ab2b 100644 (file)
@@ -1,7 +1,13 @@
+
+#ifndef __creaImageIOWxIsimpleDlg_h_INCLUDED__
+#define __creaImageIOWxIsimpleDlg_h_INCLUDED__
+
+
 #include "creaImageIOSimpleView.h"
+#include "itkImageToVTKImageFilter.h"
 #include <creaWx.h>
 #include <itkImageFileReader.h>
-
+#include <boost/any.hpp>
 namespace creaImageIO
 {
  /**
@@ -42,17 +48,21 @@ namespace creaImageIO
                   wxString getInfoImage();
 
                   void split4Din3Dvtk(const std::string &i_dir);
-                  void split3Din3Dvtk();
+                  void split3Din3Dvtk( );
+                  void set(bool i_dicom){m_dicom= i_dicom;}
+                  std::vector <boost::any>& getAnyImages(){ return m_AnyImages;}
        private:
 
+               std::vector<boost::any> m_AnyImages;
                std::vector<std::string> m_exts;
                std::string namedescp; 
                std::string namedb;
                wxString infoimage;
-
+               bool m_dicom;
                /// interface to read data
                SimpleView m_view;
                 void readImg(const std::string &i_name);
+                void readDicomImg(const std::vector<std::string> &i_names);
 
                 std::vector <typename TImage::Pointer> m_Iresults;
 
@@ -62,3 +72,6 @@ namespace creaImageIO
 
 
 }
+
+
+#endif //__creaImageIOWxIsimpleDlg_h_INCLUDED__