00001 00004 #ifndef _vuSphericViewWin_h_ 00005 #define _vuSphericViewWin_h_ 00006 00007 #include "vuCamera.h" 00008 #include "vuGLCanvas.h" 00009 #include "../wxUtilities/vuBasicUtility.h" 00010 #include "Volume/Lightfield/Unimodal/Spheric/spheric.h" 00011 00012 class vuSphericViewWin : public vuGLCanvas 00013 { 00014 public: 00016 00019 vuSphericViewWin(vuBasicUtility *parent, int size_x, int size_y); 00021 ~vuSphericViewWin(); 00022 00024 00025 void setVolume(vu1611_ST* vol); 00026 00028 void render(); 00029 00031 bool glInit(); 00032 00034 void glOnMouse(wxMouseEvent &ev); 00035 00036 protected: 00038 vuBasicUtility *m_Parent; 00039 00041 vu1611_ST *m_Volume; 00042 00043 void drawRepresentation(float sx, float sy, float sz); 00044 00045 #ifdef WIN32 00046 int m_x, m_y; 00047 #endif 00048 00049 DECLARE_EVENT_TABLE() 00050 00051 }; 00052 00053 #endif