Nyall Dawson
f62e945578
Improve documentation
2024-05-14 12:00:10 +10:00
Nyall Dawson
701af9462b
Rename to parentQuantityName
2024-05-14 12:00:10 +10:00
Nyall Dawson
0ff90a5698
When matching render elevation range to layer ranges, only consider
...
datasets from the same parent group
2024-05-14 12:00:10 +10:00
Nyall Dawson
4eb7661d85
Add fixed elevation range per dataset group mode for mesh layers
...
This mimics the "fixed range per band" mode we have for raster layers,
but allows a per-dataset group elevation range to be set for
mesh layers
2024-05-14 12:00:10 +10:00
uclaros
eee787f825
return magnitude multiplier based on units set
2024-05-07 10:22:36 +02:00
uclaros
3d4c19d3b3
Add support for Wind Barb rendering for mesh vector datasets
2024-05-07 10:22:36 +02:00
Nyall Dawson
4383a3a225
Add "dynamic elevation range per band" mode for rasters
...
In this mode, the user can specify a QGIS expression for the
lower and upper value corresponding to raster bands, using
variables like @band, @band_name and @band_description.
E.g
@band * 100
Can be used when each band represents a 100 m vertical slice
of data.
The expression will be evaluated when required to determine
the actual elevation range corresponding to each band.
This differs from the existing "Fixed Elevation Range Per Band"
mode in that "Fixed Elevation Range Per Band" requires users
to manually enter an elevation for each band separately,
and these values are then treated as constants. That mode works
best for rasters with non-regular steps in the band
elevation values, while this new mode is better for regular
band elevation steps
2024-03-21 12:33:33 +01:00
Nyall Dawson
40847d0596
Avoid some unnecessary redraws
2024-03-19 13:29:40 +10:00
Nyall Dawson
0bb3a26b20
Implement fixed elevation range for mesh layers
...
Just like the equivalent mode for raster layers, this mode indicates
that a fixed constant z range should be applied to the entire mesh
layer.
2024-03-19 13:29:40 +10:00
Even Rouault
a68422b982
Various typo fixes
...
Including 3 public methods, which are deprecated by this commit and replaced by a typo-fixed version
2024-02-29 06:03:03 +10:00
Alexander Bruy
d8e21a8906
rename QgsMeshRendererScalarSettings enum value from None to NoResampling to avoid issues with Python bindings ( fix #51033 )
2024-01-24 14:52:19 +02:00
uclaros
f0ec3a0aea
finalize mesh label rendering
2024-01-08 05:20:26 -08:00
Alexander Bruy
9ded559386
initial support for mesh labeling
2024-01-08 05:20:26 -08:00
Nyall Dawson
a39b5df615
Rename mesh "3d" classes to "3D" and monkey patch compatibility
2023-07-20 15:31:00 +10:00
Nyall Dawson
4c6018de92
Add option to limit the extent of "fill above" and "fill below"
...
elevation ranges for a layer in elevation profile plots
Fixes #51010
2023-05-22 14:48:57 +10:00
Vincent Cloarec
004f6d3704
Mesh layer style following dataset group name ( #52312 )
...
* copy mesh layer style following dataset group name
* fix typo and sipify
* fix const
* fix version in doc
* fix version in doc
2023-04-26 19:44:28 +00:00
Vincent Cloarec
f6d4ad36a3
fix mesh doc ( #52279 )
2023-03-17 03:05:42 +00:00
Nyall Dawson
f9c3da1e06
Move unit enums to Qgis, promote to enum class
2023-02-19 13:29:06 +10:00
Vincent Cloarec
cd6767693a
rework mesh streamlines renderer ( #51426 )
...
* rework mesh stream lines renderer
* fix indentation, cpp check and other cleaning
* fix clang-tidy
* minors fixes (arrowing and other)
* adapt control image for tests
2023-01-26 07:17:34 -04:00
Vincent Cloarec
606cc0a5ad
Fix new face with mesh editing ( #50401 )
...
* change approach for new face with mesh editing
* add test for new face with mesh editing
* fix spelling and SIP
* fix typo
* optimisation and QGIS version update
* add another check
2023-01-18 13:52:45 -04:00
Vincent Cloarec
220806ef5a
suggest to fix topological mesh error when starting mesh editing
2022-10-21 01:09:01 +00:00
vcloarec
e89698e618
SIPIFY
2022-09-07 13:43:28 -04:00
vcloarec
1d9495b8a9
change ui
2022-09-07 08:23:23 -04:00
vcloarec
410af1d023
fix spelling
2022-09-07 08:23:23 -04:00
vcloarec
8d47b47e20
option to reload mesh layer temporal properties
2022-09-07 08:23:23 -04:00
Julien Cabieces
012b6a46db
constify methods
2022-04-29 08:21:47 +10:00
Nyall Dawson
940175fc66
[feature] Add option to render raster and mesh elevation surface levels
...
using a fill symbol below the elevation surface
This can be easier to interpret in some cases, and helps match expected
symbology conventions in certain disciplines.
2022-04-27 17:30:14 +10:00
Nyall Dawson
9a99ed8800
Don't show vector layers with no interesting elevation properties
...
set by default in newly created elevation profiles
Fixes #48286
2022-04-22 13:07:16 +10:00
Nyall Dawson
1fc20cb026
Show elevation specific tooltips
2022-04-22 13:07:16 +10:00
Nyall Dawson
8ee20464a0
Ensure that elevation properties are copied whenever a layer is cloned
2022-04-07 19:22:19 +10:00
Nyall Dawson
77b9066e92
Add QgsMeshLayerElevationProperties subclass of
...
QgsMapLayerElevationProperties
2022-04-07 19:22:19 +10:00
Nyall Dawson
e0ae530dee
Implement profile generator for mesh layers
2022-03-25 10:08:11 +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
Vincent Cloarec
697f2bc474
Improve robustness of mesh editing ( #45497 )
...
* renaming and typo
* QgsMeshEditor:checkConsistency returns error
* change approach for remove vertex filling hole on boundary
* split QgsMeshEditor::removeVertex (with/without filling holes)
* check edited mesh before saving
* send start/save editing message to message bar
2021-10-15 08:43:51 -04: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
Vincent Cloarec
a840cbf98c
fix aggregate functions with mesh virtual dataset group ( #45446 )
2021-10-11 08:28:11 -04:00
Vincent Cloarec
d16cced882
fix time handling of mesh layer when gap of reference time ( #45456 )
...
fix time handling of mesh layer when gap of reference time
2021-10-11 11:31:08 +02:00
Vincent Cloarec
56b9d808ff
add missing text for mesh editing undo/redo
2021-10-10 13:43:59 -04:00
vcloarec
99a832ef1e
fix null temporal properties
2021-10-05 22:45:47 -04:00
Nyall Dawson
b48d7dcc9f
Don't reset mesh layer styling when changing data source for layer
...
This breaks fixing mesh layer paths when restoring projects with
broken mesh layers -- fixing the path causes the existing style
to be lost.
Fixes #45391
2021-10-05 22:45:47 -04:00
vcloarec
939eca2055
Sipify
2021-09-21 23:47:43 -04:00
Peter Petrik
b4ec12041f
Merge pull request #45140 from vcloarec/tuneMeshEditingWithAdvancedZvalue
...
Adapt mesh editing following new CAD Z value
2021-09-21 08:11:11 +02:00
vcloarec
aa4258f8eb
rename method
2021-09-20 14:49:41 -04:00
vcloarec
34408026ee
fix face/vertex count during editing
2021-09-19 23:08:49 -04:00
vcloarec
bb09d06e2a
use constraint cad Z value for mesh editing
2021-09-19 18:34:07 -04:00
vcloarec
a82b8d4d7f
fix layer extent and vertical extent of dataset group when editing
2021-09-14 23:28:20 -04:00
Vincent Cloarec
176ab29658
Make mesh edit tools more consistent with vector layers tools ( #45040 )
...
[mesh] UX fixes:
* move mesh elements click->move->click instead press-> drag->release
* allow to select by drawing a polygon and select an existing polygon in the same map tool like for vector layer)
2021-09-14 07:52:25 +02:00
Vincent Cloarec
be3a9e7564
reindex/renumbering mesh layer ( #44969 )
...
[mesh] [feature] reindex/renumbering mesh layer
Co-authored-by: PeterPetrik <zilolv@gmail.com>
2021-09-09 12:18:31 +02:00
Vincent Cloarec
46013949fb
Force mesh by polylines ( #44962 )
...
[mesh] [feature] allow modify mesh frame elevation by force/break lines
2021-09-09 10:26:32 +02:00