Class: QgsRgbPointCloud3DSymbol

3D symbol that draws point cloud geometries as 3D objects using RGB colors in 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.QgsRgbPointCloud3DSymbol

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.

class qgis._3d.QgsRgbPointCloud3DSymbol[source]

Bases: QgsPointCloud3DSymbol

blueAttribute(self) str[source]

Returns the attribute to use for the blue channel.

See also

greenAttribute()

See also

redAttribute()

Return type:

str

blueContrastEnhancement(self) QgsContrastEnhancement | None[source]

Returns the contrast enhancement to use for the blue channel.

Return type:

Optional[QgsContrastEnhancement]

greenAttribute(self) str[source]

Returns the attribute to use for the green channel.

See also

redAttribute()

See also

blueAttribute()

Return type:

str

greenContrastEnhancement(self) QgsContrastEnhancement | None[source]

Returns the contrast enhancement to use for the green channel.

Return type:

Optional[QgsContrastEnhancement]

readBaseXml()
redAttribute(self) str[source]

Returns the attribute to use for the red channel.

See also

greenAttribute()

See also

blueAttribute()

Return type:

str

redContrastEnhancement(self) QgsContrastEnhancement | None[source]

Returns the contrast enhancement to use for the red channel.

Return type:

Optional[QgsContrastEnhancement]

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

Sets the attribute to use for the blue channel.

See also

blueAttribute()

Parameters:

attribute (Optional[str])

setBlueContrastEnhancement(self, enhancement: QgsContrastEnhancement | None)[source]

Sets the contrast enhancement to use for the blue channel.

Ownership of enhancement is transferred.

Parameters:

enhancement (Optional[QgsContrastEnhancement])

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

Sets the attribute to use for the green channel.

See also

greenAttribute()

Parameters:

attribute (Optional[str])

setGreenContrastEnhancement(self, enhancement: QgsContrastEnhancement | None)[source]

Sets the contrast enhancement to use for the green channel.

Ownership of enhancement is transferred.

Parameters:

enhancement (Optional[QgsContrastEnhancement])

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

Sets the attribute to use for the red channel.

See also

redAttribute()

Parameters:

attribute (Optional[str])

setRedContrastEnhancement(self, enhancement: QgsContrastEnhancement | None)[source]

Sets the contrast enhancement to use for the red channel.

Ownership of enhancement is transferred.

Parameters:

enhancement (Optional[QgsContrastEnhancement])

writeBaseXml()