Class: QgsColorRampPointCloud3DSymbol¶
- class qgis.3d.QgsColorRampPointCloud3DSymbol¶
Bases:
qgis._3d.QgsPointCloud3DSymbol
Constructor for QgsColorRampPointCloud3DSymbol
QgsColorRampPointCloud3DSymbol(
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.
Methods
Returns the attribute used to select the color of the point cloud.
- rtype
int
- rtype
QgsAbstract3DSymbol
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
Copies base class settings from this object to a
destination
object.- param elem
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
- 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
- clone(self) → QgsAbstract3DSymbol¶
- Return type
- colorRampShader(self) → QgsColorRampShader¶
Returns the color ramp shader used to render the color
See also
- Return type
- colorRampShaderMax(self) → float¶
Returns the maximum value used when classifying colors in the color ramp shader
See also
- Return type
float
- colorRampShaderMin(self) → float¶
Returns the minimum value used when classifying colors in the color ramp shader
See also
- Return type
float
- copyBaseSettings(self, destination: QgsAbstract3DSymbol)¶
Copies base class settings from this object to a
destination
object.
- 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) –
- setColorRampShader(self, colorRampShader: QgsColorRampShader)¶
Sets the color ramp shader used to render the point cloud
See also
- Parameters
colorRampShader (QgsColorRampShader) –
- setColorRampShaderMinMax(self, min: float, max: float)¶
Sets the minimum and maximum values used when classifying colors in the color ramp shader
See also
- Parameters
min (float) –
max (float) –
- symbolType(self) → str¶
- Return type
str
- writeXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters
elem (QDomElement) –
context (QgsReadWriteContext) –