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

Inheritance diagram of qgis.core.QgsProcessingParameterPointCloudDestination

Base classes

QgsProcessingDestinationParameter

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.

QgsProcessingParameterDefinition

Base class for the definition of processing parameters.

QgsFileFilterGenerator

Abstract interface for classes which generate a file filter string.

Constructor

__init__

Abstract Methods

toOutputDefinition

Methods

allowedPointCloudOutputs

Returns the point cloud output formats allowed for this parameter.

setAllowedPointCloudOutputs

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.

clone

supportedOutputPointCloudLayerExtensions

Returns a list of the point cloud format file extensions supported for this parameter.

Static Methods

fromScriptCode

Creates a new parameter using the definition from a script code.

typeName

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 createByDefault is False and the parameter is optional, then this destination output will not be created by default.

The allowedPointCloudOutputs argument 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:

a0 (QgsProcessingParameterPointCloudDestination)

allowedPointCloudOutputs(self) → Qgis.PointCloudOutputsTypes[source]

Returns the point cloud output formats allowed for this parameter.

Added in version 4.4.

Return type:

Qgis.PointCloudOutputsTypes

virtual clone(self) → QgsProcessingParameterDefinition | None[source]
Return type:

QgsProcessingParameterDefinition|None

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:

QgsProcessingParameterPointCloudDestination|None

setAllowedPointCloudOutputs(self, allowed: Qgis.PointCloudOutputsTypes)[source]

Sets the point cloud output formats allowed for this parameter.

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:

QgsProcessingOutputDefinition|None

static typeName() → str[source]

Returns the type name for the parameter class.

Return type:

str