QGIS API Documentation 3.99.0-Master (21b3aa880ba)
Loading...
Searching...
No Matches
QgsPointCloudLayer::LayerOptions Struct Reference

Setting options for loading point cloud layers. More...

#include <qgspointcloudlayer.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.
bool skipIndexGeneration = false
 Set to true if point cloud index generation should be skipped.
bool skipStatisticsCalculation = false
 Set to true if the statistics calculation for this point cloud is disabled.
QgsCoordinateTransformContext transformContext
 Coordinate transform context.

Detailed Description

Setting options for loading point cloud layers.

Definition at line 54 of file qgspointcloudlayer.h.

Constructor & Destructor Documentation

◆ LayerOptions()

QgsPointCloudLayer::LayerOptions::LayerOptions ( const QgsCoordinateTransformContext & transformContext = QgsCoordinateTransformContext( ))
inlineexplicit

Constructor for LayerOptions with optional transformContext.

Definition at line 60 of file qgspointcloudlayer.h.

Member Data Documentation

◆ loadDefaultStyle

bool QgsPointCloudLayer::LayerOptions::loadDefaultStyle = true

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

Definition at line 70 of file qgspointcloudlayer.h.

◆ skipCrsValidation

bool QgsPointCloudLayer::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 83 of file qgspointcloudlayer.h.

◆ skipIndexGeneration

bool QgsPointCloudLayer::LayerOptions::skipIndexGeneration = false

Set to true if point cloud index generation should be skipped.

Definition at line 88 of file qgspointcloudlayer.h.

◆ skipStatisticsCalculation

bool QgsPointCloudLayer::LayerOptions::skipStatisticsCalculation = false

Set to true if the statistics calculation for this point cloud is disabled.

Since
QGIS 3.26

Definition at line 94 of file qgspointcloudlayer.h.

◆ transformContext

QgsCoordinateTransformContext QgsPointCloudLayer::LayerOptions::transformContext

Coordinate transform context.

Definition at line 67 of file qgspointcloudlayer.h.


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