Class: QgsTiledSceneRequest¶
Tiled scene data request.
Added in version 3.34.
Methods
Returns the feedback object that can be queried regularly by the request to check if it should be canceled, if set. |
|
Returns the box from which data will be taken. |
|
Returns the flags which affect how tiles are fetched. |
|
Returns the parent tile ID, if filtering is limited to children of a specific tile. |
|
Returns the required geometric error threshold for the returned tiles, in meters. |
|
Attach a feedback object that can be queried regularly by the request to check if it should be canceled. |
|
Sets the box from which data will be taken. |
|
Sets flags that affect how tiles will be fetched. |
|
Sets the parent tile id, if filtering is to be limited to children of a specific tile. |
|
Sets the required geometric error threshold for the returned tiles, in meters. |
- class qgis.core.QgsTiledSceneRequest[source]¶
Bases:
object
- feedback(self) QgsFeedback | None [source]¶
Returns the feedback object that can be queried regularly by the request to check if it should be canceled, if set.
See also
- Return type:
Optional[QgsFeedback]
- filterBox(self) QgsOrientedBox3D [source]¶
Returns the box from which data will be taken.
If the returned box is null, then no filter box is set.
See also
- Return type:
- flags(self) Qgis.TiledSceneRequestFlags [source]¶
Returns the flags which affect how tiles are fetched.
See also
- Return type:
- 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.
See also
- Return type:
int
- requiredGeometricError(self) float [source]¶
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.
See also
- Return type:
float
- setFeedback(self, feedback: QgsFeedback | None)[source]¶
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
- Parameters:
feedback (Optional[QgsFeedback])
- setFilterBox(self, box: QgsOrientedBox3D)[source]¶
Sets the
box
from which data will be taken.An null
box
removes the filter.See also
- Parameters:
box (QgsOrientedBox3D)
- setFlags(self, flags: Qgis.TiledSceneRequestFlags | Qgis.TiledSceneRequestFlag)[source]¶
Sets
flags
that affect how tiles will be fetched.See also
- Parameters:
flags (Union[Qgis.TiledSceneRequestFlags, Qgis.TiledSceneRequestFlag])
- setParentTileId(self, id: int)[source]¶
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
- Parameters:
id (int)