QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
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.
 

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.
 
virtual ~QgsPointCloudBlockRequest ()=0
 
QString errorStr ()
 Returns the error message string of the request.
 
std::unique_ptr< QgsPointCloudBlocktakeBlock ()
 Returns the requested block.
 

Protected Attributes

QgsPointCloudAttributeCollection mAttributes
 
std::unique_ptr< QgsPointCloudBlockmBlock
 
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

◆ errorStr()

QString QgsPointCloudBlockRequest::errorStr ( )

Returns the error message string of the request.

◆ finished

void QgsPointCloudBlockRequest::finished ( )
signal

Emitted when the request processing has finished.

◆ takeBlock()

std::unique_ptr< QgsPointCloudBlock > QgsPointCloudBlockRequest::takeBlock ( )

Returns the requested block.

if the returned block is nullptr, that means the data request failed.

Member Data Documentation

◆ mAttributes

QgsPointCloudAttributeCollection QgsPointCloudBlockRequest::mAttributes
protected

Definition at line 67 of file qgspointcloudblockrequest.h.

◆ mBlock

std::unique_ptr<QgsPointCloudBlock> QgsPointCloudBlockRequest::mBlock
protected

Definition at line 70 of file qgspointcloudblockrequest.h.

◆ mErrorStr

QString QgsPointCloudBlockRequest::mErrorStr
protected

Definition at line 71 of file qgspointcloudblockrequest.h.

◆ mFilterExpression

QgsPointCloudExpression QgsPointCloudBlockRequest::mFilterExpression
protected

Definition at line 73 of file qgspointcloudblockrequest.h.

◆ mFilterRect

QgsRectangle QgsPointCloudBlockRequest::mFilterRect
protected

Definition at line 74 of file qgspointcloudblockrequest.h.

◆ mNode

IndexedPointCloudNode QgsPointCloudBlockRequest::mNode
protected

Definition at line 65 of file qgspointcloudblockrequest.h.

◆ mOffset

QgsVector3D QgsPointCloudBlockRequest::mOffset
protected

Definition at line 72 of file qgspointcloudblockrequest.h.

◆ mRequestedAttributes

QgsPointCloudAttributeCollection QgsPointCloudBlockRequest::mRequestedAttributes
protected

Definition at line 68 of file qgspointcloudblockrequest.h.

◆ mScale

QgsVector3D QgsPointCloudBlockRequest::mScale
protected

Definition at line 72 of file qgspointcloudblockrequest.h.

◆ mTileDownloadManagerReply

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

Definition at line 69 of file qgspointcloudblockrequest.h.

◆ mUri

QString QgsPointCloudBlockRequest::mUri
protected

Definition at line 66 of file qgspointcloudblockrequest.h.


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