18 #ifndef QGSPOINTCLOUDSTATISTICS_H
19 #define QGSPOINTCLOUDSTATISTICS_H
21 #include "qgis_core.h"
41 double minimum = std::numeric_limits<double>::max();
42 double maximum = std::numeric_limits<double>::lowest();
68 QgsPointCloudStatistics(
int sampledPointsCount,
const QMap<QString, QgsPointCloudAttributeStatistics> &stats );
79 void clear(
const QVector<QgsPointCloudAttribute> &attributes );
85 QList<int> classesOf(
const QString &attribute )
const;
93 QMap<int, int> availableClasses(
const QString &attribute )
const;
100 double minimum(
const QString &attribute )
const;
106 double maximum(
const QString &attribute )
const;
112 double mean(
const QString &attribute )
const;
118 double stDev(
const QString &attribute )
const;
124 QByteArray toStatisticsJson()
const;
130 QMap<QString, QgsPointCloudAttributeStatistics> statisticsMap()
const {
return mStatisticsMap; };
134 int mSampledPointsCount = 0;
135 QMap<QString, QgsPointCloudAttributeStatistics> mStatisticsMap;
144 #endif // QGSPOINTCLOUDSTATISTICS_H