103 void setRootEntity( Qt3DCore::QEntity *root );
108 void setActiveFrameGraph( Qt3DRender::QFrameGraphNode *activeFrameGraph );
113 Qt3DRender::QFrameGraphNode *activeFrameGraph()
const;
118 Qt3DRender::QCamera *camera()
const;
123 Qt3DRender::QRenderSettings *renderSettings()
const;
132 void setViewFromTop(
const QgsPointXY ¢er,
float distance,
float rotation = 0 );
135 void saveAsImage(
const QString &fileName,
const QString &fileFormat );
167 QVector<QgsPointXY> viewFrustum2DExtent();
178 void clearHighlights();
202 void captureDepthBuffer();
205 void updateHighlightSizes();
211 void showEvent( QShowEvent *e )
override;
216 void resizeEvent( QResizeEvent * )
override;
218 bool eventFilter( QObject *watched, QEvent *event )
override;
221 Qt3DCore::QAspectEngine *m_aspectEngine;
224 Qt3DRender::QRenderAspect *m_renderAspect;
225 Qt3DInput::QInputAspect *m_inputAspect;
226 Qt3DLogic::QLogicAspect *m_logicAspect;
229 Qt3DRender::QRenderSettings *m_renderSettings;
230 Qt3DRender::QCamera *m_defaultCamera;
233 Qt3DInput::QInputSettings *m_inputSettings;
236 Qt3DCore::QEntity *m_root;
237 Qt3DCore::QEntity *m_userRoot;
251 QString mCaptureFileName;
252 QString mCaptureFileFormat;
257 QMap<QgsMapLayer *, QgsRubberBand3D *> mHighlights;