XyResultLayer.h

00001 
00006 #ifndef _XyResultLayer_h
00007 #define _XyResultLayer_h
00008 
00009 // SYSTEM INCLUDES
00010 //
00011 
00012 // PROJECT INCLUDES
00013 //
00014 
00015 // LOCAL INCLUDES
00016 //
00017 #include "AttributeDatabase.h"
00018 #include "ResultLayer.h"
00019 
00020 // FORWARD REFERENCES
00021 //
00022 
00023 
00024 class XyResultLayer
00025     : public ResultLayer
00026 {
00027 public:
00028 // LIFECYCLE
00029 
00032     XyResultLayer(const PlotControl&    plotControl,
00033                   const Result&         result,
00034                   CountedPtr<PlotLayer> cpFunctionLayer);
00035 
00036 
00039     XyResultLayer(const XyResultLayer& from);
00040 
00043     ~XyResultLayer(void);
00044 
00045 
00046 // OPERATORS
00047 // OPERATIONS
00048 
00049 
00050 // ACCESS
00051 
00052 // INQUIRY
00053 
00054 protected:
00055 
00058     wxPoint     PlotToDcPoint(const ColumnVector& point) const;
00059 
00062     void        DrawFinalResult(wxDC& dc) const;
00063 
00066     void        DrawBigPoint(wxDC&                            dc,
00067                              const ColumnVector&              point,
00068                              AttributeDatabase::AttributeType attribute,
00069                              SymbolType                       symbol = CIRCLE)
00070                 const;
00071 
00074     void        DrawLine(wxDC&                              dc,
00075                          const ColumnVector&                point1,
00076                          const ColumnVector&                point2,
00077                          AttributeDatabase::AttributeType   attribute,
00078                          int                                style = wxSOLID)
00079                                                                         const;
00080 
00081 
00082     // Indeksy zmiennych, nie mogą być ustawiane (można robić tylko wykresy
00083     // funkcji 2 zmiennych).
00084     unsigned    mVariableXIndex;
00085     unsigned    mVariableYIndex;
00086 private:
00087 
00088     static const int SOLID_WIDTH;       
00089     static const int FANCY_WIDTH;       
00090 };
00091 
00092 // INLINE METHODS
00093 //
00094 
00095 // EXTERNAL REFERENCES
00096 //
00097 
00098 #endif  // _XyResultLayer_h

Wygenerowano Fri Sep 29 21:04:49 2006 dla EduOptim2 programem  doxygen 1.4.6