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

0001 /*
0002     File                 : XYCorrelationCurvePrivate.h
0003     Project              : LabPlot
0004     Description          : Private members of XYCorrelationCurve
0005     --------------------------------------------------------------------
0006     SPDX-FileCopyrightText: 2018 Stefan Gerlach <stefan.gerlach@uni.kn>
0007     SPDX-License-Identifier: GPL-2.0-or-later
0008 */
0009 
0010 #ifndef XYCORRELATIONCURVEPRIVATE_H
0011 #define XYCORRELATIONCURVEPRIVATE_H
0012 
0013 #include "backend/worksheet/plots/cartesian/XYAnalysisCurvePrivate.h"
0014 #include "backend/worksheet/plots/cartesian/XYCorrelationCurve.h"
0015 
0016 class XYCorrelationCurve;
0017 class Column;
0018 
0019 class XYCorrelationCurvePrivate : public XYAnalysisCurvePrivate {
0020 public:
0021     explicit XYCorrelationCurvePrivate(XYCorrelationCurve*);
0022     ~XYCorrelationCurvePrivate() override;
0023 
0024     virtual bool recalculateSpecific(const AbstractColumn* tmpXDataColumn, const AbstractColumn* tmpYDataColumn) override;
0025     virtual void resetResults() override;
0026     virtual bool preparationValid(const AbstractColumn* tmpXDataColumn, const AbstractColumn* tmpYDataColumn) override;
0027 
0028     XYCorrelationCurve::CorrelationData correlationData;
0029     XYCorrelationCurve::CorrelationResult correlationResult;
0030 
0031     XYCorrelationCurve* const q;
0032 };
0033 
0034 #endif