#ifndef _wx_DialogVtkViewImage2D_h_ #define _wx_DialogVtkViewImage2D_h_ // For compilers that supports precompilation , includes wx/wx.h #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif class wxVTKRenderWindowInteractor; class vtkViewImage2D; class wxDialogVtkViewImage2D: public wxDialog { public: wxDialogVtkViewImage2D(wxWindow* parent, int id=-1, const wxString& title=wxT (""), const wxPoint& pos=wxDefaultPosition, const wxSize& size=wxDefaultSize, long style = wxDEFAULT_DIALOG_STYLE); virtual ~wxDialogVtkViewImage2D(); virtual void OnCloseEvent (wxCloseEvent &event); vtkViewImage2D* GetVtkViewImage2D (void) const { return m_View; } protected: DECLARE_EVENT_TABLE() private: void DoLayout (void); void SetProperties (void); wxVTKRenderWindowInteractor* m_wxVtkView; vtkViewImage2D* m_View; }; #endif