QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
qgsgeotransform.h
Go to the documentation of this file.
1/***************************************************************************
2 qgsgeotransform.h
3 --------------------------------------
4 Date : November 2024
5 Copyright : (C) 2024 by Martin Dobias
6 Email : wonder dot sk at gmail dot com
7 ***************************************************************************
8 * *
9 * This program is free software; you can redistribute it and/or modify *
10 * it under the terms of the GNU General Public License as published by *
11 * the Free Software Foundation; either version 2 of the License, or *
12 * (at your option) any later version. *
13 * *
14 ***************************************************************************/
15
16#ifndef QGSGEOTRANSFORM_H
17#define QGSGEOTRANSFORM_H
18
20
21//
22// W A R N I N G
23// -------------
24//
25// This file is not part of the QGIS API. It exists purely as an
26// implementation detail. This header file may change from version to
27// version without notice, or even be removed.
28//
29
30#define SIP_NO_FILE
31
32#include "qgsvector3d.h"
33
34#include <Qt3DCore/QTransform>
35
42class QgsGeoTransform : public Qt3DCore::QTransform
43{
44 Q_OBJECT
45 public:
46 explicit QgsGeoTransform( Qt3DCore::QNode *parent = nullptr );
47
49 void setGeoTranslation( const QgsVector3D &translation );
50
52 void setOrigin( const QgsVector3D &origin );
53
54 private:
55 QgsVector3D mTranslation;
56 QgsVector3D mOrigin;
57};
58
60
61#endif // QGSGEOTRANSFORM_H