Class: QgsTiledSceneRequest¶
- class qgis.core.QgsTiledSceneRequest¶
Bases:
sip.wrapper
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 scene CRS units.
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 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
- Return type:
- 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
- Return type:
- flags(self) Qgis.TiledSceneRequestFlags ¶
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 ¶
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.
See also
- 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
- Parameters:
feedback (QgsFeedback)
- setFilterBox(self, box: QgsOrientedBox3D)¶
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)¶
Sets
flags
that affect how tiles will be fetched.See also
- 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
- 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.See also
- Parameters:
error (float)