Class: QgsPointCloudLayer3DRenderer¶
3D renderer that renders all points from a point cloud layer.
Added in version 3.18.
Class Hierarchy¶
Base classes¶
Base class for point cloud 3D renderers. |
|
Base class for all renderers that participate in 3D views. |
Methods
Returns point cloud layer associated with the renderer |
|
Returns the maximum screen error allowed when rendering the point cloud. |
|
Returns the maximum number of points that will be rendered to the scene |
|
Sets point cloud layer associated with the renderer |
|
Sets the maximum screen error allowed when rendering the point cloud. |
|
Sets the maximum number of points to be rendered in the scene |
|
Sets whether bounding boxes will be visible when rendering the point cloud. |
|
Sets the 3D symbol associated with the renderer. |
|
Sets the renderer behavior when zoomed out |
|
Returns whether bounding boxes will be visible when rendering the point cloud. |
|
Returns 3D symbol associated with the renderer |
|
Returns the renderer behavior when zoomed out |
- class qgis._3d.QgsPointCloudLayer3DRenderer[source]¶
Bases:
QgsAbstractPointCloud3DRenderer
- __init__()
Takes ownership of the symbol object
- layer(self) QgsPointCloudLayer | None [source]¶
Returns point cloud layer associated with the renderer
- Return type:
Optional[QgsPointCloudLayer]
- maximumScreenError(self) float [source]¶
Returns the maximum screen error allowed when rendering the point cloud.
Larger values result in a faster render with less points rendered.
See also
- Return type:
float
- pointRenderingBudget(self) int [source]¶
Returns the maximum number of points that will be rendered to the scene
- Return type:
int
- setLayer(self, layer: QgsPointCloudLayer | None)[source]¶
Sets point cloud layer associated with the renderer
- Parameters:
layer (Optional[QgsPointCloudLayer])
- setMaximumScreenError(self, error: float)[source]¶
Sets the maximum screen
error
allowed when rendering the point cloud.Larger values result in a faster render with less points rendered.
See also
- Parameters:
error (float)
- setPointRenderingBudget(self, budget: int)[source]¶
Sets the maximum number of points to be rendered in the scene
- Parameters:
budget (int)
- setShowBoundingBoxes(self, showBoundingBoxes: bool)[source]¶
Sets whether bounding boxes will be visible when rendering the point cloud.
See also
- Parameters:
showBoundingBoxes (bool)
- setSymbol(self, symbol: QgsPointCloud3DSymbol | None)[source]¶
Sets the 3D
symbol
associated with the renderer. Ownership ofsymbol
is transferred to the renderer.See also
- Parameters:
symbol (Optional[QgsPointCloud3DSymbol])
- setZoomOutBehavior(self, behavior: Qgis.PointCloudZoomOutRenderBehavior)[source]¶
Sets the renderer behavior when zoomed out
Added in version 3.42.
- Parameters:
behavior (Qgis.PointCloudZoomOutRenderBehavior)
- showBoundingBoxes(self) bool [source]¶
Returns whether bounding boxes will be visible when rendering the point cloud.
See also
- Return type:
bool
- symbol(self) QgsPointCloud3DSymbol | None [source]¶
Returns 3D symbol associated with the renderer
- Return type:
Optional[QgsPointCloud3DSymbol]
- zoomOutBehavior(self) Qgis.PointCloudZoomOutRenderBehavior [source]¶
Returns the renderer behavior when zoomed out
Added in version 3.42.
- Return type: