1 #ifndef __creaImageIOWxGimmickReaderDialog_h_INCLUDED__
2 #define __creaImageIOWxGimmickReaderDialog_h_INCLUDED__
6 #include <creaImageIOWxGimmickView.h>
15 //=====================================================================
16 //=====================================================================
17 class /*CREAIMAGEIO_EXPORT*/ WxGimmickReaderDialog : public wxDialog
20 WxGimmickReaderDialog();
21 WxGimmickReaderDialog(wxWindow *parent,
26 int image_min_dim = GIMMICK_2D_IMAGE_SELECTION,
27 int image_max_dim = GIMMICK_3D_IMAGE_SELECTION,
28 int output_dim = NATIVE,
31 Gimmick* GetGimmick() { return mGimmick; }
32 // typedef WxGimmick ViewType;
33 typedef WxGimmickView::EventType EventType;
35 ~WxGimmickReaderDialog();
38 //===============================================================================================
40 //===============================================================================================
41 vtkImageData* GetSelectedImage(int dim)
42 { return mView->GetSelectedImage(dim); }
43 void GetSelectedImages(std::vector<vtkImageData*>& s, int dim)
44 { mView->GetSelectedImages(s, dim); }
47 void GetSelectedFiles(std::vector<std::string>& s)
48 { mView->GetSelectedFiles(s); }
50 void OnSelChanged(EventType& event);
51 void OnContextualMenu(EventType& event);
52 void OnMenuTest(wxCommandEvent& event);
53 void OnValid(bool valid);
54 // void OnButtonOk(wxCommandEvent& event);
55 // void OnButtonCancel(wxCommandEvent& event);
63 wxButton* mCancelButton;
72 }; // class WxGimmickReaderDialog
73 //=====================================================================
75 } // EO namespace creaImageIO