Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
and minor fixes
- Loading branch information
Showing
24 changed files
with
1,261 additions
and
510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 99 additions & 0 deletions
99
python/core/auto_generated/processing/qgsprocessingparametertininputlayers.sip.in
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
/************************************************************************ | ||
* 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 * | ||
************************************************************************/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.