00001
00007 #ifndef _RosenbrockDiscreteLayer_h
00008 #define _RosenbrockDiscreteLayer_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 RosenbrockDiscreteLayer
00026 : public XyUnconstrainedLayer
00027 {
00028 public:
00029
00030
00033 RosenbrockDiscreteLayer(const PlotControl& plotControl,
00034 const Result& result,
00035 CountedPtr<PlotLayer> cpFunctionLayer);
00036
00039 RosenbrockDiscreteLayer(const RosenbrockDiscreteLayer& from);
00040
00043 ~RosenbrockDiscreteLayer(void);
00044
00045
00046
00047
00048
00049
00050 virtual Region IterationBoundingBox(unsigned iterationNumber) const;
00051
00054 static std::auto_ptr<ResultLayer> Create(
00055 const PlotControl& plotControl,
00056 const Result& result,
00057 CountedPtr<PlotLayer> cpFunctionLayer);
00058
00059
00060
00061
00062
00063 protected:
00064 private:
00065 virtual void DrawIteration(wxDC& dc,
00066 unsigned iterationNumber,
00067 bool highlight) const;
00068
00069 const static void* mRegistrationDummy;
00070 };
00071
00072
00073
00074
00075
00076
00077
00078 #endif // _RosenbrockDiscreteLayer_h