| 35 | }; |
| 36 | |
| 37 | class MyFrame : public wxFrame |
| 38 | { |
| 39 | public: |
| 40 | MyFrame(const wxString &title, const wxPoint &pos, const wxSize &size); |
| 41 | DrawPane *drawPane; |
| 42 | wxPanel *dp; // drawpane Container |
| 43 | wxSlider *slider_rho; |
| 44 | wxSlider *slider_ETFkernel; |
| 45 | wxSlider *slider_sigma1; |
| 46 | wxSlider *slider_sigma2; |
| 47 | wxSlider *slider_t; |
| 48 | wxStaticText *slider_rho_t; |
| 49 | wxStaticText *slider_ETFkernel_t; |
| 50 | wxStaticText *slider_sigma1_t; |
| 51 | wxStaticText *slider_sigma2_t; |
| 52 | wxStaticText *slider_t_t; |
| 53 | void addlog(wxString info, const wxColour &color); |
| 54 | |
| 55 | private: |
| 56 | bool render_loop_on; |
| 57 | int ETF_kernel; |
| 58 | int ETF_iteration; |
| 59 | int FDoG_iteration; |
| 60 | wxTextCtrl *log; // Show the log |
| 61 | wxButton *start; |
| 62 | wxButton *clean; |
| 63 | wxButton *solve; |
| 64 | wxButton *refineETF; |
| 65 | wxButton *iterativeFDoG; |
| 66 | wxComboBox *processingBox; |
| 67 | |
| 68 | void SetRenderingState(bool on); |
| 69 | |
| 70 | void OnStart(wxCommandEvent &event); |
| 71 | void OnClean(wxCommandEvent &event); |
| 72 | void OnSolveIt(wxCommandEvent &event); |
| 73 | void OnRefineETF(wxCommandEvent &event); |
| 74 | void OnIterativeFDoG(wxCommandEvent &event); |
| 75 | void OnProcessingBox(wxCommandEvent &event); |
| 76 | void OnSliderRho(wxCommandEvent &event); |
| 77 | void OnSliderETFkernel(wxCommandEvent &event); |
| 78 | void OnSliderSigmaM(wxCommandEvent &event); |
| 79 | void OnSliderSigmaC(wxCommandEvent &event); |
| 80 | void OnSliderTau(wxCommandEvent &event); |
| 81 | void OnOpenSrc(wxCommandEvent &event); |
| 82 | void OnSaveResult(wxCommandEvent &event); |
| 83 | void OnExit(wxCommandEvent &event); |
| 84 | void OnAbout(wxCommandEvent &event); |
| 85 | void OnToggleLog(wxCommandEvent &event); |
| 86 | void OnIdle(wxIdleEvent &evt); |
| 87 | wxDECLARE_EVENT_TABLE(); |
| 88 | }; |
| 89 | |
| 90 | enum { |
| 91 | // Menu > File |
nothing calls this directly
no outgoing calls
no test coverage detected