Martin Dobias
e6da9ac607
Bring back some Python methods to make the test in Python work again
2022-09-02 07:52:22 -07:00
Martin Dobias
ec36709bfe
Address reviews from Stefanos and Nyall
2022-09-02 07:52:22 -07:00
Martin Dobias
18b3bdd139
Refactor elevation map related code to a new class QgsElevationMap
2022-09-02 07:52:22 -07:00
Martin Dobias
8f933496b6
Eye dome lighting code fixes
...
- make it independent on the current view's Z range
- simplify scaling code
- reverse Z handling (higher Z value == closer to "camera")
- remove unused API functions and member variables
2022-09-02 07:52:22 -07:00
NEDJIMAbelgacem
83cf5fab0b
fix layout tests
2022-09-02 07:52:22 -07:00
NEDJIMAbelgacem
789a83cd37
address reviews and fix docs
2022-09-02 07:52:22 -07:00
NEDJIMAbelgacem
5b6ba3e80a
Revert to RGBA elevation
2022-09-02 07:52:22 -07:00
NEDJIMAbelgacem
3eedcf0d8f
address reviews
2022-09-02 07:52:22 -07:00
NEDJIMAbelgacem
5ccb83b5c6
switch to using grayscale image and fix the default draw order rendering
2022-09-02 07:52:22 -07:00
NEDJIMAbelgacem
f4830334cf
initial implementation
2022-09-02 07:52:22 -07:00
Nyall Dawson
c9678be608
Simplify api
2022-05-01 09:13:08 +10:00
Nyall Dawson
51a178279c
API for rendering point cloud profiles using renderer colors
2022-05-01 09:13:08 +10:00
Nyall Dawson
c35d17b6e4
Move useful point cloud renderer enums to Qgis namespace
2022-04-29 19:58:21 +10:00
uclaros
d1d148f0c6
Address more comments
2022-01-19 06:24:20 +10:00
uclaros
a28cd2ce11
Address review
2022-01-19 06:24:20 +10:00
Stefanos Natsis
be99a166d9
Added pointcloud ordered by Z rendering for 2d views
2022-01-19 06:24:20 +10:00
Juergen E. Fischer
c6008b7ee1
fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
...
reverting 3fb0f66 (followup #45348 )
Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09
Run sipify_all.sh
2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306
run sipify
2021-10-12 16:34:05 +10:00
NEDJIMAbelgacem
7a03571fa7
code style review
2021-05-04 10:11:21 +02:00
NEDJIMAbelgacem
42ce3b6ae9
fix misplaced laszip tiles
2021-05-04 10:11:21 +02:00
NEDJIMAbelgacem
1a60a4562d
fix tests
2021-04-08 14:26:31 -07:00
NEDJIMAbelgacem
4a0230fc5c
Add QgsFeedback to handle canceling rendering
2021-04-08 14:26:31 -07:00
Denis Rouzaud
ba8a445850
run sipify
2021-03-22 21:13:52 +01:00
NEDJIMAbelgacem
86a71391df
remove point budget approach from 2D rendering
2021-02-10 13:49:28 +01:00
Belgacem
eb1ff089a6
implementation of point budget in 2D
2021-02-10 13:49:28 +01:00
Nyall Dawson
155ee72a17
Remove remnant docx
2021-01-18 13:47:31 +10:00
Belgacem
bec8fe5f2e
rollback the existing implementation and use QgsHighlight
2021-01-18 08:54:56 +10:00
Belgacem
6de83cd662
initial highlighting implementation
2021-01-18 08:54:56 +10:00
NEDJIMAbelgacem
8ec26000b4
remove layer and elevation properties
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
839636635b
add docs
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
6b7be9c909
fix spelling
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
8178add788
Address Nyall suggestions
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
9358c9bd3e
change to variant and remove QgsPointCloudIdentifyResults
2021-01-04 10:20:04 +10:00
NEDJIMAbelgacem
2d274af355
Add classified renderer filtering behaviour
2021-01-04 10:20:04 +10:00
Nyall Dawson
7b141e92f0
Also add scaling factor option, test
2020-12-16 13:58:20 +10:00
Nyall Dawson
1963ef9784
[pointclouds] Add an elevation tab in layer properties, and allow
...
users to set a manual offset to apply to point cloud z values
This allows for adjustment of the elevation of point clouds, eg so that:
1. They match nicely with point clouds from other datasources
2. Users can use point clouds from sources with arbitrary z values,
eg. a point cloud made by opendronemap without any actual reference
z values available
2020-12-16 13:58:20 +10:00
Nyall Dawson
def587fa77
[pointclouds] Add an extent only 2d renderer for point clouds
...
Useful when you just want an overview of the bounds of the layer in a
2d map. Also potentially usable as a temporary renderer for las/laz
files while we build the indexed representation of the file in the
background.
2020-12-04 17:44:23 +10:00
Nyall Dawson
c48f29a8b9
Add choice of point style for 2d point cloud renders
...
Options are Square or Circle shapes
2020-12-03 07:23:44 +01:00
Nyall Dawson
19fdf11976
Code cleanup
2020-12-03 07:23:44 +01:00
Nyall Dawson
666479494b
[pointclouds] Add a classified 2d renderer for point clouds
...
Allows styling point cloud layers by a classification attribute
2020-12-03 07:23:44 +01:00
Nyall Dawson
b3255c4cfd
Hookup some more support for toggling point cloud legend items
2020-12-03 07:23:44 +01:00
Nyall Dawson
91048d4be8
Add possibility for point cloud renderers to create checkable legend nodes
...
(not implemented for any renderers yet)
2020-12-03 07:23:44 +01:00
Nyall Dawson
6a6b77a145
Implement legends for point clouds with the Attribute By Ramp renderer
2020-12-02 21:58:02 +10:00
Nyall Dawson
fc3d61aaea
Cleanups, unit tests
2020-12-02 15:54:24 +10:00
Nyall Dawson
8ba9866c6b
Move some code to reusable methods in QgsPointCloudRenderer
2020-12-02 15:54:24 +10:00
Nyall Dawson
775320e095
Implement z range filtering for point clouds
2020-11-28 16:45:54 +10:00
Nyall Dawson
acbeebe32a
[pointclouds] Expose option to set point size for 2d point cloud renders
2020-11-19 15:49:43 +01:00
Nyall Dawson
4e13ad5555
Spelling, dox
2020-11-16 19:38:07 +10:00
Nyall Dawson
0d3ccf7040
Move setting for maximum screen error to QgsPointCloudRenderer, expose in GUI
2020-11-16 19:38:07 +10:00