QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
3 More...
#include <qgstiledscenelayer3drenderer.h>
Public Member Functions | |
QgsTiledSceneLayer3DRenderer () | |
virtual QgsAbstract3DRenderer * | clone () const override |
Returns a cloned instance. | |
virtual Qt3DCore::QEntity * | createEntity (Qgs3DMapSettings *map) const override |
Returns a 3D entity that will be used to show renderer's data in 3D scene. | |
QgsTiledSceneLayer * | layer () const |
Returns tiled scene layer associated with the renderer. | |
double | maximumScreenError () const |
Returns the maximum screen error allowed when rendering the tiled scene. | |
virtual void | readXml (const QDomElement &elem, const QgsReadWriteContext &context) override |
Reads renderer's properties from given XML element. | |
virtual void | resolveReferences (const QgsProject &project) override |
Resolves references to other objects - second phase of loading - after readXml() | |
void | setLayer (QgsTiledSceneLayer *layer) |
Sets tiled scene layer associated with the renderer. | |
void | setMaximumScreenError (double error) |
Sets the maximum screen error allowed when rendering the tiled scene. | |
void | setShowBoundingBoxes (bool showBoundingBoxes) |
Sets whether bounding boxes will be visible when rendering the tiled scene. | |
bool | showBoundingBoxes () const |
Returns whether bounding boxes will be visible when rendering the tiled scene. | |
virtual QString | type () const override |
Returns unique identifier of the renderer class (used to identify subclass) | |
virtual void | writeXml (QDomElement &elem, const QgsReadWriteContext &context) const override |
Writes renderer's properties to given XML element. | |
Public Member Functions inherited from QgsAbstract3DRenderer | |
virtual | ~QgsAbstract3DRenderer ()=default |
Additional Inherited Members | |
Protected Member Functions inherited from QgsAbstract3DRenderer | |
QgsAbstract3DRenderer ()=default | |
3
3D renderer that renders content of a tiled scene layer
Definition at line 51 of file qgstiledscenelayer3drenderer.h.
QgsTiledSceneLayer3DRenderer::QgsTiledSceneLayer3DRenderer | ( | ) |
Definition at line 40 of file qgstiledscenelayer3drenderer.cpp.
|
overridevirtual |
Returns a cloned instance.
Implements QgsAbstract3DRenderer.
Definition at line 54 of file qgstiledscenelayer3drenderer.cpp.
|
overridevirtual |
Returns a 3D entity that will be used to show renderer's data in 3D scene.
Implements QgsAbstract3DRenderer.
Definition at line 61 of file qgstiledscenelayer3drenderer.cpp.
QgsTiledSceneLayer * QgsTiledSceneLayer3DRenderer::layer | ( | ) | const |
Returns tiled scene layer associated with the renderer.
Definition at line 49 of file qgstiledscenelayer3drenderer.cpp.
double QgsTiledSceneLayer3DRenderer::maximumScreenError | ( | ) | const |
Returns the maximum screen error allowed when rendering the tiled scene.
Larger values result in a faster render with less content rendered.
Definition at line 98 of file qgstiledscenelayer3drenderer.cpp.
|
overridevirtual |
Reads renderer's properties from given XML element.
Implements QgsAbstract3DRenderer.
Definition at line 83 of file qgstiledscenelayer3drenderer.cpp.
|
overridevirtual |
Resolves references to other objects - second phase of loading - after readXml()
Reimplemented from QgsAbstract3DRenderer.
Definition at line 93 of file qgstiledscenelayer3drenderer.cpp.
void QgsTiledSceneLayer3DRenderer::setLayer | ( | QgsTiledSceneLayer * | layer | ) |
Sets tiled scene layer associated with the renderer.
Definition at line 44 of file qgstiledscenelayer3drenderer.cpp.
void QgsTiledSceneLayer3DRenderer::setMaximumScreenError | ( | double | error | ) |
Sets the maximum screen error allowed when rendering the tiled scene.
Larger values result in a faster render with less content rendered.
Definition at line 103 of file qgstiledscenelayer3drenderer.cpp.
void QgsTiledSceneLayer3DRenderer::setShowBoundingBoxes | ( | bool | showBoundingBoxes | ) |
Sets whether bounding boxes will be visible when rendering the tiled scene.
Definition at line 113 of file qgstiledscenelayer3drenderer.cpp.
bool QgsTiledSceneLayer3DRenderer::showBoundingBoxes | ( | ) | const |
Returns whether bounding boxes will be visible when rendering the tiled scene.
Definition at line 108 of file qgstiledscenelayer3drenderer.cpp.
|
inlineoverridevirtual |
Returns unique identifier of the renderer class (used to identify subclass)
Implements QgsAbstract3DRenderer.
Definition at line 106 of file qgstiledscenelayer3drenderer.h.
|
overridevirtual |
Writes renderer's properties to given XML element.
Implements QgsAbstract3DRenderer.
Definition at line 72 of file qgstiledscenelayer3drenderer.cpp.