blob: ff86c28c30a11dbc7a7a486a3fa0d3bf61c2575b (
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
27
28
29
30
|
// Copyright (C) 2023 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
#ifndef OSMGEOMETRY_H
#define OSMGEOMETRY_H
#include <QQuick3DGeometry>
#include <QtQmlIntegration>
#include <QVector3D>
class OSMGeometry : public QQuick3DGeometry
{
Q_OBJECT
QML_ELEMENT
public:
explicit OSMGeometry( QQuick3DGeometry *parent = nullptr );
signals:
void geometryReady();
public slots:
void updateData(const QList<QVariant> &geoVariantsList);
private slots:
void loadGeometryFromData(const QList<QVariant> &geoVariantsList);
};
#endif // OSMGEOMETRY_H
|