1 #ifndef __creaImageIOWxGimmickReaderDialog_h_INCLUDED__
2 #define __creaImageIOWxGimmickReaderDialog_h_INCLUDED__
6 #include <creaImageIOWxGimmickView.h>
14 //=====================================================================
15 //=====================================================================
16 class /*CREAIMAGEIO_EXPORT*/ WxGimmickReaderDialog : public wxDialog
19 WxGimmickReaderDialog();
20 WxGimmickReaderDialog(wxWindow *parent,
25 int image_min_type = GIMMICK_2D_IMAGE_SELECTION,
26 int image_max_type = GIMMICK_3D_IMAGE_SELECTION,
29 Gimmick* GetGimmick() { return mGimmick; }
30 // typedef WxGimmick ViewType;
31 typedef WxGimmickView::EventType EventType;
33 ~WxGimmickReaderDialog();
36 //===============================================================================================
38 //===============================================================================================
39 vtkImageData* GetSelectedImage(int dim)
40 { return mView->GetSelectedImage(dim); }
41 void GetSelectedImages(std::vector<vtkImageData*>& s, int dim)
42 { mView->GetSelectedImages(s, dim); }
45 void GetSelectedFiles(std::vector<std::string>& s)
46 { mView->GetSelectedFiles(s); }
48 void OnSelChanged(EventType& event);
49 void OnContextualMenu(EventType& event);
50 void OnMenuTest(wxCommandEvent& event);
51 // void OnValid(wxCommandEvent& event);
52 // void OnButtonOk(wxCommandEvent& event);
53 // void OnButtonCancel(wxCommandEvent& event);
55 DECLARE_EVENT_TABLE();
62 wxButton* mCancelButton;
71 }; // class WxGimmickReaderDialog
72 //=====================================================================
75 } // EO namespace creaImageIO