QGIS API Documentation
4.3.0-Master (8c22baaae17)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
3d
chunks
qgschunkboundsentity_p.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgschunkboundsentity_p.h
3
--------------------------------------
4
Date : July 2017
5
Copyright : (C) 2017 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 QGSCHUNKBOUNDSENTITY_P_H
17
#define QGSCHUNKBOUNDSENTITY_P_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
#include "
qgsvector3d.h
"
31
32
#include <Qt3DCore/QEntity>
33
34
#define SIP_NO_FILE
35
36
class
QgsBox3D
;
37
class
Qgs3DWiredMesh;
38
39
45
class
QgsChunkBoundsEntity :
public
Qt3DCore::QEntity
46
{
47
Q_OBJECT
48
49
public
:
51
QgsChunkBoundsEntity(
const
QgsVector3D &vertexDataOrigin, Qt3DCore::QNode *parent =
nullptr
);
52
54
void
setBoxes(
const
QList<QgsBox3D> &bboxes );
55
57
QgsVector3D vertexDataOrigin()
const
{
return
mVertexDataOrigin; }
58
59
private
:
60
QgsVector3D mVertexDataOrigin;
61
Qgs3DWiredMesh *mAabbMesh =
nullptr
;
62
};
63
65
66
#endif
// QGSCHUNKBOUNDSENTITY_P_H
QgsBox3D
A 3-dimensional box composed of x, y, z coordinates.
Definition
qgsbox3d.h:45
qgsvector3d.h
Generated on
for QGIS API Documentation by
1.17.0