00001 00002 #ifndef _vuBasicSubWindow_h_ 00003 #define _vuBasicSubWindow_h_ 00004 00005 #include "vuGLCanvas.h" 00006 #include "../wxUtilities/vuBasicUtility.h" 00007 #include "Volume/volume.h" 00008 00009 class vuBasicSubWindow : public vuGLCanvas 00010 { 00011 public: 00013 00016 vuBasicSubWindow(vuBasicUtility *parent, int Xsize, int Ysize); 00018 ~vuBasicSubWindow(); 00019 00021 void setVolume(vuVolume* vol); 00022 00024 void render(); 00025 00027 bool glInit(); 00028 00030 void glOnMouse(wxMouseEvent &ev); 00031 00032 protected: 00034 vuBasicUtility *m_Parent; 00035 vuVolume *m_Volume; 00036 00037 #ifdef WIN32 00038 int m_x, m_y; 00039 #endif 00040 00041 DECLARE_EVENT_TABLE() 00042 00043 }; 00044 00045 #endif