Class: QgsPointCloudLayer3DRenderer

3D renderer that renders all points from a point cloud layer.

Added in version 3.18.

Class Hierarchy

Inheritance diagram of qgis._3d.QgsPointCloudLayer3DRenderer

Base classes

QgsAbstractPointCloud3DRenderer

Base class for point cloud 3D renderers.

QgsAbstract3DRenderer

Base class for all renderers that participate in 3D views.

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.

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.

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.

Parameters:

showBoundingBoxes (bool)

setSymbol(self, symbol: QgsPointCloud3DSymbol | None)[source]

Sets the 3D symbol associated with the renderer. Ownership of symbol is transferred to the renderer.

See also

symbol()

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.

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:

Qgis.PointCloudZoomOutRenderBehavior