108 void setRootEntity( Qt3DCore::QEntity *root );
113 void setActiveFrameGraph( Qt3DRender::QFrameGraphNode *activeFrameGraph );
118 Qt3DRender::QFrameGraphNode *activeFrameGraph()
const;
123 Qt3DRender::QCamera *camera()
const;
128 Qt3DRender::QRenderSettings *renderSettings()
const;
137 void setViewFromTop(
const QgsPointXY ¢er,
float distance,
float rotation = 0 );
140 void saveAsImage(
const QString &fileName,
const QString &fileFormat );
172 QVector<QgsPointXY> viewFrustum2DExtent();
196 void captureDepthBuffer();
205 void showEvent( QShowEvent *e )
override;
210 void resizeEvent( QResizeEvent * )
override;
212 bool eventFilter( QObject *watched, QEvent *event )
override;
216 Qt3DCore::QAspectEngine *m_aspectEngine;
219 Qt3DRender::QRenderAspect *m_renderAspect;
220 Qt3DInput::QInputAspect *m_inputAspect;
221 Qt3DLogic::QLogicAspect *m_logicAspect;
224 Qt3DRender::QRenderSettings *m_renderSettings;
225 Qt3DRender::QCamera *m_defaultCamera;
228 Qt3DInput::QInputSettings *m_inputSettings;
231 Qt3DCore::QEntity *m_root;
232 Qt3DCore::QEntity *m_userRoot;
246 QString mCaptureFileName;
247 QString mCaptureFileFormat;