| 
    QGIS API Documentation
    3.26.3-Buenos Aires (65e4edfdad)
    
   | 
 
 
 
 
Go to the documentation of this file.
   18 #ifndef QGSPOINTCLOUDINDEX_H 
   19 #define QGSPOINTCLOUDINDEX_H 
   24 #include <QStringList> 
   29 #include "qgis_core.h" 
   37 #include "qgspointcloudexpression.h" 
   73       return mD == other.
d() && mX == other.
x() && mY == other.
y() && mZ == other.
z();
 
   86     QString toString() 
const;
 
  101     int mD = -1, mX = -1, mY = -1, mZ = -1;
 
  151     qint32 mXMin, mYMin, mZMin, mXMax, mYMax, mZMax;
 
  183     virtual std::unique_ptr<QgsPointCloudIndex> clone() 
const = 0;
 
  186     virtual void load( 
const QString &fileName ) = 0;
 
  189     virtual bool isValid() 
const = 0;
 
  195     QString 
error()
 const { 
return mError; }
 
  203     virtual AccessType accessType() 
const = 0;
 
  208     virtual qint64 pointCount() 
const = 0;
 
  210     virtual bool hasStatisticsMetadata() 
const = 0;
 
  214     virtual QVariantList metadataClasses( 
const QString &attribute ) 
const;
 
  218     virtual QVariantMap originalMetadata() 
const = 0;
 
  269     double zMin()
 const { 
return mZMin; }
 
  271     double zMax()
 const { 
return mZMax; }
 
  315     bool setSubsetString( 
const QString &subset );
 
  323     QString subsetString() 
const;
 
  336     double mZMin = 0, mZMax = 0;   
 
  350 #endif // QGSPOINTCLOUDINDEX_H 
  
QgsVector3D mOffset
Offset of our int32 coordinates compared to CRS coords.
 
QgsPointCloudAttributeCollection mAttributes
 
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...
 
const QgsCoordinateReferenceSystem & crs
 
Class used to store statistics of a point cloud dataset.
 
Base class for storing raw data from point cloud nodes.
 
CORE_EXPORT uint qHash(IndexedPointCloudNode id)
Hash function for indexed nodes.
 
A rectangle specified with double values.
 
QHash< IndexedPointCloudNode, int > mHierarchy
Data hierarchy.
 
QgsVector3D mScale
Scale of our int32 coordinates compared to CRS coords.
 
int mSpan
All native attributes stored in the file.
 
Point cloud data request.
 
Represents a indexed point cloud node in octree.
 
double zMin() const
Returns z min.
 
double zMax() const
Returns z max.
 
QgsRectangle extent() const
Returns extent of the data.
 
bool operator==(IndexedPointCloudNode other) const
Compares nodes.
 
Collection of point cloud attributes.
 
QgsRectangle mExtent
2D extent of data
 
bool isValid() const
Returns whether node is valid.
 
IndexedPointCloudNode root()
Returns root node of the index.
 
QgsPointCloudDataBounds mRootBounds
Bounds of the root node's cube (in int32 coordinates)
 
This class represents a coordinate reference system (CRS).
 
QString error() const
Returns the error that occurred during the loading of the index.
 
Statistic
Enumeration of flags that specify statistics to be calculated.
 
QgsRange which stores a range of double values.
 
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)
 
Represents packaged data bounds.
 
Q_DECLARE_TYPEINFO(IndexedPointCloudNode, Q_PRIMITIVE_TYPE)
 
Represents a indexed point clouds data in octree.
 
QgsPointCloudExpression mFilterExpression
The filter expression to be evaluated when fetching node data.