QGIS API Documentation 3.30.0-'s-Hertogenbosch (f186b8efe0)
Signals | Public Member Functions | Protected Attributes | List of all members
QgsPointCloudBlockRequest Class Referenceabstract

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 QgsPointCloudAttributeCollection &attributes, const QgsPointCloudAttributeCollection &requestedAttributes, const QgsVector3D &scale, const QgsVector3D &offset, const QgsPointCloudExpression &filterExpression, const QgsRectangle &filterRect)
 QgsPointCloudBlockRequest constructor Note: It is the responsablitiy of the caller to delete the block if it was loaded correctly. More...
 
virtual ~QgsPointCloudBlockRequest ()=0
 
QgsPointCloudBlockblock ()
 Returns the requested block. More...
 
QString errorStr ()
 Returns the error message string of the request. More...
 

Protected Attributes

QgsPointCloudAttributeCollection mAttributes
 
QgsPointCloudBlockmBlock = nullptr
 
QString mErrorStr
 
QgsPointCloudExpression mFilterExpression
 
QgsRectangle mFilterRect
 
IndexedPointCloudNode mNode
 
QgsVector3D mOffset
 
QgsPointCloudAttributeCollection mRequestedAttributes
 
QgsVector3D mScale
 
std::unique_ptr< QgsTileDownloadManagerReplymTileDownloadManagerReply = nullptr
 
QString mUri
 

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 36 of file qgspointcloudblockrequest.h.

Constructor & Destructor Documentation

◆ QgsPointCloudBlockRequest()

QgsPointCloudBlockRequest::QgsPointCloudBlockRequest ( const IndexedPointCloudNode node,
const QString &  Uri,
const QgsPointCloudAttributeCollection attributes,
const QgsPointCloudAttributeCollection requestedAttributes,
const QgsVector3D scale,
const QgsVector3D offset,
const QgsPointCloudExpression &  filterExpression,
const QgsRectangle filterRect 
)

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

◆ ~QgsPointCloudBlockRequest()

virtual QgsPointCloudBlockRequest::~QgsPointCloudBlockRequest ( )
pure virtual

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.

Member Data Documentation

◆ mAttributes

QgsPointCloudAttributeCollection QgsPointCloudBlockRequest::mAttributes
protected

Definition at line 68 of file qgspointcloudblockrequest.h.

◆ mBlock

QgsPointCloudBlock* QgsPointCloudBlockRequest::mBlock = nullptr
protected

Definition at line 71 of file qgspointcloudblockrequest.h.

◆ mErrorStr

QString QgsPointCloudBlockRequest::mErrorStr
protected

Definition at line 72 of file qgspointcloudblockrequest.h.

◆ mFilterExpression

QgsPointCloudExpression QgsPointCloudBlockRequest::mFilterExpression
protected

Definition at line 74 of file qgspointcloudblockrequest.h.

◆ mFilterRect

QgsRectangle QgsPointCloudBlockRequest::mFilterRect
protected

Definition at line 75 of file qgspointcloudblockrequest.h.

◆ mNode

IndexedPointCloudNode QgsPointCloudBlockRequest::mNode
protected

Definition at line 66 of file qgspointcloudblockrequest.h.

◆ mOffset

QgsVector3D QgsPointCloudBlockRequest::mOffset
protected

Definition at line 73 of file qgspointcloudblockrequest.h.

◆ mRequestedAttributes

QgsPointCloudAttributeCollection QgsPointCloudBlockRequest::mRequestedAttributes
protected

Definition at line 69 of file qgspointcloudblockrequest.h.

◆ mScale

QgsVector3D QgsPointCloudBlockRequest::mScale
protected

Definition at line 73 of file qgspointcloudblockrequest.h.

◆ mTileDownloadManagerReply

std::unique_ptr<QgsTileDownloadManagerReply> QgsPointCloudBlockRequest::mTileDownloadManagerReply = nullptr
protected

Definition at line 70 of file qgspointcloudblockrequest.h.

◆ mUri

QString QgsPointCloudBlockRequest::mUri
protected

Definition at line 67 of file qgspointcloudblockrequest.h.


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