18#ifndef QGSPOINTCLOUDSTATSCALCULATIONTASK_H
19#define QGSPOINTCLOUDSTATSCALCULATIONTASK_H
41class QgsPointCloudStatsCalculationTask :
public QgsTask
46 QgsPointCloudStatsCalculationTask( QgsPointCloudIndex index,
const QVector<QgsPointCloudAttribute> &attributes, qint64 pointLimit );
52 QgsPointCloudStatistics calculationResults()
const;
54 QgsPointCloudStatsCalculator mCalculator;
55 QVector<QgsPointCloudAttribute> mAttributes;
57 QgsFeedback *mFeedback =
nullptr;
Abstract base class for long running background tasks.
virtual bool run()=0
Performs the task's operation.
virtual void cancel()
Notifies the task that it should terminate.