00001
00002
00003 #ifndef MARQUARDTPANEL_H
00004 #define MARQUARDTPANEL_H
00005
00006
00007
00008
00009 #include "../methods/Marquardt.h"
00010
00011 #include "MethodPanelInfo.h"
00012 #include "PointControl.h"
00013 #include "StopConditionControl.h"
00014 #include "StopConditionValidator.h"
00015
00016 class MarquardtPanel: public wxPanel {
00017 public:
00018
00019
00020
00023 MarquardtPanel(wxWindow* parent,
00024 int id,
00025 Marquardt* pMethod,
00026 const ProblemBase& problem,
00027 const wxPoint& pos=wxDefaultPosition,
00028 const wxSize& size=wxDefaultSize,
00029 long style=0);
00030
00035 static wxPanel* CreatePanel(MethodPanelInfo panelInfo);
00036
00037
00038 private:
00039
00040 void set_properties();
00041 void do_layout();
00042
00043
00044 static const void* mpRegistrationDummy;
00045 protected:
00046
00047 wxStaticText* mpLambdaLabel;
00048 wxTextCtrl* mpLambdaTextCtrl;
00049 StopConditionControl* mpStopCondition;
00050 PointControl* mpStartingPoint;
00051
00052 };
00053
00054
00055 #endif // MARQUARDTPANEL_H