SecantDivisionLayer.h

00001 
00006 #ifndef _SecantDivisionLayer_h
00007 #define _SecantDivisionLayer_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 class FunctionBase;
00023 
00024 class SecantDivisionLayer
00025     : public UnivariateResultLayer
00026 {
00027 public:
00028 // LIFECYCLE
00029 
00032     SecantDivisionLayer(const PlotControl&         plotControl,
00033                                 const Result&           result,
00034                                 CountedPtr<PlotLayer>   cpFunctionLayer);
00035 
00038     SecantDivisionLayer(const SecantDivisionLayer& from);
00039 
00040 
00043     ~SecantDivisionLayer(void);
00044 
00045 
00046 // OPERATORS
00047 
00048 // OPERATIONS
00049 
00050     virtual void    Draw(wxDC& dc) const;
00051 
00052     static std::auto_ptr<ResultLayer>   Create(
00053                                 const PlotControl&      plotControl,
00054                                 const Result&           result,
00055                                 CountedPtr<PlotLayer>   cpFunctionLayer);
00056 
00057 // ACCESS
00058 
00059     virtual Region  IterationBoundingBox(unsigned iterationNumber) const;
00060 
00061 // INQUIRY
00062 
00063 protected:
00064 
00065     void            DrawIteration(wxDC&             dc,
00066                                   unsigned          iterationNumber,
00067                                   bool              highlight) const;
00068 
00069     void            DrawActiveIterationBackground(wxDC& dc) const;
00070 
00071 private:
00072 
00073     static const void*  mRegistrationDummy;
00074 };
00075 
00076 // INLINE METHODS
00077 //
00078 
00079 // EXTERNAL REFERENCES
00080 //
00081 
00082 #endif  // _SecantDivisionLayer_h

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