#ifndef _wx_SnapshotTaker_h_ #define _wx_SnapshotTaker_h_ // For compilers that supports precompilation , includes wx/wx.h #include "wx/wxprec.h" #ifndef WX_PRECOMP #include "wx/wx.h" #endif #include class wxSnapshotTaker { public: wxSnapshotTaker(wxWindow* parent); virtual ~wxSnapshotTaker(); void SetRenderWindow (vtkRenderWindow* rwin) { m_RenderWindow = rwin;} vtkRenderWindow* GetRenderWindow (void) const { return m_RenderWindow; } void SetMagnification(const int& n) { m_Magnification = n; } int GetMagnification (void) const { return m_Magnification; } /** Actually take the snapshot */ void Snap (void); protected: private: wxWindow* m_Parent; vtkRenderWindow* m_RenderWindow; int m_Magnification; }; #endif