QuadraticApproximationLayer.h

00001 
00006 #ifndef _QuadraticApproximationLayer_h
00007 #define _QuadraticApproximationLayer_h
00008 
00009 // SYSTEM INCLUDES
00010 //
00011 
00012 // PROJECT INCLUDES
00013 //
00014 
00015 // LOCAL INCLUDES
00016 //
00017 #include "UnivariateResultLayer.h"
00018 
00019 // FORWARD REFERENCES
00020 //
00021 
00022 
00023 class QuadraticApproximationLayer
00024     : public UnivariateResultLayer
00025 {
00026 public:
00027 // LIFECYCLE
00028 
00031     QuadraticApproximationLayer(const PlotControl&      plotControl,
00032                                 const Result&           result,
00033                                 CountedPtr<PlotLayer>   cpFunctionLayer);
00034 
00037     QuadraticApproximationLayer(const QuadraticApproximationLayer& from);
00038 
00039 
00042     ~QuadraticApproximationLayer(void);
00043 
00044 
00045 // OPERATORS
00046 
00047 // OPERATIONS
00048 
00049     virtual void    Draw(wxDC& dc) const;
00050 
00051     static std::auto_ptr<ResultLayer>   Create(
00052                                 const PlotControl&      plotControl,
00053                                 const Result&           result,
00054                                 CountedPtr<PlotLayer>   cpFunctionLayer);
00055 
00056 // ACCESS
00057 
00058     virtual Region  IterationBoundingBox(unsigned iterationNumber) const;
00059 
00060 // INQUIRY
00061 
00062 protected:
00063 
00064     void            DrawIteration(wxDC&             dc,
00065                                   unsigned          iterationNumber,
00066                                   bool              highlight) const;
00067 
00068 
00069     void            DrawActiveIterationBackground(wxDC& dc) const;
00070 private:
00071 
00072     static const void*  mRegistrationDummy;
00073 };
00074 
00075 // INLINE METHODS
00076 //
00077 
00078 // EXTERNAL REFERENCES
00079 //
00080 
00081 #endif  // _QuadraticApproximationLayer_h

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