blob: 41e03b1e759428e1df6400b5197b3023f285d8c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef TOPOGRAPHICSERIES_H
#define TOPOGRAPHICSERIES_H
#include <QtDataVisualization/qsurface3dseries.h>
class TopographicSeries : public QSurface3DSeries
{
Q_OBJECT
public:
TopographicSeries();
~TopographicSeries();
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
|