136 Commits

Author SHA1 Message Date
Nyall Dawson
b5dfe8f155 Refactor enum handling
- Add enums to qgis.h instead of qgscoreenums, so that they belong to
a Qgis namespace
- Split up the various symbol headers into multiple files so that we
can fine-tune their inclusion and forward declare more readily, speeding
up recompilation
- Move QgsSymbol enums to qgis
2021-05-18 16:59:22 +10:00
Nedjima Belgacem
e4f74ed90a
[remote EPT] [point cloud] fix UI freeze bug (#42965)
* fix UI freeze bug

* fix spelling

* fix spelling

* refactor a bit of the code

* rename getPointCloudBlock to pointCloudBlock

* use a feedback object instead of cancelled callback

* do not use QMetaObject::Connection

* Qgs3DRenderContext doesn't need to be QObject

* remove Q_OBJECT
2021-05-04 10:12:46 +02:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
def799810d Spelling, sip 2021-03-10 11:11:46 +10:00
Alessandro Pasotti
7b2fc4c1f8 More doxy nonsense, pt 2 2021-02-19 08:15:29 +10:00
NEDJIMAbelgacem
5de28dd580 return maximum screen space in 3D 2021-02-10 13:49:28 +01:00
Belgacem
6019168a86 make point cloud rendering better and make UI for point budget 2021-02-10 13:49:28 +01:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Nyall Dawson
7f3b40772a Fix build 2021-01-14 08:15:57 +10:00
Belgacem
0318ff768d add movement speed combobox 2021-01-14 08:15:57 +10:00
Belgacem
44d39becf3 initial fly mode implementation 2021-01-14 08:15:57 +10:00
Nyall Dawson
39307900c6 When a point cloud is first added to a project, default to setting
a 3d renderer on it to match its 2d renderer

It just makes sense!
2020-12-10 04:03:40 +10:00
NEDJIMAbelgacem
14ff8e3489 initial implementation 2020-12-08 16:29:14 +01:00
NEDJIMAbelgacem
a5329d4f19 Add FPS counter check box 2020-12-08 16:28:49 +01:00
NEDJIMAbelgacem
752c42c3d7 Fix categories filtering performance 2020-12-07 15:17:15 +01:00
NEDJIMAbelgacem
e1776dfcad fix broken see also links 2020-12-07 15:17:15 +01:00
NEDJIMAbelgacem
df3c30e113 Add docs 2020-12-07 15:17:15 +01:00
NEDJIMAbelgacem
e3dcb5b028 categories selection handling (visible/hidden) 2020-12-07 15:17:15 +01:00
NEDJIMAbelgacem
69f4476b59 initial 3d classification rendering implementation 2020-12-07 15:17:15 +01:00
NEDJIMAbelgacem
85e0e7652f adjust screen space error from UI 2020-12-07 15:16:50 +01:00
Nyall Dawson
da162726e4 Support contrast enhancement and manual selection of RGB attributes
in 3d RBB point cloud renderer
2020-12-04 16:07:07 +07:00
Nyall Dawson
2f14a53467 Cleanup identification handling of 3d point cloud symbol subclasses,
and fix loss of symbol type when saving/restoring projects
2020-12-04 16:36:41 +10:00
NEDJIMAbelgacem
14a770282b fix doc 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
05d6edc604 refactor storing rendering style enum 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
955eaff38f Address reviews 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
d6a6d9ba64 fix SIP 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
70f96b0179 Use rendering context instead of passing the symbol to the handler 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
05149fa76f move handler to qgspointcloud3dsymbol_p 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
a271e819bb split the point cloud handler 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
27221617d6 try to fix compilation 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
67a4cc44ce refactor the attributes and vertex buffer code 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
7b9725a245 move material stuff to symbol classes 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
f4b9f72211 move point size to QgsPointCloud3DSymbol 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
d97b29139b remove NoRendering symbol 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
d0cb30e189 Add RGB rendering 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
015f306f84 fix documentation check 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
5e76bc6fcb Change rendering parameter to point cloud attributes 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
376671215a fix broken see also 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
095ac5230e Add NoRendering symbol 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
3979b47ed1 Split QgsPointCloud3DSymbol into different classes 2020-12-03 22:27:20 +01:00
NEDJIMAbelgacem
7e2528427c Implement color ramp shader stuff 2020-12-03 22:27:20 +01:00
nirvn
9dee613a2a [FEATURE][3d] Orthographic projection support for 3D scenes 2020-11-19 15:30:30 +07:00
NEDJIMAbelgacem
9655a1e8d0 sipify qgspointcloud3dsymbol 2020-11-17 17:22:44 +01:00
NEDJIMAbelgacem
43446920d2 Merge branch 'master' into point-clouds-3d-gui 2020-11-17 02:17:20 +01:00
NEDJIMAbelgacem
8faa5eee43 Address some of the reviews 2020-11-17 00:51:18 +01:00
vcloarec
7485141f84 fix lost of property definition 2020-11-15 14:59:50 +10:00
vcloarec
8e4d9ca905 fix datadefined ui 2020-11-15 14:59:50 +10:00
Nyall Dawson
2dcbf95099 [3d] Add new material type "QgsNullMaterialSettings"
This is a "null" shading material which should be used when
rendering models or scenes with native textures and no material
should be explicitly set on the loaded entities.
2020-11-14 09:02:16 +10:00
Nyall Dawson
6224ea9b1c Add new 3d rendering technique enum value for TrianglesFromModel 2020-11-14 09:01:19 +10:00
NEDJIMAbelgacem
c220bb47a3 Initial implementation of point-cloud 3D GUI 2020-11-13 15:58:41 +01:00