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