87 QgsTerrainEntity *terrainEntity()
SIP_SKIP {
return mTerrain; }
104 QVector<QgsPointXY> viewFrustum2DExtent()
const;
107 int terrainPendingJobsCount()
const;
113 int totalPendingJobsCount()
const;
129 float worldSpaceError(
float epsilon,
float distance )
const;
219 Q_DECL_DEPRECATED
static QMap<QString, Qgs3DMapScene *> openScenes()
SIP_DEPRECATED;
241 void enableClipping( const QList<QVector4D> &clipPlaneEquations );
249 void disableClipping();
253 static std::function<QMap<QString, Qgs3DMapScene *>()> sOpenScenesFunction;
291 void updateTemporal();
294 void onCameraChanged();
295 void onFrameTriggered(
float dt );
296 void createTerrain();
297 void onLayerRenderer3DChanged();
298 void onLayersChanged();
299 void createTerrainDeferred();
300 void onBackgroundColorChanged();
302 void updateCameraLens();
303 void onSkyboxSettingsChanged();
304 void onShadowSettingsChanged();
305 void onAmbientOcclusionSettingsChanged();
306 void onEyeDomeShadingSettingsChanged();
307 void onDebugShadowMapSettingsChanged();
308 void onDebugDepthMapSettingsChanged();
309 void onCameraMovementSpeedChanged();
310 void onCameraNavigationModeChanged();
311 void onDebugOverlayEnabledChanged();
312 void onStopUpdatesChanged();
313 void on3DAxisSettingsChanged();
315 void onOriginChanged();
317 bool updateCameraNearFarPlanes();
327 void addCameraViewCenterEntity( Qt3DRender::QCamera *camera );
330 void updateSceneState();
331 void updateScene(
bool forceUpdate =
false );
332 void finalizeNewEntity( Qt3DCore::QEntity *newEntity );
333 int maximumTextureSize()
const;
335 void handleClippingOnEntity( QEntity *entity )
const;
336 void handleClippingOnAllEntities()
const;
342 Qt3DLogic::QFrameAction *mFrameAction =
nullptr;
344 QgsTerrainEntity *mTerrain =
nullptr;
345 QList<Qgs3DMapSceneEntity *> mSceneEntities;
347 Qt3DCore::QEntity *mEntityCameraViewCenter =
nullptr;
349 QMap<QgsMapLayer *, Qt3DCore::QEntity *> mLayerEntities;
350 bool mTerrainUpdateScheduled =
false;
353 QList<Qt3DCore::QEntity *> mLightEntities;
354 QList<QgsMapLayer *> mModelVectorLayers;
357 Qt3DCore::QEntity *mEntityRotationCenter =
nullptr;
362 bool mSceneUpdatesEnabled =
true;
364 QList<QVector4D> mClipPlanesEquations;
365 int mMaxClipPlanes = 6;