Class: QgsClassificationPointCloud3DSymbol

3D symbol that draws point cloud geometries as 3D objects using classification of the dataset.

Warning

This is not considered stable API, and may change in future QGIS releases. It is exposed to the Python bindings as a tech preview only.

Added in version 3.18.

Class Hierarchy

Inheritance diagram of qgis._3d.QgsClassificationPointCloud3DSymbol

Base classes

QgsPointCloud3DSymbol

3D symbol that draws point cloud geometries as 3D objects.

QgsAbstract3DSymbol

Abstract base class for 3D symbols that are used by VectorLayer3DRenderer objects.

Methods

attribute

Returns the attribute used to select the color of the point cloud.

categoriesList

Returns the list of categories of the classification

getFilteredOutCategories

Gets the list of categories of the classification that should not be rendered

readBaseXml

setAttribute

Sets the attribute used to select the color of the point cloud.

setCategoriesList

Sets the list of categories of the classification

writeBaseXml

class qgis._3d.QgsClassificationPointCloud3DSymbol[source]

Bases: QgsPointCloud3DSymbol

attribute(self) str[source]

Returns the attribute used to select the color of the point cloud.

See also

setAttribute()

Return type:

str

categoriesList(self) List[QgsPointCloudCategory][source]

Returns the list of categories of the classification

Return type:

List[QgsPointCloudCategory]

getFilteredOutCategories(self) List[QgsPointCloudCategory][source]

Gets the list of categories of the classification that should not be rendered

See also

categoriesList()

Return type:

List[QgsPointCloudCategory]

readBaseXml()
setAttribute(self, attribute: str | None)[source]

Sets the attribute used to select the color of the point cloud.

See also

attribute()

Parameters:

attribute (Optional[str])

setCategoriesList(self, categories: Iterable[QgsPointCloudCategory])[source]

Sets the list of categories of the classification

See also

categoriesList()

Parameters:

categories (Iterable[QgsPointCloudCategory])

writeBaseXml()