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

0001 /*
0002     File                 : XYDataReductionCurvePrivate.h
0003     Project              : LabPlot
0004     Description          : Private members of XYDataReductionCurve
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2016 Stefan Gerlach <stefan.gerlach@uni.kn>
0007     SPDX-FileCopyrightText: 2017 Alexander Semke <alexander.semke@web.de>
0008     SPDX-License-Identifier: GPL-2.0-or-later
0009 */
0010 
0011 #ifndef XYDATAREDUCTIONCURVEPRIVATE_H
0012 #define XYDATAREDUCTIONCURVEPRIVATE_H
0013 
0014 #include "backend/worksheet/plots/cartesian/XYAnalysisCurvePrivate.h"
0015 #include "backend/worksheet/plots/cartesian/XYDataReductionCurve.h"
0016 
0017 class XYDataReductionCurve;
0018 class Column;
0019 
0020 class XYDataReductionCurvePrivate : public XYAnalysisCurvePrivate {
0021 public:
0022     explicit XYDataReductionCurvePrivate(XYDataReductionCurve*);
0023     ~XYDataReductionCurvePrivate() override;
0024 
0025     virtual bool recalculateSpecific(const AbstractColumn* tmpXDataColumn, const AbstractColumn* tmpYDataColumn) override;
0026     virtual void resetResults() override;
0027     const XYAnalysisCurve::Result& result() const;
0028 
0029     XYDataReductionCurve::DataReductionData dataReductionData;
0030     XYDataReductionCurve::DataReductionResult dataReductionResult;
0031 
0032     XYDataReductionCurve* const q;
0033 };
0034 
0035 #endif