Class: QgsPointCloudLayerElevationProperties

class qgis.core.QgsPointCloudLayerElevationProperties(parent: QObject)

Bases: QgsMapLayerElevationProperties

Constructor for QgsPointCloudLayerElevationProperties, with the specified parent object.

Point cloud layer specific subclass of QgsMapLayerElevationProperties.

New in version 3.18.

Parameters

parent

calculateZRange(self, layer: QgsMapLayer)QgsDoubleRange
Parameters

layer (QgsMapLayer) –

Return type

QgsDoubleRange

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
hasElevation(self) → bool
Return type

bool

isSignalConnected(self, QMetaMethod) → bool
isVisibleInZRange(self, range: QgsDoubleRange) → bool
Parameters

range (QgsDoubleRange) –

Return type

bool

readXml(self, element: QDomElement, context: QgsReadWriteContext) → bool
Parameters
Return type

bool

receivers(self, PYQT_SIGNAL) → int
sender(self) → QObject
senderSignalIndex(self) → int
setZOffset(self, offset: float)

Sets the z offset, which is a fixed offset amount which will be added to z values from the layer.

This can be used to correct or manually adjust for incorrect elevation values in a point cloud layer.

Note

Any scaling specified via zScale() is applied before any offset value specified via zOffset()

See also

zOffset()

Parameters

offset (float) –

setZScale(self, scale: float)

Sets the z scale, which is a scaling factor which will be applied to z values from the layer.

This can be used to correct or manually adjust for incorrect elevation values in a point cloud layer, such as conversion of elevation values in feet to meters.

Note

Any scaling specified via zScale() is applied before any offset value specified via zOffset()

See also

zScale()

Parameters

scale (float) –

timerEvent(self, QTimerEvent)
writeXml(self, element: QDomElement, doc: QDomDocument, context: QgsReadWriteContext) → QDomElement
Parameters
Return type

QDomElement

zOffset(self) → float

Returns the z offset, which is a fixed offset amount which should be added to z values from the layer.

This can be used to correct or manually adjust for incorrect elevation values in a point cloud layer.

Note

Any scaling specified via zScale() is applied before any offset value specified via zOffset()

See also

setZOffset()

Return type

float

zScale(self) → float

Returns the z scale, which is a scaling factor which should be applied to z values from the layer.

This can be used to correct or manually adjust for incorrect elevation values in a point cloud layer, such as conversion of elevation values in feet to meters.

Note

Any scaling specified via zScale() is applied before any offset value specified via zOffset()

See also

setZScale()

Return type

float