File indexing completed on 2025-01-26 03:34:18

0001 /*
0002     File                 : XYEquationCurvePrivate.h
0003     Project              : LabPlot
0004     Description          : Private members of XYEquationCurve
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2014 Alexander Semke <alexander.semke@web.de>
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #ifndef XYEQUATIONCURVEPRIVATE_H
0011 #define XYEQUATIONCURVEPRIVATE_H
0012 
0013 #include "backend/worksheet/plots/cartesian/XYCurvePrivate.h"
0014 
0015 class XYEquationCurve;
0016 class Column;
0017 
0018 class XYEquationCurvePrivate : public XYCurvePrivate {
0019 public:
0020     explicit XYEquationCurvePrivate(XYEquationCurve*);
0021     ~XYEquationCurvePrivate() override;
0022 
0023     void recalculate();
0024 
0025     XYEquationCurve::EquationData equationData;
0026     Column* xColumn;
0027     Column* yColumn;
0028     QVector<double>* xVector;
0029     QVector<double>* yVector;
0030 
0031     XYEquationCurve* const q;
0032 };
0033 
0034 #endif