QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
18 #ifndef QGSRASTERFILEWRITERTASK_H
19 #define QGSRASTERFILEWRITERTASK_H
21 #include "qgis_core.h"
53 int columns,
int rows,
66 int columns,
int rows,
82 void writeComplete(
const QString &outputUrl );
89 void errorOccurred(
int error );
97 void errorOccurred(
int error,
const QString &errorMessage );
102 void finished(
bool result )
override;
111 std::unique_ptr< QgsRasterPipe > mPipe;
113 QString mDestFileName;
115 std::unique_ptr< QgsRasterBlockFeedback > mFeedback;
122 #endif //QGSRASTERFILEWRITERTASK_H
Contains information about the context in which a coordinate transform is executed.
const QgsCoordinateReferenceSystem & crs
Contains a pipeline of raster interfaces for sequential raster processing.
A rectangle specified with double values.
virtual void finished(bool result)
If the task is managed by a QgsTaskManager, this will be called after the task has finished (whether ...
virtual void cancel()
Notifies the task that it should terminate.
This class represents a coordinate reference system (CRS).
The raster file writer which allows you to save a raster to a new file.
virtual bool run()=0
Performs the task's operation.
QgsTask task which performs a QgsRasterFileWriter layer saving operation as a background task....
Abstract base class for long running background tasks. Tasks can be controlled directly,...