QGIS/python/PyQt6/3d/auto_generated
Jean Felder e38ac6c7b9 qgs3dmapscene: Add support to setup clipping
This adds two functions to setup clip planes on a 3d scene:
- enableClipping() to enable opengl clipping
- disableClipping() to disable opengl clipping

The `enableClipping()` function achieves 3 things:
- it stores the clipping plane equations
- it adds clip planes to the framegraph
- it enables the clipping on the material of the existing entities

`disableClipping()` does the opposite things.

The clip planes equations need to be stored to handle the dynamic
addition of new entities. Indeed, when a new entity is added, clipping
needs to be enabled on its material if necessary. This is achieved
in `finalizeNewEntity` which is called on all new entities.
However, this is not true for the terrain entity. That's why,
`mTerrain` now listens to the `newEntityCreated` signal to call
`handleClippingOnEntity()`.
2024-10-17 10:31:40 +02:00
..
2024-08-13 20:28:55 +10:00
2024-08-13 20:28:55 +10:00
2024-08-13 20:28:55 +10:00
2024-08-13 20:28:55 +10:00
2024-08-13 20:28:55 +10:00
2024-08-13 20:28:55 +10:00
2024-08-13 20:28:55 +10:00
2024-08-13 20:28:55 +10:00
2024-08-13 20:28:55 +10:00