101 void setRootEntity( Qt3DCore::QEntity *root );
106 void setActiveFrameGraph( Qt3DRender::QFrameGraphNode *activeFrameGraph );
111 Qt3DRender::QFrameGraphNode *activeFrameGraph()
const;
116 Qt3DRender::QCamera *camera()
const;
121 Qt3DRender::QRenderSettings *renderSettings()
const;
130 void setViewFromTop(
const QgsPointXY ¢er,
float distance,
float rotation = 0 );
133 void saveAsImage(
const QString &fileName,
const QString &fileFormat );
165 QVector<QgsPointXY> viewFrustum2DExtent();
189 void captureDepthBuffer();
198 void showEvent( QShowEvent *e )
override;
203 void resizeEvent( QResizeEvent * )
override;
205 bool eventFilter( QObject *watched, QEvent *event )
override;
209 Qt3DCore::QAspectEngine *m_aspectEngine;
212 Qt3DRender::QRenderAspect *m_renderAspect;
213 Qt3DInput::QInputAspect *m_inputAspect;
214 Qt3DLogic::QLogicAspect *m_logicAspect;
217 Qt3DRender::QRenderSettings *m_renderSettings;
218 Qt3DRender::QCamera *m_defaultCamera;
221 Qt3DInput::QInputSettings *m_inputSettings;
224 Qt3DCore::QEntity *m_root;
225 Qt3DCore::QEntity *m_userRoot;
239 QString mCaptureFileName;
240 QString mCaptureFileFormat;