Class: QgsClassificationPointCloud3DSymbol

class qgis.3d.QgsClassificationPointCloud3DSymbol

Bases: qgis._3d.QgsPointCloud3DSymbol

Constructor for QgsClassificationPointCloud3DSymbol

QgsClassificationPointCloud3DSymbol(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.

Methods

attribute

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

byteStride

rtype

int

categoriesList

Returns the list of categories of the classification

clone

rtype

QgsAbstract3DSymbol

copyBaseSettings

Copies base class settings from this object to a destination object.

getFilteredOutCategories

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

readXml

param elem

setAttribute

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

setCategoriesList

Sets the list of categories of the classification

symbolType

rtype

str

writeXml

param elem

attribute(self) → str

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

See also

setAttribute()

Return type

str

byteStride(self) → int
Return type

int

categoriesList(self) → List[QgsPointCloudCategory]

Returns the list of categories of the classification

Return type

List[QgsPointCloudCategory]

clone(self)QgsAbstract3DSymbol
Return type

QgsAbstract3DSymbol

copyBaseSettings(self, destination: QgsAbstract3DSymbol)

Copies base class settings from this object to a destination object.

getFilteredOutCategories(self) → List[QgsPointCloudCategory]

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

See also

categoriesList()

Return type

List[QgsPointCloudCategory]

readXml(self, elem: QDomElement, context: QgsReadWriteContext)
Parameters
setAttribute(self, attribute: str)

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

See also

attribute()

Parameters

attribute (str) –

setCategoriesList(self, categories: Iterable[QgsPointCloudCategory])

Sets the list of categories of the classification

See also

categoriesList()

Parameters

categories (Iterable[QgsPointCloudCategory]) –

symbolType(self) → str
Return type

str

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