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