00001
00006 #ifndef _XyConstraintsLayer_h
00007 #define _XyConstraintsLayer_h
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #include "ConstraintsLayer.h"
00018
00019
00020
00021
00022
00023 class XyConstraintsLayer
00024 : public ConstraintsLayer
00025 {
00026 public:
00027
00028
00031 XyConstraintsLayer(const PlotControl& plotControl,
00032 const Constraint::Container& constraints,
00033 unsigned variableCount);
00034
00037 XyConstraintsLayer(const XyConstraintsLayer& from);
00038
00041 ~XyConstraintsLayer(void);
00042
00043
00044
00045
00046
00047
00048 virtual void Draw(wxDC& dc) const;
00049
00050
00051
00052
00053
00054 protected:
00055 private:
00056 unsigned mVariableXIndex;
00057 unsigned mVariableYIndex;
00058 unsigned mVariableCount;
00059 };
00060
00061
00062
00063
00064
00065
00066
00067 #endif // _XyConstraintsLayer_h