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
Returns the attribute used to select the color of the point cloud.
- rtype:
int
Returns the list of categories of the classification
- rtype:
QgsAbstract3DSymbol
Gets the list of categories of the classification that should not be rendered
- param elem:
Sets the
attribute
used to select the color of the point cloud.Sets the list of categories of the classification
- rtype:
str
- param elem:
- attribute(self) str ¶
Returns the attribute used to select the color of the point cloud.
See also
- Return type:
str
- byteStride(self) int ¶
- Return type:
int
- categoriesList(self) List[QgsPointCloudCategory] ¶
Returns the list of categories of the classification
See also
- Return type:
List[QgsPointCloudCategory]
- clone(self) QgsAbstract3DSymbol ¶
- Return type:
- getFilteredOutCategories(self) List[QgsPointCloudCategory] ¶
Gets the list of categories of the classification that should not be rendered
See also
- Return type:
List[QgsPointCloudCategory]
- readBaseXml()¶
- readXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters:
elem (QDomElement) –
context (QgsReadWriteContext) –
- setAttribute(self, attribute: str)¶
Sets the
attribute
used to select the color of the point cloud.See also
- Parameters:
attribute (str) –
- setCategoriesList(self, categories: Iterable[QgsPointCloudCategory])¶
Sets the list of categories of the classification
See also
- Parameters:
categories (Iterable[QgsPointCloudCategory]) –
- symbolType(self) str ¶
- Return type:
str
- writeBaseXml()¶
- writeXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters:
elem (QDomElement) –
context (QgsReadWriteContext) –