-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor QgsPointCloudIndex #59564
Refactor QgsPointCloudIndex #59564
Conversation
🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. |
9857af2
to
2d3f664
Compare
8eb8eed
to
7787202
Compare
@@ -170,80 +170,6 @@ Only providers which report the CreateRenderer capability will return a 2D rende | |||
providers will return ``None``. | |||
%End | |||
|
|||
virtual bool hasStatisticsMetadata() const; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is all an API break -- we need to keep all methods exposed to Python for the lifetime of 3.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nyalldawson QgsPointCloudDataProvider
has been intentionally marked in docstring as experimental, allowing changes at in future - so I believe we should allow API breaks here...
@dvdkon can you update your branch please? There are some conflicts now... |
- Rename IndexedPointCloudNode to QgsPointCloudNodeId. - Introduce QgsPointCloudNode and move methods to it from QgsPointCloudIndex. - Report point cloud node bounds directly in CRS coordinates, without extra scaling and offset.
dbe9221
to
44d5399
Compare
Description
This PR refactors
QgsPointCloudIndex
, removing some unnecessary complexity and improving its design to bring it more in line withQgsTiledSceneIndex
.metadataStatistic()
) have been removed. Now the only way to get statistics is throughmetadataStatistics()
and theQgsPointCloudStatistics
object.IndexedPointCloudNode
is renamed toQgsPointCloudNodeId
.QgsPointCloudNode
, along with a method on the index to get this object from an ID.Funded by: QGIS.org grant