QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsPointCloudAttributeStatistics Class Reference

Stores statistics of one attribute of a point cloud dataset. More...

#include <qgspointcloudstatistics.h>

Public Member Functions

void cumulateStatistics (const QgsPointCloudAttributeStatistics &stats)
 Updates the current point cloud statistics to hold the cumulation of the current statistics and stats.
int singleClassCount (int cls) const
 Returns the count of points in given class or -1 on error.

Public Attributes

QMap< int, int > classCount
int count = 0
double maximum = std::numeric_limits<double>::lowest()
double mean = 0
double minimum = std::numeric_limits<double>::max()
double stDev = 0

Detailed Description

Stores statistics of one attribute of a point cloud dataset.

Since
QGIS 3.26

Definition at line 45 of file qgspointcloudstatistics.h.

Member Function Documentation

◆ cumulateStatistics()

void QgsPointCloudAttributeStatistics::cumulateStatistics ( const QgsPointCloudAttributeStatistics & stats)

Updates the current point cloud statistics to hold the cumulation of the current statistics and stats.

Definition at line 30 of file qgspointcloudstatistics.cpp.

◆ singleClassCount()

int QgsPointCloudAttributeStatistics::singleClassCount ( int cls) const

Returns the count of points in given class or -1 on error.

Since
QGIS 3.42

Definition at line 52 of file qgspointcloudstatistics.cpp.

Member Data Documentation

◆ classCount

QMap<int, int> QgsPointCloudAttributeStatistics::classCount

Definition at line 53 of file qgspointcloudstatistics.h.

◆ count

int QgsPointCloudAttributeStatistics::count = 0

Definition at line 51 of file qgspointcloudstatistics.h.

◆ maximum

double QgsPointCloudAttributeStatistics::maximum = std::numeric_limits<double>::lowest()

Definition at line 48 of file qgspointcloudstatistics.h.

◆ mean

double QgsPointCloudAttributeStatistics::mean = 0

Definition at line 49 of file qgspointcloudstatistics.h.

◆ minimum

double QgsPointCloudAttributeStatistics::minimum = std::numeric_limits<double>::max()

Definition at line 47 of file qgspointcloudstatistics.h.

◆ stDev

double QgsPointCloudAttributeStatistics::stDev = 0

Definition at line 50 of file qgspointcloudstatistics.h.


The documentation for this class was generated from the following files: