UnivariateResultLayer.h

00001 
00006 #ifndef _UnivariateResultLayer_h
00007 #define _UnivariateResultLayer_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 class UnivariateResultLayer
00024     : public ResultLayer
00025 {
00026 public:
00027 // LIFECYCLE
00028 
00031     UnivariateResultLayer(const PlotControl&    plotControl,
00032                           const Result&         result,
00033                           CountedPtr<PlotLayer> cpFunctionLayer);
00034 
00035 
00038     UnivariateResultLayer(const UnivariateResultLayer& from);
00039 
00042     ~UnivariateResultLayer(void);
00043 
00044 
00045 // OPERATORS
00046 
00047 // OPERATIONS
00048 // ACCESS
00049 // INQUIRY
00050 
00051 protected:
00055     wxPoint     PlotToDcPoint(double point) const;
00056 
00059     void        DrawFinalResult(wxDC& dc) const;
00060 
00063     void        DrawBigPoint(wxDC&                            dc,
00064                              double                           point,
00065                              AttributeDatabase::AttributeType attribute,
00066                              SymbolType                       symbol = CIRCLE)
00067                                                                         const;
00068 
00071     void        DrawVerticalLine(
00072                         wxDC&                               dc,
00073                         double                              point,
00074                         AttributeDatabase::AttributeType    attribute) const;
00075 
00078     void        DrawRangeBackground(
00079                         wxDC&                               dc,
00080                         wxCoord                             left,
00081                         wxCoord                             right,
00082                         AttributeDatabase::AttributeType    attribute) const;
00083 
00090     void        GreyOutBackground(
00091                     wxDC&                               dc,
00092                     AttributeDatabase::AttributeType    attribute
00093                             = AttributeDatabase::PLOT_OUTSIDE_BG) const;
00094 
00095     AttributeDatabase::AttributeType
00096                 BackgroundAttribute(unsigned iterationNumber) const;
00097 
00098 private:
00099 };
00100 
00101 // INLINE METHODS
00102 //
00103 
00104 // EXTERNAL REFERENCES
00105 //
00106 
00107 #endif  // _UnivariateResultLayer_h

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