18#ifndef QGSPOINTCLOUDSTATSCALCULATIONTASK_H
19#define QGSPOINTCLOUDSTATSCALCULATIONTASK_H
40class QgsPointCloudStatsCalculationTask :
public QgsTask
45 QgsPointCloudStatsCalculationTask( QgsPointCloudIndex index,
const QVector<QgsPointCloudAttribute> &attributes, qint64 pointLimit );
51 QgsPointCloudStatistics calculationResults()
const;
53 QgsPointCloudStatsCalculator mCalculator;
54 QVector<QgsPointCloudAttribute> mAttributes;
56 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.