QGIS API Documentation
3.41.0-Master (af5edcb665c)
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
#define SIP_NO_FILE
31
32
#include <Qt3DCore/QTransform>
33
34
#include "
qgsvector3d.h
"
35
36
43
class
QgsGeoTransform :
public
Qt3DCore::QTransform
44
{
45
Q_OBJECT
46
public
:
47
explicit
QgsGeoTransform( Qt3DCore::QNode *parent =
nullptr
);
48
50
void
setGeoTranslation(
const
QgsVector3D
&translation );
51
53
void
setOrigin(
const
QgsVector3D
&origin );
54
55
private
:
56
QgsVector3D
mTranslation;
57
QgsVector3D
mOrigin;
58
};
59
61
62
#endif
// QGSGEOTRANSFORM_H
QgsVector3D
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...
Definition
qgsvector3d.h:31
qgsvector3d.h
Generated on Thu Dec 26 2024 02:19:01 for QGIS API Documentation by
1.9.8