1 #include "creaImageIOSimpleView.h"
10 /// Simple Wxwidgets interface to select file(s) or directory or from creaImageIO database to display
11 class CREAIMAGEIO_EXPORT WxSimpleDlg : public wxDialog
15 WxSimpleDlg( wxWindow *parent,
16 wxString i_title =_T(""),
17 const std::string i_namedescp = "localdatabase_Descriptor.dscp",
18 const std::string i_namedb = "Local Database"
23 /// Callback to read file(s)
24 void OnReadFile(wxCommandEvent& event);
26 /// Callback to read directory, no recursive
27 void OnReadDirectory(wxCommandEvent &event);
29 /// Callback to select from creaImageIO database
30 void OnReadGimmick(wxCommandEvent &event);
32 /// return a vtkImageData vector of selected images, if available
33 std::vector<vtkImageData*> getImagesSelected();
35 wxString getInfoImage();
39 std::string namedescp;
43 /// interface to read data
46 /// vtkImageData vector
47 std::vector<vtkImageData*> m_results;