mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-04 00:04:03 -04:00
55 lines
2.2 KiB
C++
55 lines
2.2 KiB
C++
/***************************************************************************
|
|
qgsalgorithmalignrasters.h
|
|
------------------------------
|
|
begin : July 2023
|
|
copyright : (C) 2023 by Alexander Bruy
|
|
email : alexander dot bruy at gmail dot com
|
|
***************************************************************************/
|
|
|
|
/***************************************************************************
|
|
* *
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
* it under the terms of the GNU General Public License as published by *
|
|
* the Free Software Foundation; either version 2 of the License, or *
|
|
* (at your option) any later version. *
|
|
* *
|
|
***************************************************************************/
|
|
|
|
#ifndef QGSALGORITHMALIGNRASTERS_H
|
|
#define QGSALGORITHMALIGNRASTERS_H
|
|
|
|
#define SIP_NO_FILE
|
|
|
|
#include "qgis_sip.h"
|
|
#include "qgsprocessingalgorithm.h"
|
|
#include "qgsapplication.h"
|
|
|
|
///@cond PRIVATE
|
|
|
|
/**
|
|
* Native align rasters algorithm.
|
|
*/
|
|
class QgsAlignRastersAlgorithm : public QgsProcessingAlgorithm
|
|
{
|
|
public:
|
|
QgsAlignRastersAlgorithm() = default;
|
|
void initAlgorithm( const QVariantMap &configuration = QVariantMap() ) override;
|
|
Qgis::ProcessingAlgorithmFlags flags() const override;
|
|
QString name() const override;
|
|
QString displayName() const override;
|
|
QStringList tags() const override;
|
|
QString group() const override;
|
|
QString groupId() const override;
|
|
QString shortHelpString() const override;
|
|
QString shortDescription() const override;
|
|
QgsAlignRastersAlgorithm *createInstance() const override SIP_FACTORY;
|
|
bool checkParameterValues( const QVariantMap ¶meters, QgsProcessingContext &context, QString *message ) const override;
|
|
|
|
protected:
|
|
QVariantMap processAlgorithm( const QVariantMap ¶meters, QgsProcessingContext &context, QgsProcessingFeedback *feedback ) override;
|
|
};
|
|
|
|
///@endcond PRIVATE
|
|
|
|
#endif // QGSALGORITHMALIGNRASTERS_H
|