QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsTiledSceneLayer3DRenderer Class Reference

3 More...

#include <qgstiledscenelayer3drenderer.h>

Inheritance diagram for QgsTiledSceneLayer3DRenderer:
Inheritance graph
[legend]

Public Member Functions

 QgsTiledSceneLayer3DRenderer ()
 
virtual QgsAbstract3DRendererclone () 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.
 
QgsTiledSceneLayerlayer () 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
 

Detailed Description

3

3D renderer that renders content of a tiled scene layer

Since
QGIS 3.34

Definition at line 52 of file qgstiledscenelayer3drenderer.h.

Constructor & Destructor Documentation

◆ QgsTiledSceneLayer3DRenderer()

QgsTiledSceneLayer3DRenderer::QgsTiledSceneLayer3DRenderer ( )

Definition at line 40 of file qgstiledscenelayer3drenderer.cpp.

Member Function Documentation

◆ clone()

QgsAbstract3DRenderer * QgsTiledSceneLayer3DRenderer::clone ( ) const
overridevirtual

Returns a cloned instance.

Implements QgsAbstract3DRenderer.

Definition at line 54 of file qgstiledscenelayer3drenderer.cpp.

◆ createEntity()

Qt3DCore::QEntity * QgsTiledSceneLayer3DRenderer::createEntity ( Qgs3DMapSettings map) const
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.

◆ layer()

QgsTiledSceneLayer * QgsTiledSceneLayer3DRenderer::layer ( ) const

Returns tiled scene layer associated with the renderer.

Definition at line 49 of file qgstiledscenelayer3drenderer.cpp.

◆ maximumScreenError()

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.

See also
setMaximumScreenError()

Definition at line 103 of file qgstiledscenelayer3drenderer.cpp.

◆ readXml()

void QgsTiledSceneLayer3DRenderer::readXml ( const QDomElement &  elem,
const QgsReadWriteContext context 
)
overridevirtual

Reads renderer's properties from given XML element.

Implements QgsAbstract3DRenderer.

Definition at line 88 of file qgstiledscenelayer3drenderer.cpp.

◆ resolveReferences()

void QgsTiledSceneLayer3DRenderer::resolveReferences ( const QgsProject project)
overridevirtual

Resolves references to other objects - second phase of loading - after readXml()

Reimplemented from QgsAbstract3DRenderer.

Definition at line 98 of file qgstiledscenelayer3drenderer.cpp.

◆ setLayer()

void QgsTiledSceneLayer3DRenderer::setLayer ( QgsTiledSceneLayer layer)

Sets tiled scene layer associated with the renderer.

Definition at line 44 of file qgstiledscenelayer3drenderer.cpp.

◆ setMaximumScreenError()

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.

See also
maximumScreenError()

Definition at line 108 of file qgstiledscenelayer3drenderer.cpp.

◆ setShowBoundingBoxes()

void QgsTiledSceneLayer3DRenderer::setShowBoundingBoxes ( bool  showBoundingBoxes)

Sets whether bounding boxes will be visible when rendering the tiled scene.

See also
showBoundingBoxes()

Definition at line 118 of file qgstiledscenelayer3drenderer.cpp.

◆ showBoundingBoxes()

bool QgsTiledSceneLayer3DRenderer::showBoundingBoxes ( ) const

Returns whether bounding boxes will be visible when rendering the tiled scene.

See also
setShowBoundingBoxes()

Definition at line 113 of file qgstiledscenelayer3drenderer.cpp.

◆ type()

virtual QString QgsTiledSceneLayer3DRenderer::type ( ) const
inlineoverridevirtual

Returns unique identifier of the renderer class (used to identify subclass)

Implements QgsAbstract3DRenderer.

Definition at line 108 of file qgstiledscenelayer3drenderer.h.

◆ writeXml()

void QgsTiledSceneLayer3DRenderer::writeXml ( QDomElement &  elem,
const QgsReadWriteContext context 
) const
overridevirtual

Writes renderer's properties to given XML element.

Implements QgsAbstract3DRenderer.

Definition at line 77 of file qgstiledscenelayer3drenderer.cpp.


The documentation for this class was generated from the following files: