Class: QgsRgbPointCloud3DSymbol

class qgis.3d.QgsRgbPointCloud3DSymbol

Bases: qgis._3d.QgsPointCloud3DSymbol

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.

New in version 3.18.

QgsRgbPointCloud3DSymbol() Constructor for QgsRGBPointCloud3DSymbol

Methods

blueAttribute

Returns the attribute to use for the blue channel.

blueContrastEnhancement

Returns the contrast enhancement to use for the blue channel.

byteStride

rtype

int

clone

rtype

QgsAbstract3DSymbol

copyBaseSettings

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

greenAttribute

Returns the attribute to use for the green channel.

greenContrastEnhancement

Returns the contrast enhancement to use for the green channel.

readXml

param elem

redAttribute

Returns the attribute to use for the red channel.

redContrastEnhancement

Returns the contrast enhancement to use for the red channel.

setBlueAttribute

Sets the attribute to use for the blue channel.

setBlueContrastEnhancement

Sets the contrast enhancement to use for the blue channel.

setGreenAttribute

Sets the attribute to use for the green channel.

setGreenContrastEnhancement

Sets the contrast enhancement to use for the green channel.

setRedAttribute

Sets the attribute to use for the red channel.

setRedContrastEnhancement

Sets the contrast enhancement to use for the red channel.

symbolType

QgsRgbPointCloud3DSymbol cannot be copied - use clone() instead

writeXml

param elem

blueAttribute(self)str

Returns the attribute to use for the blue channel.

See also

greenAttribute()

See also

redAttribute()

Return type

str

blueContrastEnhancement(self)QgsContrastEnhancement

Returns the contrast enhancement to use for the blue channel.

Return type

QgsContrastEnhancement

byteStride(self)int
Return type

int

clone(self)QgsAbstract3DSymbol
Return type

QgsAbstract3DSymbol

copyBaseSettings(self, destination: QgsAbstract3DSymbol)

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

greenAttribute(self)str

Returns the attribute to use for the green channel.

See also

redAttribute()

See also

blueAttribute()

Return type

str

greenContrastEnhancement(self)QgsContrastEnhancement

Returns the contrast enhancement to use for the green channel.

Return type

QgsContrastEnhancement

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

Returns the attribute to use for the red channel.

See also

greenAttribute()

See also

blueAttribute()

Return type

str

redContrastEnhancement(self)QgsContrastEnhancement

Returns the contrast enhancement to use for the red channel.

Return type

QgsContrastEnhancement

setBlueAttribute(self, attribute: str)

Sets the attribute to use for the blue channel.

See also

blueAttribute()

Parameters

attribute (str) –

setBlueContrastEnhancement(self, enhancement: QgsContrastEnhancement)

Sets the contrast enhancement to use for the blue channel.

Ownership of enhancement is transferred.

Parameters

enhancement (QgsContrastEnhancement) –

setGreenAttribute(self, attribute: str)

Sets the attribute to use for the green channel.

See also

greenAttribute()

Parameters

attribute (str) –

setGreenContrastEnhancement(self, enhancement: QgsContrastEnhancement)

Sets the contrast enhancement to use for the green channel.

Ownership of enhancement is transferred.

Parameters

enhancement (QgsContrastEnhancement) –

setRedAttribute(self, attribute: str)

Sets the attribute to use for the red channel.

See also

redAttribute()

Parameters

attribute (str) –

setRedContrastEnhancement(self, enhancement: QgsContrastEnhancement)

Sets the contrast enhancement to use for the red channel.

Ownership of enhancement is transferred.

Parameters

enhancement (QgsContrastEnhancement) –

symbolType(self)str

QgsRgbPointCloud3DSymbol cannot be copied - use clone() instead

Return type

str

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