Class: QgsPointCloudLayer3DRenderer

class qgis.3d.QgsPointCloudLayer3DRenderer

Bases: QgsAbstract3DRenderer

Takes ownership of the symbol object

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

Methods

clone

rtype

QgsPointCloudLayer3DRenderer

layer

Returns point cloud layer associated with the renderer

maximumScreenError

Returns the maximum screen error allowed when rendering the point cloud.

pointRenderingBudget

Returns the maximum number of points that will be rendered to the scene

readXml

param elem

resolveReferences

param project

setLayer

Sets point cloud layer associated with the renderer

setMaximumScreenError

Sets the maximum screen error allowed when rendering the point cloud.

setPointRenderingBudget

Sets the maximum number of points to be rendered in the scene

setShowBoundingBoxes

Sets whether bounding boxes will be visible when rendering the point cloud.

setSymbol

Sets the 3D symbol associated with the renderer.

showBoundingBoxes

Returns whether bounding boxes will be visible when rendering the point cloud.

symbol

Returns 3D symbol associated with the renderer

type

rtype

str

writeXml

param elem

clone(self)QgsPointCloudLayer3DRenderer
Return type

QgsPointCloudLayer3DRenderer

layer(self)QgsPointCloudLayer

Returns point cloud layer associated with the renderer

Return type

QgsPointCloudLayer

maximumScreenError(self) → float

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

Returns the maximum number of points that will be rendered to the scene

Return type

int

readXml(self, elem: QDomElement, context: QgsReadWriteContext)
Parameters
resolveReferences(self, project: QgsProject)
Parameters

project (QgsProject) –

setLayer(self, layer: QgsPointCloudLayer)

Sets point cloud layer associated with the renderer

Parameters

layer (QgsPointCloudLayer) –

setMaximumScreenError(self, error: float)

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)

Sets the maximum number of points to be rendered in the scene

Parameters

budget (int) –

setShowBoundingBoxes(self, showBoundingBoxes: bool)

Sets whether bounding boxes will be visible when rendering the point cloud.

Parameters

showBoundingBoxes (bool) –

setSymbol(self, symbol: QgsPointCloud3DSymbol)

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

See also

symbol()

Parameters

symbol (QgsPointCloud3DSymbol) –

showBoundingBoxes(self) → bool

Returns whether bounding boxes will be visible when rendering the point cloud.

Return type

bool

symbol(self)QgsPointCloud3DSymbol

Returns 3D symbol associated with the renderer

Return type

QgsPointCloud3DSymbol

type(self) → str
Return type

str

writeXml(self, elem: QDomElement, context: QgsReadWriteContext)
Parameters