00001
00002
00003
00004
00005
00006
00007 #ifndef FITTING_CURVE_H
00008 #define FITTING_CURVE_H
00009
00010 #include "FittingCurveCoefficients.h"
00011 #include <QGraphicsPathItem>
00012
00013 class Transformation;
00014
00016 class FittingCurve : public QGraphicsPathItem
00017 {
00018 public:
00020 FittingCurve (const FittingCurveCoefficients &fittingCoef,
00021 double xMin,
00022 double xMax,
00023 bool isLogXTheta,
00024 bool isLogYRadius,
00025 const Transformation &transformation);
00026 virtual ~FittingCurve ();
00027
00028 private:
00029
00030 double yFromCoefficientsAndX (const FittingCurveCoefficients &fittingCoef,
00031 double x) const;
00032 };
00033
00034 #endif // FITTING_CURVE_H