Class: QgsColorRampPointCloud3DSymbol¶
3D symbol that draws point cloud geometries as 3D objects using color ramp shader.
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¶
Base classes¶
3D symbol that draws point cloud geometries as 3D objects. |
|
Abstract base class for 3D symbols that are used by VectorLayer3DRenderer objects. |
Methods
Returns the attribute used to select the color of the point cloud. |
|
Returns the color ramp shader used to render the color |
|
Returns the maximum value used when classifying colors in the color ramp shader |
|
Returns the minimum value used when classifying colors in the color ramp shader |
|
Sets the attribute used to select the color of the point cloud. |
|
Sets the color ramp shader used to render the point cloud |
|
Sets the minimum and maximum values used when classifying colors in the color ramp shader |
|
- class qgis._3d.QgsColorRampPointCloud3DSymbol[source]¶
Bases:
QgsPointCloud3DSymbol
- attribute(self) str [source]¶
Returns the attribute used to select the color of the point cloud.
See also
- Return type:
str
- colorRampShader(self) QgsColorRampShader [source]¶
Returns the color ramp shader used to render the color
See also
- Return type:
- colorRampShaderMax(self) float [source]¶
Returns the maximum value used when classifying colors in the color ramp shader
See also
- Return type:
float
- colorRampShaderMin(self) float [source]¶
Returns the minimum value used when classifying colors in the color ramp shader
See also
- Return type:
float
- readBaseXml()¶
- setAttribute(self, attribute: str | None)[source]¶
Sets the
attribute
used to select the color of the point cloud.See also
- Parameters:
attribute (Optional[str])
- setColorRampShader(self, colorRampShader: QgsColorRampShader)[source]¶
Sets the color ramp shader used to render the point cloud
See also
- Parameters:
colorRampShader (QgsColorRampShader)
- setColorRampShaderMinMax(self, min: float, max: float)[source]¶
Sets the minimum and maximum values used when classifying colors in the color ramp shader
See also
See also
- Parameters:
min (float)
max (float)
- writeBaseXml()¶