QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
qgs3dmapsettings.h
Go to the documentation of this file.
1 /***************************************************************************
2  qgs3dmapsettings.h
3  --------------------------------------
4  Date : July 2017
5  Copyright : (C) 2017 by Martin Dobias
6  Email : wonder dot sk at gmail dot com
7  ***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #ifndef QGS3DMAPSETTINGS_H
17 #define QGS3DMAPSETTINGS_H
18 
19 #include "qgis_3d.h"
20 
21 #include <memory>
22 #include <QColor>
23 #include <QMatrix4x4>
24 #include <Qt3DRender/QCamera>
25 
27 #include "qgsmaplayerref.h"
28 #include "qgsmesh3dsymbol.h"
30 #include "qgspointlightsettings.h"
32 #include "qgsterraingenerator.h"
33 #include "qgsvector3d.h"
34 #include "qgs3daxissettings.h"
35 #include "qgsskyboxsettings.h"
36 #include "qgsshadowsettings.h"
37 #include "qgscameracontroller.h"
38 #include "qgstemporalrangeobject.h"
39 
40 class QgsMapLayer;
41 class QgsRasterLayer;
42 
44 
45 
47 class QgsProject;
48 
49 class QDomElement;
50 
57 class _3D_EXPORT Qgs3DMapSettings : public QObject, public QgsTemporalRangeObject
58 {
59  Q_OBJECT
60  public:
64  Qgs3DMapSettings( const Qgs3DMapSettings &other );
65  ~Qgs3DMapSettings() override;
66 
67  Qgs3DMapSettings &operator=( Qgs3DMapSettings const & ) = delete;
68 
70  void readXml( const QDomElement &elem, const QgsReadWriteContext &context );
72  QDomElement writeXml( QDomDocument &doc, const QgsReadWriteContext &context ) const;
74  void resolveReferences( const QgsProject &project );
75 
87  void setOrigin( const QgsVector3D &origin ) { mOrigin = origin; }
89  QgsVector3D origin() const { return mOrigin; }
90 
92  QgsVector3D mapToWorldCoordinates( const QgsVector3D &mapCoords ) const;
94  QgsVector3D worldToMapCoordinates( const QgsVector3D &worldCoords ) const;
95 
97  void setCrs( const QgsCoordinateReferenceSystem &crs );
99  QgsCoordinateReferenceSystem crs() const { return mCrs; }
100 
108  QgsCoordinateTransformContext transformContext() const;
109 
117  void setTransformContext( const QgsCoordinateTransformContext &context );
118 
126  const QgsPathResolver &pathResolver() const { return mPathResolver; }
127 
135  void setPathResolver( const QgsPathResolver &resolver ) { mPathResolver = resolver; }
136 
143  QgsMapThemeCollection *mapThemeCollection() const { return mMapThemes; }
144 
150  void setMapThemeCollection( QgsMapThemeCollection *mapThemes ) { mMapThemes = mapThemes; }
151 
153  void setBackgroundColor( const QColor &color );
155  QColor backgroundColor() const;
156 
158  void setSelectionColor( const QColor &color );
160  QColor selectionColor() const;
161 
170  void setLayers( const QList<QgsMapLayer *> &layers );
171 
180  QList<QgsMapLayer *> layers() const;
181 
182  //
183  // terrain related config
184  //
185 
191  void configureTerrainFromProject( QgsProjectElevationProperties *properties, const QgsRectangle &fullExtent ) SIP_SKIP;
192 
197  void setTerrainVerticalScale( double zScale );
199  double terrainVerticalScale() const;
200 
205  void setMapTileResolution( int res );
206 
211  int mapTileResolution() const;
212 
217  void setMaxTerrainScreenError( float error );
218 
226  float maxTerrainScreenError() const;
227 
232  void setMaxTerrainGroundError( float error );
233 
240  float maxTerrainGroundError() const;
241 
247  void setTerrainElevationOffset( float offset );
248 
252  float terrainElevationOffset() const { return mTerrainElevationOffset; }
253 
265  void setTerrainGenerator( QgsTerrainGenerator *gen SIP_TRANSFER ) SIP_SKIP;
266 
278  {
279  return mTerrainGenerator.get();
280  }
281 
287  void setTerrainShadingEnabled( bool enabled );
288 
295  bool isTerrainShadingEnabled() const { return mTerrainShadingEnabled; }
296 
302  void setTerrainShadingMaterial( const QgsPhongMaterialSettings &material );
303 
309  QgsPhongMaterialSettings terrainShadingMaterial() const { return mTerrainShadingMaterial; }
310 
316  void setTerrainMapTheme( const QString &theme );
317 
324  QString terrainMapTheme() const { return mTerrainMapTheme; }
325 
326  //
327  // misc configuration
328  //
329 
331  void setRenderers( const QList<QgsAbstract3DRenderer *> &renderers SIP_TRANSFER );
333  QList<QgsAbstract3DRenderer *> renderers() const { return mRenderers; }
334 
336  void setShowTerrainBoundingBoxes( bool enabled );
338  bool showTerrainBoundingBoxes() const { return mShowTerrainBoundingBoxes; }
340  void setShowTerrainTilesInfo( bool enabled );
342  bool showTerrainTilesInfo() const { return mShowTerrainTileInfo; }
343 
348  void setShowCameraViewCenter( bool enabled );
349 
354  bool showCameraViewCenter() const { return mShowCameraViewCenter; }
355 
360  void setShowCameraRotationCenter( bool enabled );
361 
366  bool showCameraRotationCenter() const { return mShowCameraRotationCenter; }
367 
372  void setShowLightSourceOrigins( bool enabled );
373 
378  bool showLightSourceOrigins() const { return mShowLightSources; }
379 
381  void setShowLabels( bool enabled );
383  bool showLabels() const { return mShowLabels; }
384 
390  void setEyeDomeLightingEnabled( bool enabled );
392  bool eyeDomeLightingEnabled() const { return mEyeDomeLightingEnabled; }
393 
399  void setEyeDomeLightingStrength( double strength );
401  double eyeDomeLightingStrength() const { return mEyeDomeLightingStrength; }
402 
408  void setEyeDomeLightingDistance( int distance );
410  int eyeDomeLightingDistance() const { return mEyeDomeLightingDistance; }
411 
417  void setDebugShadowMapSettings( bool enabled, Qt::Corner corner, double size );
419  bool debugShadowMapEnabled() const { return mDebugShadowMapEnabled; }
421  Qt::Corner debugShadowMapCorner() const { return mDebugShadowMapCorner; }
423  double debugShadowMapSize() const { return mDebugShadowMapSize; }
424 
430  void setDebugDepthMapSettings( bool enabled, Qt::Corner corner, double size );
432  bool debugDepthMapEnabled() const { return mDebugDepthMapEnabled; }
434  Qt::Corner debugDepthMapCorner() const { return mDebugDepthMapCorner; }
436  double debugDepthMapSize() const { return mDebugDepthMapSize; }
437 
443  QList<QgsLightSource *> lightSources() const;
444 
453  void setLightSources( const QList<QgsLightSource *> &lights SIP_TRANSFER );
454 
459  float fieldOfView() const { return mFieldOfView; }
460 
465  void setFieldOfView( const float fieldOfView );
466 
471  Qt3DRender::QCameraLens::ProjectionType projectionType() const SIP_SKIP { return mProjectionType; }
472 
477  void setProjectionType( const Qt3DRender::QCameraLens::ProjectionType projectionType ) SIP_SKIP;
478 
479 #ifndef SIP_RUN
480 
485  QgsCameraController::NavigationMode cameraNavigationMode() const { return mCameraNavigationMode; }
486 
491  void setCameraNavigationMode( QgsCameraController::NavigationMode navigationMode );
492 #endif
493 
498  double cameraMovementSpeed() const { return mCameraMovementSpeed; }
499 
504  void setCameraMovementSpeed( double movementSpeed );
505 
511  void setOutputDpi( const double dpi ) {mDpi = dpi;}
512 
513 
519  double outputDpi() const { return mDpi; }
520 
525  QgsSkyboxSettings skyboxSettings() const SIP_SKIP { return mSkyboxSettings; }
526 
531  QgsShadowSettings shadowSettings() const SIP_SKIP { return mShadowSettings; }
532 
537  void setSkyboxSettings( const QgsSkyboxSettings &skyboxSettings ) SIP_SKIP;
538 
543  void setShadowSettings( const QgsShadowSettings &shadowSettings ) SIP_SKIP;
544 
550  bool isSkyboxEnabled() const { return mIsSkyboxEnabled; }
551 
557  void setIsSkyboxEnabled( bool enabled ) { mIsSkyboxEnabled = enabled; }
558 
564  bool isFpsCounterEnabled() const { return mIsFpsCounterEnabled; }
565 
571  void setIsFpsCounterEnabled( bool fpsCounterEnabled );
572 
578  bool terrainRenderingEnabled() const { return mTerrainRenderingEnabled; }
579 
585  void setTerrainRenderingEnabled( bool terrainRenderingEnabled );
586 
593  Qgis::RendererUsage rendererUsage() const;
594 
601  void setRendererUsage( Qgis::RendererUsage rendererUsage );
602 
608  Qgis::ViewSyncModeFlags viewSyncMode() const { return mViewSyncMode; }
609 
615  void setViewSyncMode( Qgis::ViewSyncModeFlags mode );
616 
622  bool viewFrustumVisualizationEnabled() const { return mVisualizeViewFrustum; }
623 
629  void setViewFrustumVisualizationEnabled( bool enabled );
630 
635  Qgs3DAxisSettings get3dAxisSettings() const SIP_SKIP { return m3dAxisSettings; }
636 
641  void set3dAxisSettings( const Qgs3DAxisSettings &axisSettings ) SIP_SKIP;
642 
648  bool isDebugOverlayEnabled() const { return mIsDebugOverlayEnabled; }
649 
658  void setIsDebugOverlayEnabled( bool debugOverlayEnabled );
659 
660  signals:
661 
667  void settingsChanged();
668 
670  void backgroundColorChanged();
672  void selectionColorChanged();
673 
680  void layersChanged();
681 
683  void terrainGeneratorChanged();
685  void terrainVerticalScaleChanged();
687  void mapTileResolutionChanged();
689  void maxTerrainScreenErrorChanged();
691  void maxTerrainGroundErrorChanged();
692 
697  void terrainElevationOffsetChanged( float newElevation );
698 
703  void terrainShadingChanged();
704 
709  void terrainMapThemeChanged();
710 
715  void renderersChanged();
716 
718  void showTerrainBoundingBoxesChanged();
720  void showTerrainTilesInfoChanged();
721 
726  void showCameraViewCenterChanged();
727 
732  void showCameraRotationCenterChanged();
733 
738  void showLightSourceOriginsChanged();
739 
741  void showLabelsChanged();
742 
747  void eyeDomeLightingEnabledChanged();
748 
753  void eyeDomeLightingStrengthChanged();
754 
759  void eyeDomeLightingDistanceChanged();
760 
765  void debugShadowMapSettingsChanged();
766 
771  void debugDepthMapSettingsChanged();
772 
777  void pointLightsChanged();
778 
783  void lightSourcesChanged();
784 
789  void directionalLightsChanged();
790 
795  void fieldOfViewChanged();
796 
801  void projectionTypeChanged();
802 
807  void cameraNavigationModeChanged();
808 
813  void cameraMovementSpeedChanged();
814 
819  void skyboxSettingsChanged();
820 
825  void shadowSettingsChanged();
826 
831  void fpsCounterEnabledChanged( bool fpsCounterEnabled );
832 
838  void viewFrustumVisualizationEnabledChanged();
839 
844  void axisSettingsChanged();
845 
850  void debugOverlayEnabledChanged( bool debugOverlayEnabled );
851 
852  private:
853 #ifdef SIP_RUN
854  Qgs3DMapSettings &operator=( const Qgs3DMapSettings & );
855 #endif
856 
857  private:
859  void connectChangedSignalsToSettingsChanged();
860 
861  private:
863  QgsVector3D mOrigin;
865  QColor mBackgroundColor = Qt::black;
866  QColor mSelectionColor;
867  double mTerrainVerticalScale = 1;
868  std::unique_ptr<QgsTerrainGenerator> mTerrainGenerator;
869  int mMapTileResolution = 512;
870  float mMaxTerrainScreenError = 3.f;
871  float mMaxTerrainGroundError = 1.f;
872  float mTerrainElevationOffset = 0.0f;
873  bool mTerrainShadingEnabled = false;
874  QgsPhongMaterialSettings mTerrainShadingMaterial;
875  QString mTerrainMapTheme;
876  bool mShowTerrainBoundingBoxes = false;
877  bool mShowTerrainTileInfo = false;
878  bool mShowCameraViewCenter = false;
879  bool mShowCameraRotationCenter = false;
880  bool mShowLightSources = false;
881  bool mShowLabels = false;
882  QList< QgsLightSource * > mLightSources;
883  float mFieldOfView = 45.0f; //<! Camera lens field of view value
884  Qt3DRender::QCameraLens::ProjectionType mProjectionType = Qt3DRender::QCameraLens::PerspectiveProjection; //<! Camera lens projection type
885  QgsCameraController::NavigationMode mCameraNavigationMode = QgsCameraController::NavigationMode::TerrainBasedNavigation;
886  double mCameraMovementSpeed = 5.0;
887  QList<QgsMapLayerRef> mLayers;
888  QList<QgsAbstract3DRenderer *> mRenderers;
889  QgsCoordinateTransformContext mTransformContext;
891  QgsPathResolver mPathResolver;
892  QgsMapThemeCollection *mMapThemes = nullptr;
893  double mDpi = 96;
894  bool mIsFpsCounterEnabled = false;
895 
896  bool mIsSkyboxEnabled = false;
897  QgsSkyboxSettings mSkyboxSettings;
898  QgsShadowSettings mShadowSettings;
899 
900  bool mEyeDomeLightingEnabled = false;
901  double mEyeDomeLightingStrength = 1000.0;
902  int mEyeDomeLightingDistance = 1;
903 
904  Qgis::ViewSyncModeFlags mViewSyncMode;
905  bool mVisualizeViewFrustum = false;
906 
907  bool mDebugShadowMapEnabled = false;
908  Qt::Corner mDebugShadowMapCorner = Qt::Corner::TopLeftCorner;
909  double mDebugShadowMapSize = 0.2;
910 
911  bool mDebugDepthMapEnabled = false;
912  Qt::Corner mDebugDepthMapCorner = Qt::Corner::TopRightCorner;
913  double mDebugDepthMapSize = 0.2;
914 
915  bool mTerrainRenderingEnabled = true;
916 
917  Qgis::RendererUsage mRendererUsage;
918 
919  Qgs3DAxisSettings m3dAxisSettings;
920 
921  bool mIsDebugOverlayEnabled = false;
922 
923 };
924 
925 
926 #endif // QGS3DMAPSETTINGS_H
Qgs3DMapSettings::showLightSourceOrigins
bool showLightSourceOrigins() const
Returns whether to show light source origins as a sphere (for debugging)
Definition: qgs3dmapsettings.h:378
Qgs3DMapSettings::crs
QgsCoordinateReferenceSystem crs() const
Returns coordinate reference system used in the 3D scene.
Definition: qgs3dmapsettings.h:99
QgsCoordinateTransformContext
Contains information about the context in which a coordinate transform is executed.
Definition: qgscoordinatetransformcontext.h:57
Qgs3DMapSettings::terrainShadingMaterial
QgsPhongMaterialSettings terrainShadingMaterial() const
Returns terrain shading material.
Definition: qgs3dmapsettings.h:309
QgsReadWriteContext
The class is used as a container of context for various read/write operations on other objects.
Definition: qgsreadwritecontext.h:34
Qgs3DMapSettings::outputDpi
double outputDpi() const
Returns DPI used for conversion between real world units (e.g.
Definition: qgs3dmapsettings.h:519
Qgs3DMapSettings::mapThemeCollection
QgsMapThemeCollection * mapThemeCollection() const
Returns pointer to the collection of map themes.
Definition: qgs3dmapsettings.h:143
Qgs3DMapSettings::terrainRenderingEnabled
bool terrainRenderingEnabled() const
Returns whether the 2D terrain surface will be rendered.
Definition: qgs3dmapsettings.h:578
qgstemporalrangeobject.h
QgsAbstract3DRenderer
Base class for all renderers that may to participate in 3D view.
Definition: qgsabstract3drenderer.h:48
QgsVector3D
Class for storage of 3D vectors similar to QVector3D, with the difference that it uses double precisi...
Definition: qgsvector3d.h:31
crs
const QgsCoordinateReferenceSystem & crs
Definition: qgswfsgetfeature.cpp:105
qgsmesh3dsymbol.h
Qgs3DMapSettings::viewSyncMode
Qgis::ViewSyncModeFlags viewSyncMode() const
Returns the view sync mode (used to synchronize the 2D main map canvas and the 3D camera navigation)
Definition: qgs3dmapsettings.h:608
Qgs3DMapSettings::eyeDomeLightingDistance
int eyeDomeLightingDistance() const
Returns the eye dome lighting distance value (contributes to the contrast of the image)
Definition: qgs3dmapsettings.h:410
QgsSkyboxSettings
Contains the configuration of a skybox entity.
Definition: qgsskyboxsettings.h:36
qgsskyboxsettings.h
Qgs3DMapSettings::viewFrustumVisualizationEnabled
bool viewFrustumVisualizationEnabled() const
Returns whether the camera's view frustum is visualized on the 2D map canvas.
Definition: qgs3dmapsettings.h:622
QgsProjectElevationProperties
Contains elevation properties for a QgsProject.
Definition: qgsprojectelevationproperties.h:38
Qgs3DMapSettings::debugShadowMapSize
double debugShadowMapSize() const
Returns the size of the shadow map preview.
Definition: qgs3dmapsettings.h:423
Qgs3DMapSettings::isDebugOverlayEnabled
bool isDebugOverlayEnabled() const
Returns whether debug overlay is enabled.
Definition: qgs3dmapsettings.h:648
Qgs3DMapSettings::debugDepthMapCorner
Qt::Corner debugDepthMapCorner() const
Returns the corner where the shadow map preview is displayed.
Definition: qgs3dmapsettings.h:434
Qgs3DMapSettings::terrainMapTheme
QString terrainMapTheme() const
Returns name of the map theme (from the active project) that will be used for terrain's texture.
Definition: qgs3dmapsettings.h:324
QgsRectangle
A rectangle specified with double values.
Definition: qgsrectangle.h:41
Qgs3DMapSettings::get3dAxisSettings
Qgs3DAxisSettings get3dAxisSettings() const
Returns the current configuration of 3d axis.
Definition: qgs3dmapsettings.h:635
QgsProject
Encapsulates a QGIS project, including sets of map layers and their styles, layouts,...
Definition: qgsproject.h:103
Qgs3DMapSettings::showLabels
bool showLabels() const
Returns whether to display labels on terrain tiles.
Definition: qgs3dmapsettings.h:383
qgspointlightsettings.h
QgsPhongMaterialSettings
Basic shading material used for rendering based on the Phong shading model with three color component...
Definition: qgsphongmaterialsettings.h:44
Qgs3DMapSettings::projectionType
Qt3DRender::QCameraLens::ProjectionType projectionType() const
Returns the camera lens' projection type.
Definition: qgs3dmapsettings.h:471
SIP_SKIP
#define SIP_SKIP
Definition: qgis_sip.h:126
Qgs3DMapSettings::cameraMovementSpeed
double cameraMovementSpeed() const
Returns the camera movement speed.
Definition: qgs3dmapsettings.h:498
Qgs3DMapSettings::debugShadowMapCorner
Qt::Corner debugShadowMapCorner() const
Returns the corner where the shadow map preview is displayed.
Definition: qgs3dmapsettings.h:421
QgsTerrainGenerator
Base class for generators of terrain.
Definition: qgsterraingenerator.h:49
Qgs3DMapSettings::pathResolver
const QgsPathResolver & pathResolver() const
Returns the path resolver for conversion between relative and absolute paths during rendering operati...
Definition: qgs3dmapsettings.h:126
Qgs3DMapSettings::setOutputDpi
void setOutputDpi(const double dpi)
Sets DPI used for conversion between real world units (e.g.
Definition: qgs3dmapsettings.h:511
qgsterraingenerator.h
Qgs3DMapSettings::setIsSkyboxEnabled
void setIsSkyboxEnabled(bool enabled)
Sets whether the skybox is enabled.
Definition: qgs3dmapsettings.h:557
SIP_TRANSFER
#define SIP_TRANSFER
Definition: qgis_sip.h:36
Qgs3DMapSettings::setOrigin
void setOrigin(const QgsVector3D &origin)
Sets coordinates in map CRS at which our 3D world has origin (0,0,0)
Definition: qgs3dmapsettings.h:87
qgsshadowsettings.h
Qgs3DMapSettings
Definition of the world.
Definition: qgs3dmapsettings.h:57
Qgs3DAxisSettings
Contains the configuration of a 3d axis.
Definition: qgs3daxissettings.h:35
Qgs3DMapSettings::fieldOfView
float fieldOfView() const
Returns the camera lens' field of view.
Definition: qgs3dmapsettings.h:459
QgsRasterLayer
Represents a raster layer.
Definition: qgsrasterlayer.h:76
Qgs3DMapSettings::origin
QgsVector3D origin() const
Returns coordinates in map CRS at which 3D scene has origin (0,0,0)
Definition: qgs3dmapsettings.h:89
qgscameracontroller.h
QgsCoordinateReferenceSystem
This class represents a coordinate reference system (CRS).
Definition: qgscoordinatereferencesystem.h:211
Qgs3DMapSettings::terrainElevationOffset
float terrainElevationOffset() const
Returns the elevation offset of the terrain (used to move the terrain up or down)
Definition: qgs3dmapsettings.h:252
Qgs3DMapSettings::terrainGenerator
QgsTerrainGenerator * terrainGenerator() const
Returns the terrain generator.
Definition: qgs3dmapsettings.h:277
Qgs3DMapSettings::setPathResolver
void setPathResolver(const QgsPathResolver &resolver)
Sets the path resolver for conversion between relative and absolute paths during rendering operations...
Definition: qgs3dmapsettings.h:135
Qgs3DMapSettings::debugShadowMapEnabled
bool debugShadowMapEnabled() const
Returns whether the shadow map debugging is enabled.
Definition: qgs3dmapsettings.h:419
Qgs3DMapSettings::debugDepthMapEnabled
bool debugDepthMapEnabled() const
Returns whether the shadow map debugging is enabled.
Definition: qgs3dmapsettings.h:432
Qgs3DMapSettings::setMapThemeCollection
void setMapThemeCollection(QgsMapThemeCollection *mapThemes)
Sets pointer to the collection of map themes.
Definition: qgs3dmapsettings.h:150
Qgs3DMapSettings::shadowSettings
QgsShadowSettings shadowSettings() const
Returns the current configuration of shadows.
Definition: qgs3dmapsettings.h:531
qgsvector3d.h
QgsMapLayer
Base class for all map layer types. This is the base class for all map layer types (vector,...
Definition: qgsmaplayer.h:72
Qgs3DMapSettings::renderers
QList< QgsAbstract3DRenderer * > renderers() const
Returns list of extra 3D renderers.
Definition: qgs3dmapsettings.h:333
Qgs3DMapSettings::showCameraRotationCenter
bool showCameraRotationCenter() const
Returns whether to show camera's rotation center as a sphere (for debugging)
Definition: qgs3dmapsettings.h:366
QgsShadowSettings
class containing the configuration of shadows rendering
Definition: qgsshadowsettings.h:34
Qgs3DMapSettings::showTerrainBoundingBoxes
bool showTerrainBoundingBoxes() const
Returns whether to display bounding boxes of terrain tiles (for debugging)
Definition: qgs3dmapsettings.h:338
Qgs3DMapSettings::eyeDomeLightingStrength
double eyeDomeLightingStrength() const
Returns the eye dome lighting strength value.
Definition: qgs3dmapsettings.h:401
Qgs3DMapSettings::eyeDomeLightingEnabled
bool eyeDomeLightingEnabled() const
Returns whether eye dome lighting is used.
Definition: qgs3dmapsettings.h:392
Qgis::RendererUsage
RendererUsage
Usage of the renderer.
Definition: qgis.h:1647
Qgs3DMapSettings::isFpsCounterEnabled
bool isFpsCounterEnabled() const
Returns whether FPS counter label is enabled.
Definition: qgs3dmapsettings.h:564
qgsmaplayerref.h
Qgs3DMapSettings::showTerrainTilesInfo
bool showTerrainTilesInfo() const
Returns whether to display extra tile info on top of terrain tiles (for debugging)
Definition: qgs3dmapsettings.h:342
Qgs3DMapSettings::debugDepthMapSize
double debugDepthMapSize() const
Returns the size of the shadow map preview.
Definition: qgs3dmapsettings.h:436
QgsMapThemeCollection
Container class that allows storage of map themes consisting of visible map layers and layer styles.
Definition: qgsmapthemecollection.h:44
Qgs3DMapSettings::showCameraViewCenter
bool showCameraViewCenter() const
Returns whether to show camera's view center as a sphere (for debugging)
Definition: qgs3dmapsettings.h:354
qgsphongmaterialsettings.h
Qgs3DMapSettings::skyboxSettings
QgsSkyboxSettings skyboxSettings() const
Returns the current configuration of the skybox.
Definition: qgs3dmapsettings.h:525
qgs3daxissettings.h
Qgs3DMapSettings::isSkyboxEnabled
bool isSkyboxEnabled() const
Returns whether the skybox is enabled.
Definition: qgs3dmapsettings.h:550
qgscoordinatereferencesystem.h
QgsPathResolver
Resolves relative paths into absolute paths and vice versa. Used for writing.
Definition: qgspathresolver.h:31
QgsTemporalRangeObject
Base class for objects with an associated (optional) temporal range.
Definition: qgstemporalrangeobject.h:33
qgsdirectionallightsettings.h
Qgs3DMapSettings::isTerrainShadingEnabled
bool isTerrainShadingEnabled() const
Returns whether terrain shading is enabled.
Definition: qgs3dmapsettings.h:295
QgsCameraController::NavigationMode
NavigationMode
The navigation mode used by the camera.
Definition: qgscameracontroller.h:69
Qgs3DMapSettings::cameraNavigationMode
QgsCameraController::NavigationMode cameraNavigationMode() const
Returns the navigation mode used by the camera.
Definition: qgs3dmapsettings.h:485