18 #ifndef QGSRASTERFILEWRITERTASK_H 19 #define QGSRASTERFILEWRITERTASK_H 21 #include "qgis_core.h" 52 int columns,
int rows,
65 int columns,
int rows,
79 void writeComplete(
const QString &outputUrl );
85 void errorOccurred(
int error );
90 void finished(
bool result )
override;
99 std::unique_ptr< QgsRasterPipe > mPipe;
101 QString mDestFileName;
103 std::unique_ptr< QgsRasterBlockFeedback > mFeedback;
111 #endif //QGSRASTERFILEWRITERTASK_H QgsTask task which performs a QgsRasterFileWriter layer saving operation as a background task...
A rectangle specified with double values.
Base class for processing modules.
const QgsCoordinateReferenceSystem & crs
Abstract base class for long running background tasks.
Contains information about the context in which a coordinate transform is executed.
virtual void cancel()
Notifies the task that it should terminate.
This class represents a coordinate reference system (CRS).
virtual void finished(bool result)
If the task is managed by a QgsTaskManager, this will be called after the task has finished (whether ...
virtual bool run()=0
Performs the task's operation.
The raster file writer which allows you to save a raster to a new file.