QGIS API Documentation
4.3.0-Master (52aa6503bed)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
3d
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
31
#include "qgis_3d.h"
32
#include "
qgsvector3d.h
"
33
34
#include <Qt3DCore/QTransform>
35
36
#define SIP_NO_FILE
37
44
class
_3D_EXPORT QgsGeoTransform :
public
Qt3DCore::QTransform
45
{
46
Q_OBJECT
47
public
:
48
explicit
QgsGeoTransform( Qt3DCore::QNode *parent =
nullptr
);
49
51
void
setGeoTranslation(
const
QgsVector3D &translation );
52
54
void
setOrigin(
const
QgsVector3D &origin );
55
56
private
:
57
QgsVector3D mTranslation;
58
QgsVector3D mOrigin;
59
};
60
62
63
#endif
// QGSGEOTRANSFORM_H
qgsvector3d.h
Generated on
for QGIS API Documentation by
1.17.0