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