QGIS API Documentation 3.41.0-Master (45a0abf3bec)
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
QgsTiledSceneLayer::LayerOptions Struct Reference

Setting options for loading tiled scene layers. More...

#include <qgstiledscenelayer.h>

Public Member Functions

 LayerOptions (const QgsCoordinateTransformContext &transformContext=QgsCoordinateTransformContext())
 Constructor for LayerOptions with optional transformContext.
 

Public Attributes

bool loadDefaultStyle = true
 Set to true if the default layer style should be loaded.
 
bool skipCrsValidation = false
 Controls whether the layer is allowed to have an invalid/unknown CRS.
 
QgsCoordinateTransformContext transformContext
 Coordinate transform context.
 

Detailed Description

Setting options for loading tiled scene layers.

Definition at line 44 of file qgstiledscenelayer.h.

Constructor & Destructor Documentation

◆ LayerOptions()

QgsTiledSceneLayer::LayerOptions::LayerOptions ( const QgsCoordinateTransformContext transformContext = QgsCoordinateTransformContext( ))
inlineexplicit

Constructor for LayerOptions with optional transformContext.

Definition at line 50 of file qgstiledscenelayer.h.

Member Data Documentation

◆ loadDefaultStyle

bool QgsTiledSceneLayer::LayerOptions::loadDefaultStyle = true

Set to true if the default layer style should be loaded.

Definition at line 60 of file qgstiledscenelayer.h.

◆ skipCrsValidation

bool QgsTiledSceneLayer::LayerOptions::skipCrsValidation = false

Controls whether the layer is allowed to have an invalid/unknown CRS.

If true, then no validation will be performed on the layer's CRS and the layer layer's crs() may be invalid() (i.e. the layer will have no georeferencing available and will be treated as having purely numerical coordinates).

If false (the default), the layer's CRS will be validated using QgsCoordinateReferenceSystem::validate(), which may cause a blocking, user-facing dialog asking users to manually select the correct CRS for the layer.

Definition at line 73 of file qgstiledscenelayer.h.

◆ transformContext

QgsCoordinateTransformContext QgsTiledSceneLayer::LayerOptions::transformContext

Coordinate transform context.

Definition at line 57 of file qgstiledscenelayer.h.


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