| 
    QGIS API Documentation
    3.26.3-Buenos Aires (65e4edfdad)
    
   | 
 
 
 
 
Go to the documentation of this file.
   18 #ifndef QGSEPTPOINTCLOUDINDEX_H 
   19 #define QGSEPTPOINTCLOUDINDEX_H 
   24 #include <QStringList> 
   44     explicit QgsEptPointCloudIndex();
 
   45     ~QgsEptPointCloudIndex();
 
   47     std::unique_ptr<QgsPointCloudIndex> 
clone() 
const override;
 
   49     void load( 
const QString &fileName ) 
override;
 
   58     QVariantList 
metadataClasses( 
const QString &attribute ) 
const override;
 
   72     bool loadSchema( 
const QByteArray &dataJson );
 
   73     void loadManifest( 
const QByteArray &manifestJson );
 
   74     bool loadSchema( QFile &f );
 
   77     bool mIsValid = 
false;
 
   82     qint64 mPointCount = 0;
 
   84     struct AttributeStatistics
 
   89       double mean = std::numeric_limits< double >::quiet_NaN();
 
   90       double stDev = std::numeric_limits< double >::quiet_NaN();
 
   91       double variance = std::numeric_limits< double >::quiet_NaN();
 
   94     QMap< QString, AttributeStatistics > mMetadataStats;
 
   96     QMap< QString, QMap< int, int > > mAttributeClasses;
 
   97     QVariantMap mOriginalMetadata;
 
  101 #endif // QGSEPTPOINTCLOUDINDEX_H 
  
virtual QgsPointCloudBlock * nodeData(const IndexedPointCloudNode &n, const QgsPointCloudRequest &request)=0
Returns node data block.
 
virtual QgsCoordinateReferenceSystem crs() const =0
Returns the coordinate reference system of the point cloud index.
 
void copyCommonProperties(QgsPointCloudIndex *destination) const
Copies common properties to the destination index.
 
virtual std::unique_ptr< QgsPointCloudIndex > clone() const =0
Returns a clone of the current point cloud index object.
 
Base class for storing raw data from point cloud nodes.
 
virtual bool isValid() const =0
Returns whether index is loaded and valid.
 
virtual AccessType accessType() const =0
Returns the access type of the data If the access type is Remote, data will be fetched from an HTTP s...
 
Point cloud data request.
 
virtual QVariantMap originalMetadata() const =0
Returns the original metadata map.
 
Represents a indexed point cloud node in octree.
 
virtual void load(const QString &fileName)=0
Loads the index from the file.
 
virtual bool hasStatisticsMetadata() const =0
Returns whether the dataset contains metadata of statistics.
 
This class represents a coordinate reference system (CRS).
 
virtual QVariantList metadataClasses(const QString &attribute) const
Returns the classes of attribute.
 
virtual QgsPointCloudBlockRequest * asyncNodeData(const IndexedPointCloudNode &n, const QgsPointCloudRequest &request)=0
Returns a handle responsible for loading a node data block.
 
Statistic
Enumeration of flags that specify statistics to be calculated.
 
Base class for handling loading QgsPointCloudBlock asynchronously.
 
@ Local
Local means the source is a local file on the machine.
 
AccessType
The access type of the data, local is for local files and remote for remote files (over HTTP)
 
virtual QVariant metadataStatistic(const QString &attribute, QgsStatisticalSummary::Statistic statistic) const
Returns the statistic statistic of attribute.
 
Represents a indexed point clouds data in octree.
 
virtual QVariant metadataClassStatistic(const QString &attribute, const QVariant &value, QgsStatisticalSummary::Statistic statistic) const
Returns the statistic statistic of the class value of the attribute attribute.
 
virtual qint64 pointCount() const =0
Returns the number of points in the point cloud.