00001
00002
00003 #include <wx/wx.h>
00004 #include <wx/image.h>
00005
00006 #include "../methods/RosenbrockDiscrete.h"
00007
00008 #include "MethodPanelInfo.h"
00009 #include "PointControl.h"
00010 #include "StopConditionControl.h"
00011 #include "StopConditionValidator.h"
00012
00013 #ifndef ROSENBROCKDISCRETEPANEL_H
00014 #define ROSENBROCKDISCRETEPANEL_H
00015
00016
00017
00018
00019
00020 class RosenbrockDiscretePanel: public wxPanel {
00021 public:
00022
00023
00024
00025 RosenbrockDiscretePanel(wxWindow* parent,
00026 int id,
00027 RosenbrockDiscrete* pMethod,
00028 const ProblemBase& problem,
00029 const wxPoint& pos=wxDefaultPosition,
00030 const wxSize& size=wxDefaultSize,
00031 long style=0);
00036 static wxPanel* CreatePanel(MethodPanelInfo panelInfo);
00037
00038 private:
00039
00040 void set_properties();
00041 void do_layout();
00042
00043
00044 static const void* mpRegistrationDummy;
00045
00046 protected:
00047
00048 wxStaticText* mpAlphaLabel;
00049 wxTextCtrl* mpAlphaTextCtrl;
00050 wxStaticText* mpBetaLabel;
00051 wxTextCtrl* mpBetaTextCtrl;
00052 wxStaticText* mpDeltaLabel;
00053 wxTextCtrl* mpDeltaTextCtrl;
00054 PointControl* mpInitialStepLength;
00055 StopConditionControl* mpStopCondition;
00056 PointControl* mpStartingPoint;
00057
00058 };
00059
00060
00061 #endif // ROSENBROCKDISCRETEPANEL_H