QGIS API Documentation  3.20.0-Odense (decaadbb31)
Signals | Public Member Functions | List of all members
QgsPointCloudBlockRequest Class Reference

Base class for handling loading QgsPointCloudBlock asynchronously. More...

#include <qgspointcloudblockrequest.h>

Inheritance diagram for QgsPointCloudBlockRequest:
Inheritance graph
[legend]

Signals

void finished ()
 Emitted when the request processing has finished. More...
 

Public Member Functions

 QgsPointCloudBlockRequest (const IndexedPointCloudNode &node, const QString &Uri, const QString &dataType, const QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes, const QgsVector3D &scale, const QgsVector3D &offset)
 QgsPointCloudBlockRequest constructor Note: It is the responsablitiy of the caller to delete the block if it was loaded correctly. More...
 
QgsPointCloudBlockblock ()
 Returns the requested block. More...
 
QString errorStr ()
 Returns the error message string of the request. More...
 

Detailed Description

Base class for handling loading QgsPointCloudBlock asynchronously.

Note
The API is considered EXPERIMENTAL and can be changed without a notice
Since
QGIS 3.20

Definition at line 40 of file qgspointcloudblockrequest.h.

Constructor & Destructor Documentation

◆ QgsPointCloudBlockRequest()

QgsPointCloudBlockRequest::QgsPointCloudBlockRequest ( const IndexedPointCloudNode node,
const QString &  Uri,
const QString &  dataType,
const QgsPointCloudAttributeCollection attributes,
const QgsPointCloudAttributeCollection requestedAttributes,
const QgsVector3D scale,
const QgsVector3D offset 
)

QgsPointCloudBlockRequest constructor Note: It is the responsablitiy of the caller to delete the block if it was loaded correctly.

Member Function Documentation

◆ block()

QgsPointCloudBlock* QgsPointCloudBlockRequest::block ( )

Returns the requested block.

if the returned block is nullptr, that means the data request failed Note: It is the responsablitiy of the caller to delete the block if it was loaded correctly

◆ errorStr()

QString QgsPointCloudBlockRequest::errorStr ( )

Returns the error message string of the request.

◆ finished

void QgsPointCloudBlockRequest::finished ( )
signal

Emitted when the request processing has finished.


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