/************************************************************************ * This file has been generated automatically from * * * * src/core/processing/qgsprocessingparametertininputlayers.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/ class QgsProcessingParameterTinInputLayers: QgsProcessingParameterDefinition { %Docstring A parameter for processing algorithms that need a list of input vector layers to construct a TIN A valid value for this parameter is a list (QVariantList), where each item is a map (QVariantMap) in this form: { 'Id': string hat represents the unique Id of the vector layer, 'Type': how the vector layer is used : as vertices or as break lines 'AttributeIndex' : the index of the attribute of the vector layer used to defined the Z value of vertices, if -1, the Z coordinates of features are used } .. versionadded:: 3.16 %End %TypeHeaderCode #include "qgsprocessingparametertininputlayers.h" %End public: enum Type { Vertices, BreakLines }; struct InputLayer { QString layerId; //!The Id of the input layer Type type; //!The sype of the input lyer (see Type) int attributeIndex; //! The attribute index used for Z value of vertices }; QgsProcessingParameterTinInputLayers( const QString &name, const QString &description = QString() ); %Docstring Constructor %End virtual QgsProcessingParameterDefinition *clone() const; virtual QString type() const; virtual bool checkValueIsAcceptable( const QVariant &input, QgsProcessingContext *context = 0 ) const; virtual QString valueAsPythonString( const QVariant &value, QgsProcessingContext &context ) const; virtual QString asPythonString( QgsProcessing::PythonOutputType outputType = QgsProcessing::PythonQgsProcessingAlgorithmSubclass ) const; static QString typeName(); %Docstring Returns the type name for the parameter class. %End }; class QgsProcessingParameterTypeTinInputLayers : QgsProcessingParameterType { %Docstring Parameter type definition for QgsProcessingParameterTinInputLayers. .. versionadded:: 3.16 %End %TypeHeaderCode #include "qgsprocessingparametertininputlayers.h" %End public: virtual QgsProcessingParameterDefinition *create( const QString &name ) const /Factory/; virtual QString description() const; virtual QString name() const; virtual QString id() const; virtual QString pythonImportString() const; virtual QString className() const; virtual QStringList acceptedPythonTypes() const; }; /************************************************************************ * This file has been generated automatically from * * * * src/core/processing/qgsprocessingparametertininputlayers.h * * * * Do not edit manually ! Edit header and run scripts/sipify.pl again * ************************************************************************/