1 | // Copyright (C) 2016 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 QtDataVisualization 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 QSURFACE3DSERIES_P_H |
15 | #define QSURFACE3DSERIES_P_H |
16 | |
17 | #include "qsurface3dseries.h" |
18 | #include "qabstract3dseries_p.h" |
19 | |
20 | QT_BEGIN_NAMESPACE |
21 | |
22 | class QSurface3DSeriesPrivate : public QAbstract3DSeriesPrivate |
23 | { |
24 | Q_OBJECT |
25 | public: |
26 | QSurface3DSeriesPrivate(QSurface3DSeries *q); |
27 | virtual ~QSurface3DSeriesPrivate(); |
28 | |
29 | void setDataProxy(QAbstractDataProxy *proxy) override; |
30 | void connectControllerAndProxy(Abstract3DController *newController) override; |
31 | void createItemLabel() override; |
32 | |
33 | void setSelectedPoint(const QPoint &position); |
34 | void setFlatShadingEnabled(bool enabled); |
35 | void setDrawMode(QSurface3DSeries::DrawFlags mode); |
36 | void setTexture(const QImage &texture); |
37 | void setWireframeColor(const QColor &color); |
38 | |
39 | private: |
40 | QSurface3DSeries *qptr(); |
41 | |
42 | QPoint m_selectedPoint; |
43 | bool m_flatShadingEnabled; |
44 | QSurface3DSeries::DrawFlags m_drawMode; |
45 | QImage m_texture; |
46 | QString m_textureFile; |
47 | QColor m_wireframeColor; |
48 | |
49 | private: |
50 | friend class QSurface3DSeries; |
51 | }; |
52 | |
53 | QT_END_NAMESPACE |
54 | |
55 | #endif |
56 | |