]> Creatis software - creaImageIO.git/blobdiff - src/creaImageIOWxIsimpleDlg.h
*** empty log message ***
[creaImageIO.git] / src / creaImageIOWxIsimpleDlg.h
index 6527b014c12debe7f87bfa1a710cd2abfb072eab..201c3dc19e71b13dae1c5b3baa6136f10c295906 100644 (file)
@@ -1,4 +1,10 @@
+
+#ifndef __creaImageIOWxIsimpleDlg_h_INCLUDED__
+#define __creaImageIOWxIsimpleDlg_h_INCLUDED__
+
+
 #include "creaImageIOSimpleView.h"
+#include "itkImageToVTKImageFilter.h"
 #include <creaWx.h>
 #include <itkImageFileReader.h>
 
@@ -42,17 +48,19 @@ namespace creaImageIO
                   wxString getInfoImage();
 
                   void split4Din3Dvtk(const std::string &i_dir);
-                  void split3Din3Dvtk();
+                  void split3Din3Dvtk( );
+                  void set(bool i_dicom){m_dicom= i_dicom;}
        private:
 
                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 +70,6 @@ namespace creaImageIO
 
 
 }
+
+
+#endif //__creaImageIOWxIsimpleDlg_h_INCLUDED__