]> Creatis software - creaImageIO.git/blob - src/creaImageIOGimmickReaderDialog.h
df640ffaf9e7a0f08312c482ed8dae401b8e9d5b
[creaImageIO.git] / src / creaImageIOGimmickReaderDialog.h
1 #ifndef __creaImageIOGimmickReaderDialog_h_INCLUDED__
2 #define __creaImageIOGimmickReaderDialog_h_INCLUDED__
3
4 #include "creaImageIOSystem.h"
5 #include <vtkImageData.h>
6 #include <vector>
7
8  extern "C"                                                             
9  {                      
10         CREAIMAGEIO_EXPORT vtkImageData* getImageDataDialog();
11  }
12
13 namespace creaImageIO
14 {
15   /**
16    * \ingroup GUI
17    * \brief Pops up a WxGimmickReaderDialog 
18    * returns true if the user clicked 'Ok', false if 'Cancel'
19    *  and fills the vector of images
20    */
21   bool CREAIMAGEIO_EXPORT GimmickReaderDialog
22   (std::vector<vtkImageData*>& images,
23    const std::string i_namedescp , 
24    const std::string i_namedb = "Local Database",
25    const std::string& title = "Select images",
26    int posx = 0, int posy = 0,
27    int sizex = 1200, int sizey = 800,
28    int image_min_type = 2,
29    int image_max_type = 3,
30    int image_out_dim = 2,
31    int nb_threads = 1);
32   
33 }
34
35 #endif