Graph Gallery

 // Copyright (C) 2023 The Qt Company Ltd.
 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

 #ifndef TOPOGRAPHICSERIES_H
 #define TOPOGRAPHICSERIES_H

 #include <QtGraphs/qsurface3dseries.h>

 class TopographicSeries : public QSurface3DSeries
 {
     Q_OBJECT
 public:
     TopographicSeries();
     ~TopographicSeries() override;

     void setTopographyFile(const QString file, float width, float height);

     float sampleCountX() { return m_sampleCountX; }
     float sampleCountZ() { return m_sampleCountZ; }

 private:
     float m_sampleCountX = 0.f;
     float m_sampleCountZ = 0.f;
 };

 #endif // TOPOGRAPHICSERIES_H