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 overview switching scale |
|
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 overview switching scale |
|
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:
- 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
- overviewSwitchingScale(self) float[source]¶
Returns the overview switching scale
Added in version 4.0.
- 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
errorallowed when rendering the point cloud.Larger values result in a faster render with less points rendered.
See also
- Parameters:
error (float)
- setOverviewSwitchingScale(self, scale: float)[source]¶
Sets the overview switching scale
Used to determine when point clouds switch from rendering bounding boxes to displaying full point data. The value is compared against screen space error (SSE) calculated from camera distance and node size.
Added in version 4.0.
- Parameters:
scale (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
symbolassociated with the renderer. Ownership ofsymbolis 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:
- zoomOutBehavior(self) Qgis.PointCloudZoomOutRenderBehavior[source]¶
Returns the renderer behavior when zoomed out
Added in version 3.42.
- Return type: