Class: QgsTiledSceneRequest

class qgis.core.QgsTiledSceneRequest

Bases: sip.wrapper

Tiled scene data request.

Added in version 3.34:

Methods

feedback

Returns the feedback object that can be queried regularly by the request to check if it should be canceled, if set.

filterBox

Returns the box from which data will be taken.

flags

Returns the flags which affect how tiles are fetched.

parentTileId

Returns the parent tile ID, if filtering is limited to children of a specific tile.

requiredGeometricError

Returns the required geometric error threshold for the returned tiles, in scene CRS units.

setFeedback

Attach a feedback object that can be queried regularly by the request to check if it should be canceled.

setFilterBox

Sets the box from which data will be taken.

setFlags

Sets flags that affect how tiles will be fetched.

setParentTileId

Sets the parent tile id, if filtering is to be limited to children of a specific tile.

setRequiredGeometricError

Sets the required geometric error threshold for the returned tiles, in scene CRS units.

feedback(self) QgsFeedback

Returns the feedback object that can be queried regularly by the request to check if it should be canceled, if set.

See also

setFeedback()

Return type:

QgsFeedback

filterBox(self) QgsOrientedBox3D

Returns the box from which data will be taken.

If the returned box is null, then no filter box is set.

See also

setFilterBox()

Return type:

QgsOrientedBox3D

flags(self) Qgis.TiledSceneRequestFlags

Returns the flags which affect how tiles are fetched.

See also

setFlags()

Return type:

Qgis.TiledSceneRequestFlags

parentTileId(self) int

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.

Return type:

int

requiredGeometricError(self) float

Returns the required geometric error threshold for the returned tiles, in scene CRS units.

If the error is 0 then no geometric error filtering will be applied.

Return type:

float

setFeedback(self, feedback: QgsFeedback)

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.

See also

feedback()

Parameters:

feedback (QgsFeedback)

setFilterBox(self, box: QgsOrientedBox3D)

Sets the box from which data will be taken.

An null box removes the filter.

See also

filterBox()

Parameters:

box (QgsOrientedBox3D)

setFlags(self, flags: Qgis.TiledSceneRequestFlags | Qgis.TiledSceneRequestFlag)

Sets flags that affect how tiles will be fetched.

See also

flags()

Parameters:

flags (Union[Qgis.TiledSceneRequestFlags)

setParentTileId(self, id: int)

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.

See also

parentTileId()

Parameters:

id (int)

setRequiredGeometricError(self, error: float)

Sets the required geometric error threshold for the returned tiles, in scene CRS units.

If the error is 0 then no geometric error filtering will be applied.

Parameters:

error (float)