Class: QgsPointCloudRgbRenderer¶
An RGB renderer for 2d visualisation of point clouds using embedded red, green and blue attributes.
Added in version 3.18.
Class Hierarchy¶
Base classes¶
Abstract base class for 2d point cloud renderers. |
Methods
Returns the attribute to use for the blue channel. |
|
Returns the contrast enhancement to use for the blue channel. |
|
Returns the attribute to use for the green channel. |
|
Returns the contrast enhancement to use for the green channel. |
|
Returns the attribute to use for the red channel. |
|
Returns the contrast enhancement to use for the red channel. |
|
Sets the attribute to use for the blue channel. |
|
Sets the contrast enhancement to use for the blue channel. |
|
Sets the attribute to use for the green channel. |
|
Sets the contrast enhancement to use for the green channel. |
|
Sets the attribute to use for the red channel. |
|
Sets the contrast enhancement to use for the red channel. |
Static Methods
Creates an RGB renderer from an XML element. |
- class qgis.core.QgsPointCloudRgbRenderer[source]¶
Bases:
QgsPointCloudRenderer
- __init__()
Constructor for QgsPointCloudRgbRenderer.
- blueAttribute(self) str [source]¶
Returns the attribute to use for the blue channel.
See also
See also
See also
- Return type:
str
- blueContrastEnhancement(self) QgsContrastEnhancement | None [source]¶
Returns the contrast enhancement to use for the blue channel.
See also
See also
See also
- Return type:
Optional[QgsContrastEnhancement]
- static create(element: QDomElement, context: QgsReadWriteContext) QgsPointCloudRenderer | None [source]¶
Creates an RGB renderer from an XML
element
.- Parameters:
element (QDomElement)
context (QgsReadWriteContext)
- Return type:
Optional[QgsPointCloudRenderer]
- greenAttribute(self) str [source]¶
Returns the attribute to use for the green channel.
See also
See also
See also
- Return type:
str
- greenContrastEnhancement(self) QgsContrastEnhancement | None [source]¶
Returns the contrast enhancement to use for the green channel.
See also
See also
See also
- Return type:
Optional[QgsContrastEnhancement]
- redAttribute(self) str [source]¶
Returns the attribute to use for the red channel.
See also
See also
See also
- Return type:
str
- redContrastEnhancement(self) QgsContrastEnhancement | None [source]¶
Returns the contrast enhancement to use for the red channel.
See also
See also
See also
- Return type:
Optional[QgsContrastEnhancement]
- setBlueAttribute(self, attribute: str | None)[source]¶
Sets the
attribute
to use for the blue channel.See also
See also
See also
- 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.See also
See also
See also
- Parameters:
enhancement (Optional[QgsContrastEnhancement])
- setGreenAttribute(self, attribute: str | None)[source]¶
Sets the
attribute
to use for the green channel.See also
See also
See also
- 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.See also
See also
See also
- Parameters:
enhancement (Optional[QgsContrastEnhancement])
- setRedAttribute(self, attribute: str | None)[source]¶
Sets the
attribute
to use for the red channel.See also
See also
See also
- 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.See also
See also
See also
- Parameters:
enhancement (Optional[QgsContrastEnhancement])