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

0001 /*
0002     File                 : XYSmoothCurvePrivate.h
0003     Project              : LabPlot
0004     Description          : Private members of XYSmoothCurve
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 XYSMOOTHCURVEPRIVATE_H
0012 #define XYSMOOTHCURVEPRIVATE_H
0013 
0014 #include "backend/worksheet/plots/cartesian/XYAnalysisCurvePrivate.h"
0015 #include "backend/worksheet/plots/cartesian/XYSmoothCurve.h"
0016 
0017 class XYSmoothCurve;
0018 class Column;
0019 
0020 class XYSmoothCurvePrivate : public XYAnalysisCurvePrivate {
0021 public:
0022     explicit XYSmoothCurvePrivate(XYSmoothCurve*);
0023     ~XYSmoothCurvePrivate() override;
0024 
0025     virtual bool recalculateSpecific(const AbstractColumn* tmpXDataColumn, const AbstractColumn* tmpYDataColumn) override;
0026     virtual void resetResults() override;
0027 
0028     XYSmoothCurve::SmoothData smoothData;
0029     XYSmoothCurve::SmoothResult smoothResult;
0030 
0031     Column* roughColumn{nullptr};
0032     QVector<double>* roughVector{nullptr};
0033 
0034     XYSmoothCurve* const q;
0035 };
0036 
0037 #endif