Class: QgsRgbPointCloud3DSymbol¶
- class qgis.3d.QgsRgbPointCloud3DSymbol¶
Bases:
qgis._3d.QgsPointCloud3DSymbol
Constructor for
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.
Methods
Returns the attribute to use for the blue channel.
Returns the contrast enhancement to use for the blue channel.
- rtype
int
- rtype
QgsAbstract3DSymbol
Copies base class settings from this object to a
destination
object.Returns the attribute to use for the green channel.
Returns the contrast enhancement to use for the green channel.
- param elem
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.QgsRgbPointCloud3DSymbol
cannot be copied - useclone()
instead- param elem
- blueAttribute(self) → str¶
Returns the attribute to use for the blue channel.
See also
See also
See also
- Return type
str
- blueContrastEnhancement(self) → QgsContrastEnhancement¶
Returns the contrast enhancement to use for the blue channel.
See also
See also
See also
- Return type
- byteStride(self) → int¶
- Return type
int
- clone(self) → QgsAbstract3DSymbol¶
- Return type
- 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
See also
See also
- Return type
str
- greenContrastEnhancement(self) → QgsContrastEnhancement¶
Returns the contrast enhancement to use for the green channel.
See also
See also
See also
- Return type
- readXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters
elem (QDomElement) –
context (QgsReadWriteContext) –
- redAttribute(self) → str¶
Returns the attribute to use for the red channel.
See also
See also
See also
- Return type
str
- redContrastEnhancement(self) → QgsContrastEnhancement¶
Returns the contrast enhancement to use for the red channel.
See also
See also
See also
- Return type
- setBlueAttribute(self, attribute: str)¶
Sets the
attribute
to use for the blue channel.See also
See also
See also
- Parameters
attribute (str) –
- setBlueContrastEnhancement(self, enhancement: QgsContrastEnhancement)¶
Sets the contrast
enhancement
to use for the blue channel.Ownership of
enhancement
is transferred.See also
See also
See also
- Parameters
enhancement (QgsContrastEnhancement) –
- setGreenAttribute(self, attribute: str)¶
Sets the
attribute
to use for the green channel.See also
See also
See also
- Parameters
attribute (str) –
- setGreenContrastEnhancement(self, enhancement: QgsContrastEnhancement)¶
Sets the contrast
enhancement
to use for the green channel.Ownership of
enhancement
is transferred.See also
See also
See also
- Parameters
enhancement (QgsContrastEnhancement) –
- setRedAttribute(self, attribute: str)¶
Sets the
attribute
to use for the red channel.See also
See also
See also
- Parameters
attribute (str) –
- setRedContrastEnhancement(self, enhancement: QgsContrastEnhancement)¶
Sets the contrast
enhancement
to use for the red channel.Ownership of
enhancement
is transferred.See also
See also
See also
- Parameters
enhancement (QgsContrastEnhancement) –
- symbolType(self) → str¶
QgsRgbPointCloud3DSymbol
cannot be copied - useclone()
instead- Return type
str
- writeXml(self, elem: QDomElement, context: QgsReadWriteContext)¶
- Parameters
elem (QDomElement) –
context (QgsReadWriteContext) –