00001
00006 #ifndef _MarquardtLayer_h
00007 #define _MarquardtLayer_h
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "XyUnconstrainedLayer.h"
00018
00019
00020
00021
00022
00023 class MarquardtLayer
00024 : public XyUnconstrainedLayer
00025 {
00026 public:
00027
00028
00031 MarquardtLayer(const PlotControl& plotControl,
00032 const Result& result,
00033 CountedPtr<PlotLayer> cpFunctionLayer);
00034
00037 MarquardtLayer(const MarquardtLayer& from);
00038
00041 ~MarquardtLayer(void);
00042
00043
00044
00045
00046
00047
00048 static std::auto_ptr<ResultLayer> Create(
00049 const PlotControl& plotControl,
00050 const Result& result,
00051 CountedPtr<PlotLayer> cpFunctionLayer);
00052
00053
00054
00055 virtual Region IterationBoundingBox(unsigned iterationNumber) const;
00056
00057
00058
00059 protected:
00060
00061 virtual void DrawIteration(wxDC& dc,
00062 unsigned iterationNumber,
00063 bool highlight) const;
00064
00065 private:
00066
00067 static const void* mRegistrationDummy;
00068 };
00069
00070
00071
00072
00073
00074
00075
00076 #endif // _MarquardtLayer_h