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
Returns the attribute used to select the color of the point cloud.
- rtype
int
Returns the list of categories of the classification
- rtype
QgsAbstract3DSymbol
Copies base class settings from this object to a
destination
object.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
- 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
- Return type
List[QgsPointCloudCategory]
- 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
- writeXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters
elem (QDomElement) –
context (QgsReadWriteContext) –