Class: QgsPointCloudLayer3DRenderer¶
- class qgis.3d.QgsPointCloudLayer3DRenderer¶
Bases:
QgsAbstract3DRenderer
3D renderer that renders all points from a point cloud layer
New in version 3.18.
QgsPointCloudLayer3DRenderer() Takes ownership of the symbol object
Methods
- rtype
QgsPointCloudLayer3DRenderer
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
- param elem
- param project
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.Returns whether bounding boxes will be visible when rendering the point cloud.
Returns 3D symbol associated with the renderer
- rtype
str
- param elem
- clone(self) QgsPointCloudLayer3DRenderer ¶
- Return type
- layer(self) QgsPointCloudLayer ¶
Returns point cloud layer associated with the renderer
- Return type
- 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.
See also
- 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
elem (QDomElement) –
context (QgsReadWriteContext) –
- 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.
See also
- 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.
See also
- Parameters
showBoundingBoxes (bool) –
- setSymbol(self, symbol: QgsPointCloud3DSymbol)¶
Sets the 3D
symbol
associated with the renderer. Ownership ofsymbol
is transferred to the renderer.See also
- Parameters
symbol (QgsPointCloud3DSymbol) –
- showBoundingBoxes(self) bool ¶
Returns whether bounding boxes will be visible when rendering the point cloud.
See also
- Return type
bool
- symbol(self) QgsPointCloud3DSymbol ¶
Returns 3D symbol associated with the renderer
- Return type
- type(self) str ¶
- Return type
str
- writeXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters
elem (QDomElement) –
context (QgsReadWriteContext) –