16#ifndef QGS3DAXISRENDERVIEW_H
17#define QGS3DAXISRENDERVIEW_H
35 class QRenderSettings;
37 class QFrameGraphNode;
40 class QSubtreeEnabler;
41 class QRenderTargetSelector;
71 Qt3DRender::QViewport *
viewport()
const;
98 Qt3DRender::QCamera *mObjectCamera;
99 Qt3DRender::QCamera *mLabelCamera;
100 Qt3DRender::QLayer *mObjectLayer =
nullptr;
101 Qt3DRender::QLayer *mLabelLayer =
nullptr;
102 Qt3DRender::QViewport *mViewport =
nullptr;
Qt3DRender::QLayer * labelLayer() const
Returns the layer to be used by entities to be included in the label renderpass.
void onVerticalPositionChanged(Qt::AnchorPoint position)
Updates viewport vertical position.
Qt3DRender::QCamera * labelCamera() const
Returns camera used for billboarded labels.
Qt3DRender::QLayer * objectLayer() const
Returns main object layer.
Qgs3DAxisRenderView(const QString &viewName, Qgs3DMapCanvas *canvas, QgsCameraController *cameraCtrl, Qgs3DMapSettings *settings, Qgs3DAxis *axis3D)
Constructor for Qgs3DAxisRenderView with the specified parent object.
Qt3DRender::QViewport * viewport() const
Returns the viewport associated to this renderview.
void onViewportSizeUpdate(int width=-1, int height=-1)
Updates viewport size. Uses canvas size by default.
Qt3DRender::QCamera * objectCamera() const
Returns main object camera (used for axis or cube).
void onHorizontalPositionChanged(Qt::AnchorPoint position)
Updates viewport horizontal position.
Display 3D ortho axis in the main 3D view.
Convenience wrapper to simplify the creation of a 3D window ready to be used with QGIS.
virtual void updateWindowResize(int width, int height)
Called when 3D window is resized.
QgsAbstractRenderView(const QString &viewName)
Constructor for QgsAbstractRenderView with the specified parent object.
Object that controls camera movement based on user input.
Container class that holds different objects related to frame graphs of 3D scenes.