]> Creatis software - creaImageIO.git/blobdiff - src2/creaImageIOGimmickReaderDialog.h
Z Spacing
[creaImageIO.git] / src2 / creaImageIOGimmickReaderDialog.h
index 7cbacb9f10bbdce9053277bf7a2ebb7e013d5e73..df640ffaf9e7a0f08312c482ed8dae401b8e9d5b 100644 (file)
@@ -1,9 +1,15 @@
 #ifndef __creaImageIOGimmickReaderDialog_h_INCLUDED__
 #define __creaImageIOGimmickReaderDialog_h_INCLUDED__
 
+#include "creaImageIOSystem.h"
 #include <vtkImageData.h>
 #include <vector>
 
+ extern "C"                                                            
+ {                     
+       CREAIMAGEIO_EXPORT vtkImageData* getImageDataDialog();
+ }
+
 namespace creaImageIO
 {
   /**
@@ -12,14 +18,17 @@ namespace creaImageIO
    * returns true if the user clicked 'Ok', false if 'Cancel'
    *  and fills the vector of images
    */
-  bool GimmickReaderDialog(std::vector<vtkImageData*>& images,
-                          const std::string& title = "Select images",
-                          int posx = 0, int posy = 0,
-                          int sizex = 1200, int sizey = 800,
-                          int image_min_type = 2,
-                          int image_max_type = 3,
-                          int image_out_dim = 2,
-                          int nb_threads = 1);
+  bool CREAIMAGEIO_EXPORT GimmickReaderDialog
+  (std::vector<vtkImageData*>& images,
+   const std::string i_namedescp , 
+   const std::string i_namedb = "Local Database",
+   const std::string& title = "Select images",
+   int posx = 0, int posy = 0,
+   int sizex = 1200, int sizey = 800,
+   int image_min_type = 2,
+   int image_max_type = 3,
+   int image_out_dim = 2,
+   int nb_threads = 1);
   
 }