Skip to content

Commit 74ed07d

Browse files
committedSep 15, 2017
Move terrain related classes to a sub-directory
1 parent 04e12d9 commit 74ed07d

22 files changed

+29
-26
lines changed
 

‎src/3d/CMakeLists.txt

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,27 @@ SET(QGIS_3D_SRCS
88
chunklist.cpp
99
chunkloader.cpp
1010
chunknode.cpp
11-
demterraingenerator.cpp
12-
demterraintilegeometry.cpp
13-
flatterraingenerator.cpp
1411
lineentity.cpp
1512
map3d.cpp
16-
maptexturegenerator.cpp
17-
maptextureimage.cpp
1813
pointentity.cpp
1914
polygonentity.cpp
2015
polygongeometry.cpp
21-
#quantizedmeshgeometry.cpp
22-
#quantizedmeshterraingenerator.cpp
2316
scene.cpp
24-
terrain.cpp
25-
terrainchunkloader.cpp
26-
terraingenerator.cpp
2717
tessellator.cpp
2818
tilingscheme.cpp
2919
utils.cpp
3020

21+
terrain/demterraingenerator.cpp
22+
terrain/demterraintilegeometry.cpp
23+
terrain/flatterraingenerator.cpp
24+
terrain/maptexturegenerator.cpp
25+
terrain/maptextureimage.cpp
26+
#terrain/quantizedmeshgeometry.cpp
27+
#terrain/quantizedmeshterraingenerator.cpp
28+
terrain/terrain.cpp
29+
terrain/terrainchunkloader.cpp
30+
terrain/terraingenerator.cpp
31+
3132
poly2tri/common/shapes.cc
3233
poly2tri/sweep/advancing_front.cc
3334
poly2tri/sweep/cdt.cc
@@ -38,12 +39,13 @@ SET(QGIS_3D_SRCS
3839
SET(QGIS_3D_MOC_HDRS
3940
cameracontroller.h
4041
chunkedentity.h
41-
demterraingenerator.h
42-
demterraintilegeometry.h
43-
maptexturegenerator.h
44-
maptextureimage.h
4542
scene.h
46-
terrain.h
43+
44+
terrain/demterraingenerator.h
45+
terrain/demterraintilegeometry.h
46+
terrain/maptexturegenerator.h
47+
terrain/maptextureimage.h
48+
terrain/terrain.h
4749
)
4850

4951
QT5_WRAP_CPP(QGIS_3D_MOC_SRCS ${QGIS_3D_MOC_HDRS})
@@ -60,29 +62,31 @@ SET(QGIS_3D_HDRS
6062
chunklist.h
6163
chunkloader.h
6264
chunknode.h
63-
demterraingenerator.h
64-
demterraintilegeometry.h
65-
flatterraingenerator.h
6665
lineentity.h
6766
map3d.h
68-
maptexturegenerator.h
69-
maptextureimage.h
7067
pointentity.h
7168
polygonentity.h
7269
polygongeometry.h
73-
#quantizedmeshgeometry.h
74-
#quantizedmeshterraingenerator.h
7570
scene.h
76-
terrain.h
77-
terrainchunkloader.h
78-
terraingenerator.h
7971
tessellator.h
8072
tilingscheme.h
8173
utils.h
74+
75+
terrain/demterraingenerator.h
76+
terrain/demterraintilegeometry.h
77+
terrain/flatterraingenerator.h
78+
terrain/maptexturegenerator.h
79+
terrain/maptextureimage.h
80+
#terrain/quantizedmeshgeometry.h
81+
#terrain/quantizedmeshterraingenerator.h
82+
terrain/terrain.h
83+
terrain/terrainchunkloader.h
84+
terrain/terraingenerator.h
8285
)
8386

8487
INCLUDE_DIRECTORIES(
8588
${CMAKE_CURRENT_SOURCE_DIR}
89+
${CMAKE_CURRENT_SOURCE_DIR}/terrain
8690
${CMAKE_SOURCE_DIR}/src/core/
8791
${CMAKE_SOURCE_DIR}/src/core/geometry
8892
${CMAKE_SOURCE_DIR}/src/core/raster

‎src/3d/map3d.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ class QgsMapLayer;
1414
class QgsRasterLayer;
1515
class QgsVectorLayer;
1616

17-
class MapTextureGenerator;
1817
class TerrainGenerator;
1918

2019

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.