18#ifndef QGSPOINTCLOUDSTATISTICS_H
19#define QGSPOINTCLOUDSTATISTICS_H
41 double minimum = std::numeric_limits<double>::max();
42 double maximum = std::numeric_limits<double>::lowest();
69 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;
131 QMap<QString, QgsPointCloudAttributeStatistics>
statisticsMap()
const {
return mStatisticsMap; };
134 int mSampledPointsCount = 0;
135 QMap<QString, QgsPointCloudAttributeStatistics> mStatisticsMap;
Represents a indexed point cloud node in octree.
Attribute for point cloud data pair of name and size in bytes.
Class used to store statistics of a point cloud dataset.
int sampledPointsCount() const
Returns the number of points used to calculate the statistics.
QMap< QString, QgsPointCloudAttributeStatistics > statisticsMap() const
Returns a map object containing all the statistics.
Class used to store statistics of one attribute of a point cloud dataset.
QMap< int, int > classCount