QGIS API Documentation 3.39.0-Master (93ce9bf5c90)
|
Tiled scene data request. More...
#include <qgstiledscenerequest.h>
Public Member Functions | |
QgsTiledSceneRequest () | |
QgsFeedback * | feedback () const |
Returns the feedback object that can be queried regularly by the request to check if it should be canceled, if set. | |
QgsOrientedBox3D | filterBox () const |
Returns the box from which data will be taken. | |
Qgis::TiledSceneRequestFlags | flags () const |
Returns the flags which affect how tiles are fetched. | |
long long | parentTileId () const |
Returns the parent tile ID, if filtering is limited to children of a specific tile. | |
double | requiredGeometricError () const |
Returns the required geometric error threshold for the returned tiles, in meters. | |
void | setFeedback (QgsFeedback *feedback) |
Attach a feedback object that can be queried regularly by the request to check if it should be canceled. | |
void | setFilterBox (const QgsOrientedBox3D &box) |
Sets the box from which data will be taken. | |
void | setFlags (Qgis::TiledSceneRequestFlags flags) |
Sets flags that affect how tiles will be fetched. | |
void | setParentTileId (long long id) |
Sets the parent tile id, if filtering is to be limited to children of a specific tile. | |
void | setRequiredGeometricError (double error) |
Sets the required geometric error threshold for the returned tiles, in meters. | |
|
default |
QgsFeedback * QgsTiledSceneRequest::feedback | ( | ) | const |
Returns the feedback object that can be queried regularly by the request to check if it should be canceled, if set.
Definition at line 29 of file qgstiledscenerequest.cpp.
|
inline |
Returns the box from which data will be taken.
If the returned box is null, then no filter box is set.
Definition at line 64 of file qgstiledscenerequest.h.
|
inline |
Returns the flags which affect how tiles are fetched.
Definition at line 55 of file qgstiledscenerequest.h.
|
inline |
Returns the parent tile ID, if filtering is limited to children of a specific tile.
Returns -1 if no parent tile ID filtering is to be made.
Definition at line 121 of file qgstiledscenerequest.h.
|
inline |
Returns the required geometric error threshold for the returned tiles, in meters.
If the error is 0 then no geometric error filtering will be applied.
Definition at line 83 of file qgstiledscenerequest.h.
void QgsTiledSceneRequest::setFeedback | ( | QgsFeedback * | feedback | ) |
Attach a feedback object that can be queried regularly by the request to check if it should be canceled.
Ownership of feedback is NOT transferred, and the caller must take care that it exists for the lifetime of the request.
Definition at line 24 of file qgstiledscenerequest.cpp.
|
inline |
Sets the box from which data will be taken.
An null box removes the filter.
Definition at line 73 of file qgstiledscenerequest.h.
|
inline |
Sets flags that affect how tiles will be fetched.
Definition at line 48 of file qgstiledscenerequest.h.
|
inline |
Sets the parent tile id, if filtering is to be limited to children of a specific tile.
Set to -1 if no parent tile ID filtering is to be made.
Definition at line 130 of file qgstiledscenerequest.h.
|
inline |
Sets the required geometric error threshold for the returned tiles, in meters.
If the error is 0 then no geometric error filtering will be applied.
Definition at line 93 of file qgstiledscenerequest.h.