Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

sxy_series_linear.h

Go to the documentation of this file.
00001 
00002 #ifndef series_linear_h
00003 #define series_linear_h
00004 
00005 // =======================================================================
00006 
00007 #include "sxy_vector.h"
00008 #include "sxy_series_coef.h"
00009 
00010 // =======================================================================
00011 
00016 class SXYLinearSeries : public SXYCoeficientsAproximationSeries {
00017 
00018  protected:
00019 
00020    unsigned int calculateCoeficients(unsigned int n, 
00021          double* buffer_x, double* buffer_y);
00022 
00023  public:
00024 
00025    // Ajuste de valor log.
00026    virtual unsigned int aproxFunctionCallback(double x, double& y);
00027 
00028    // Construtor e destrutor 
00029    virtual ~SXYLinearSeries();
00030    SXYLinearSeries(unsigned int buffer_size=200, unsigned int resolution=100);
00031 };
00032 
00033 #endif
00034 

SXY
Tecgraf / PUC-Rio - Computer Graphics Technology Group