Class: QgsPointCloudLayerElevationProperties

class qgis.core.QgsPointCloudLayerElevationProperties

Bases: QgsMapLayerElevationProperties

Point cloud layer specific subclass of QgsMapLayerElevationProperties.

New in version 3.18.

QgsPointCloudLayerElevationProperties(parent: QObject) Constructor for QgsPointCloudLayerElevationProperties, with the specified parent object.

Methods

calculateZRange

param layer

childEvent

connectNotify

customEvent

disconnectNotify

hasElevation

rtype

bool

isSignalConnected

isVisibleInZRange

param range

readXml

param element

receivers

sender

senderSignalIndex

setZOffset

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

setZScale

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

timerEvent

writeXml

param element

zOffset

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

zScale

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

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