Class: QgsTiledSceneWireframeRenderer

Renders tiled scene layers using the raw primitive wireframes.

Added in version 3.34.

Class Hierarchy

Inheritance diagram of qgis.core.QgsTiledSceneWireframeRenderer

Base classes

QgsTiledSceneRenderer

Abstract base class for 2d tiled scene renderers.

Methods

fillSymbol

Returns the fill symbol used to render triangles in the wireframe.

lineSymbol

Returns the line symbol used to render lines in the wireframe.

setFillSymbol

Sets the fill symbol used to render triangles in the wireframe.

setLineSymbol

Sets the line symbol used to render lines in the wireframe.

setUseTextureColors

Sets whether representative colors from the textures should be used to recolor the symbols used to render the wireframe.

useTextureColors

Returns True if representative colors from the textures will be used to recolor the symbols used to render the wireframe.

Static Methods

create

Creates a textured renderer from an XML element.

createDefaultFillSymbol

Returns a copy of the default fill symbol used to render triangles in the wireframe.

createDefaultLineSymbol

Returns a copy of the default line symbol used to render lines in the wireframe.

class qgis.core.QgsTiledSceneWireframeRenderer[source]

Bases: QgsTiledSceneRenderer

__init__()

Constructor for QgsTiledSceneWireframeRenderer.

static create(element: QDomElement, context: QgsReadWriteContext) QgsTiledSceneRenderer | None[source]

Creates a textured renderer from an XML element.

Parameters:
Return type:

Optional[QgsTiledSceneRenderer]

static createDefaultFillSymbol() QgsFillSymbol | None

Returns a copy of the default fill symbol used to render triangles in the wireframe.

See also

setFillSymbol()

Return type:

Optional[QgsFillSymbol]

static createDefaultLineSymbol() QgsLineSymbol | None

Returns a copy of the default line symbol used to render lines in the wireframe.

See also

setLineSymbol()

Return type:

Optional[QgsLineSymbol]

fillSymbol(self) QgsFillSymbol | None[source]

Returns the fill symbol used to render triangles in the wireframe.

See also

setFillSymbol()

Return type:

Optional[QgsFillSymbol]

lineSymbol(self) QgsLineSymbol | None[source]

Returns the line symbol used to render lines in the wireframe.

See also

setLineSymbol()

Return type:

Optional[QgsLineSymbol]

setFillSymbol(self, symbol: QgsFillSymbol | None)[source]

Sets the fill symbol used to render triangles in the wireframe.

Ownership of symbol is transferred.

See also

fillSymbol()

Parameters:

symbol (Optional[QgsFillSymbol])

setLineSymbol(self, symbol: QgsLineSymbol | None)[source]

Sets the line symbol used to render lines in the wireframe.

Ownership of symbol is transferred.

See also

lineSymbol()

Parameters:

symbol (Optional[QgsLineSymbol])

setUseTextureColors(self, enabled: bool)[source]

Sets whether representative colors from the textures should be used to recolor the symbols used to render the wireframe.

Parameters:

enabled (bool)

useTextureColors(self) bool[source]

Returns True if representative colors from the textures will be used to recolor the symbols used to render the wireframe.

Return type:

bool