Class: QgsPointCloudLayerElevationProperties¶
- class qgis.core.QgsPointCloudLayerElevationProperties(parent: QObject)¶
Bases:
QgsMapLayerElevationProperties
Constructor for
QgsPointCloudLayerElevationProperties
, with the specifiedparent
object.Point cloud layer specific subclass of
QgsMapLayerElevationProperties
.Methods
- param layer
- rtype
bool
- param range
- param element
Sets the z
offset
, which is a fixed offset amount which will be added to z values from the layer.Sets the z
scale
, which is a scaling factor which will be applied to z values from the layer.- param element
Returns the z offset, which is a fixed offset amount which should be added to z values from the layer.
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
- 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
element (QDomElement) –
context (QgsReadWriteContext) –
- 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.
See also
- 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.
See also
- Parameters
scale (float) –
- timerEvent(self, QTimerEvent)¶
- writeXml(self, element: QDomElement, doc: QDomDocument, context: QgsReadWriteContext) → QDomElement¶
- Parameters
element (QDomElement) –
doc (QDomDocument) –
context (QgsReadWriteContext) –
- 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.
See also
- 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.
See also
- Return type
float