Class: QgsProcessingParameterPointCloudDestination¶
A point cloud layer destination parameter, for specifying the destination path for a point cloud layer created by the algorithm.
Added in version 3.24.
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Base class for all parameter definitions which represent file or layer destinations, e.g. parameters which are used for the destination for layers output by an algorithm. |
|
Base class for the definition of processing parameters. |
|
Abstract interface for classes which generate a file filter string. |
Constructor
Abstract Methods
Methods
Returns the point cloud output formats allowed for this parameter. |
|
Sets the point cloud output formats allowed for this parameter. |
Virtual Methods
In PyQGIS, only methods marked as virtual can be safely overridden in a Python subclass of QgsProcessingParameterPointCloudDestination. See the FAQ for more details.
Returns a list of the point cloud format file extensions supported for this parameter. |
Static Methods
Creates a new parameter using the definition from a script code. |
|
Returns the type name for the parameter class. |
- class qgis.core.QgsProcessingParameterPointCloudDestination[source]¶
Bases:
QgsProcessingDestinationParameter- __init__(name: str | None, description: str | None = '', defaultValue: Any = None, optional: bool = False, createByDefault: bool = True, allowedPointCloudOutputs: Qgis.PointCloudOutputsTypes = Qgis.PointCloudOutputsTypes.All)¶
Constructor for QgsProcessingParameterPointCloudDestination.
If
createByDefaultisFalseand the parameter isoptional, then this destination output will not be created by default.The
allowedPointCloudOutputsargument can be used to restrict the output formats offered, e.g. to only virtual point cloud formats (VPC and VPZ) (since QGIS 4.4).- Parameters:
name (str|None)
description (str|None = '')
defaultValue (Any = None)
optional (bool = False)
createByDefault (bool = True)
allowedPointCloudOutputs (Qgis.PointCloudOutputsTypes = Qgis.PointCloudOutputsTypes.All)
- __init__(a0: QgsProcessingParameterPointCloudDestination)
- Parameters:
- allowedPointCloudOutputs(self) Qgis.PointCloudOutputsTypes[source]¶
Returns the point cloud output formats allowed for this parameter.
See also
Added in version 4.4.
- Return type:
- virtual clone(self) QgsProcessingParameterDefinition | None[source]¶
- Return type:
- static fromScriptCode(name: str | None, description: str | None, isOptional: bool, definition: str | None) QgsProcessingParameterPointCloudDestination | None¶
Creates a new parameter using the definition from a script code.
- Parameters:
name (str|None)
description (str|None)
isOptional (bool)
definition (str|None)
- Return type:
- setAllowedPointCloudOutputs(self, allowed: Qgis.PointCloudOutputsTypes)[source]¶
Sets the point cloud output formats
allowedfor this parameter.See also
Added in version 4.4.
- Parameters:
allowed (Qgis.PointCloudOutputsTypes)
- virtual supportedOutputPointCloudLayerExtensions(self) list[str][source]¶
Returns a list of the point cloud format file extensions supported for this parameter.
See also
defaultFileExtension()- Return type:
list[str]
- abstract toOutputDefinition(self) QgsProcessingOutputDefinition | None[source]¶
- Return type: