2023-03-02 13:45:23 +00:00
|
|
|
// Copyright (C) 2023 The Qt Company Ltd.
|
2023-05-09 07:38:04 +00:00
|
|
|
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
|
2023-03-02 13:45:23 +00:00
|
|
|
|
|
|
|
|
#ifndef SURFACEGRAPH_H
|
|
|
|
|
#define SURFACEGRAPH_H
|
|
|
|
|
|
|
|
|
|
#include <QtCore/qobject.h>
|
|
|
|
|
#include <QtGraphs/q3dsurface.h>
|
2023-04-04 10:37:19 +00:00
|
|
|
#include "surfacegraphmodifier.h"
|
2023-03-02 13:45:23 +00:00
|
|
|
|
|
|
|
|
class SurfaceGraph : public QObject
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
SurfaceGraph();
|
|
|
|
|
|
|
|
|
|
void initialize();
|
|
|
|
|
QWidget *surfaceWidget() { return m_surfaceWidget; }
|
|
|
|
|
|
|
|
|
|
private:
|
2023-04-04 10:37:19 +00:00
|
|
|
SurfaceGraphModifier *m_modifier = nullptr;
|
2023-03-02 13:45:23 +00:00
|
|
|
Q3DSurface *m_surfaceGraph = nullptr;
|
|
|
|
|
QWidget *m_surfaceWidget = nullptr;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|