Class: QgsClassificationPointCloud3DSymbol

class qgis._3d.QgsClassificationPointCloud3DSymbol

Bases: qgis._3d.QgsPointCloud3DSymbol

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.

New in version 3.18.

QgsClassificationPointCloud3DSymbol() Constructor for QgsClassificationPointCloud3DSymbol

QgsClassificationPointCloud3DSymbol(QgsClassificationPointCloud3DSymbol)

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

getFilteredOutCategories

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

readBaseXml

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

writeBaseXml

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

getFilteredOutCategories(self) List[QgsPointCloudCategory]

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

See also

categoriesList()

Return type:

List[QgsPointCloudCategory]

readBaseXml()
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

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