1// Copyright (C) 2023 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
3
4//
5// W A R N I N G
6// -------------
7//
8// This file is not part of the QtGraphs API. It exists purely as an
9// implementation detail. This header file may change from version to
10// version without notice, or even be removed.
11//
12// We mean it.
13
14#ifndef QSURFACEDATAPROXY_P_H
15#define QSURFACEDATAPROXY_P_H
16
17#include "qabstractdataproxy_p.h"
18#include "qsurfacedataproxy.h"
19
20QT_BEGIN_NAMESPACE
21
22class QAbstract3DAxis;
23
24class QSurfaceDataProxyPrivate : public QAbstractDataProxyPrivate
25{
26 Q_DECLARE_PUBLIC(QSurfaceDataProxy)
27
28public:
29 QSurfaceDataProxyPrivate();
30 ~QSurfaceDataProxyPrivate() override;
31
32 void resetArray(QSurfaceDataArray &&newArray);
33 void setRow(qsizetype rowIndex, QSurfaceDataRow &&row);
34 void setRows(qsizetype rowIndex, QSurfaceDataArray &&rows);
35 void setItem(qsizetype rowIndex, qsizetype columnIndex, QSurfaceDataItem &&item);
36 qsizetype addRow(QSurfaceDataRow &&row);
37 qsizetype addRows(QSurfaceDataArray &&rows);
38 void insertRow(qsizetype rowIndex, QSurfaceDataRow &&row);
39 void insertRows(qsizetype rowIndex, QSurfaceDataArray &&rows);
40 void removeRows(qsizetype rowIndex, qsizetype removeCount);
41 void limitValues(QVector3D &minValues,
42 QVector3D &maxValues,
43 QAbstract3DAxis *axisX,
44 QAbstract3DAxis *axisY,
45 QAbstract3DAxis *axisZ) const;
46 bool isValidValue(float value, QAbstract3DAxis *axis) const;
47
48 void setSeries(QAbstract3DSeries *series) override;
49};
50
51QT_END_NAMESPACE
52
53#endif
54

Provided by KDAB

Privacy Policy
Start learning QML with our Intro Training
Find out more

source code of qtgraphs/src/graphs3d/data/qsurfacedataproxy_p.h