00001 00002 00006 #ifndef _vuSpecSplatUtility_h_ 00007 #define _vuSpecSplatUtility_h_ 00008 00009 #include "../vuBasicUtility.h" 00010 #include "../../wxUIElements/vuTFDialogSpec.h" 00011 #include "../../wxUIElements/vuLightDial.h" 00012 #include "vuCamera.h" 00013 #include "Volume/Regular/Unimodal/3d/1B/Intensity/SpecSplat/specsplat.h" 00014 #include "vuTFunc/vuTFDesignSpec.h" 00015 00016 class vuSpecSplat : public vuBasicUtility 00017 { 00018 public: 00020 vuSpecSplat(); 00022 ~vuSpecSplat(); 00023 00025 static const char* getFileType(); 00026 00028 00031 bool init(const char* DataFile); 00032 00034 virtual void notifyDataChanged(); 00035 00037 virtual void DrawAgain (); 00038 00040 virtual void DrawFromImage (); 00041 00044 virtual vuImage* getCurrentImage (); 00045 00048 virtual vuCamera* getCamera (); 00049 00050 protected: 00052 00055 bool glInit(); 00057 00060 void glRender(); 00062 void glResize(); 00064 00068 void glOnMouse(wxMouseEvent &ev); 00069 00070 private: 00072 vu1112115 *m_Data; 00074 vuCamera m_Camera; 00076 float m_ViewScale; 00078 vuTFDesignSpec m_TFunc; 00080 vuTFDialogSpec m_TFDialog; 00082 vuLightDial m_LightDial; 00083 00085 int m_x; 00087 int m_y; 00088 00089 DECLARE_EVENT_TABLE() 00090 }; 00091 00092 #endif