00001 #ifndef _PlotLayer_h
00002 #define _PlotLayer_h
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #include "../Region.h"
00013 #include "ToolbarTool.h"
00014
00015
00016
00017 class PlotControl;
00018
00023 class PlotLayer
00024 {
00025 public:
00026
00027
00033 PlotLayer(const PlotControl& targetPlot);
00034
00037 PlotLayer(const PlotLayer& from);
00038
00041 virtual ~PlotLayer(void);
00042
00043
00044
00045
00046
00047
00052 virtual void Draw(wxDC& dc) const = 0;
00053
00058 virtual vector<ToolbarTool> CreateTools(PlotControl* pPlotControl);
00059
00060
00061
00064 virtual Region BoundingBox() const;
00065
00066
00067
00068 protected:
00069
00070 const PlotControl& mTargetPlot;
00071
00072 private:
00073 };
00074
00075
00076
00077
00078
00079
00080
00081 #endif // _PlotLayer_h