00001
00007 #ifndef _XyUnconstrainedLayer_h
00008 #define _XyUnconstrainedLayer_h
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include "XyResultLayer.h"
00019
00020
00021
00022
00023
00024 class XyUnconstrainedLayer
00025 : public XyResultLayer
00026 {
00027 public:
00028
00029
00032 XyUnconstrainedLayer(const PlotControl& plotControl,
00033 const Result& result,
00034 CountedPtr<PlotLayer> cpFunctionLayer);
00035
00038 XyUnconstrainedLayer(const XyUnconstrainedLayer& from);
00039
00042 ~XyUnconstrainedLayer(void);
00043
00044
00045
00046
00047
00048
00049 virtual void Draw(wxDC& dc) const;
00050
00051
00052
00053 virtual vector<ToolbarTool> CreateTools(PlotControl* pPlotControl);
00054
00055 void SetDrawSubsequentIterations(bool toggle);
00056
00057
00058
00059
00060 bool DrawsSubsequentIterations() const;
00061
00062
00063 protected:
00064 virtual void DrawIteration(wxDC& dc,
00065 unsigned iterationNumber,
00066 bool highlight) const = 0;
00067
00068 private:
00069 bool mDrawSubsequentIterations;
00070
00071
00072 };
00073
00074
00075
00076
00077
00078
00079
00080 #endif // _XyUnconstrainedLayer_h