Class: QgsTiledSceneWireframeRenderer

class qgis.core.QgsTiledSceneWireframeRenderer

Bases: QgsTiledSceneRenderer

Renders tiled scene layers using the raw primitive wireframes.

Added in version 3.34.

QgsTiledSceneWireframeRenderer() Constructor for QgsTiledSceneWireframeRenderer.

Methods

clone

rtype:

QgsTiledSceneRenderer

copyCommonProperties

Copies common tiled scene renderer properties (such as screen error) to the destination renderer.

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.

fillSymbol

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

flags

rtype:

Qgis.TiledSceneRendererFlags

lineSymbol

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

renderLine

param context:

renderTriangle

param context:

restoreCommonProperties

Restores common renderer properties (such as screen error) from the specified DOM element.

save

param doc:

saveCommonProperties

Saves common renderer properties (such as point size and screen error) to the specified DOM element.

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.

startRender

param context:

stopRender

param context:

type

rtype:

str

useTextureColors

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

clone(self) QgsTiledSceneRenderer
Return type:

QgsTiledSceneRenderer

copyCommonProperties(self, destination: QgsTiledSceneRenderer)

Copies common tiled scene renderer properties (such as screen error) to the destination renderer.

create(element: QDomElement, context: QgsReadWriteContext) QgsTiledSceneRenderer

Creates a textured renderer from an XML element.

Parameters:
Return type:

QgsTiledSceneRenderer

createDefaultFillSymbol() QgsFillSymbol

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

See also

setFillSymbol()

Return type:

QgsFillSymbol

createDefaultLineSymbol() QgsLineSymbol

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

See also

setLineSymbol()

Return type:

QgsLineSymbol

fillSymbol(self) QgsFillSymbol

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

See also

setFillSymbol()

Return type:

QgsFillSymbol

flags(self) Qgis.TiledSceneRendererFlags
Return type:

Qgis.TiledSceneRendererFlags

lineSymbol(self) QgsLineSymbol

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

See also

setLineSymbol()

Return type:

QgsLineSymbol

renderLine(self, context: QgsTiledSceneRenderContext, line: QPolygonF)
Parameters:
renderTriangle(self, context: QgsTiledSceneRenderContext, triangle: QPolygonF)
Parameters:
restoreCommonProperties(self, element: QDomElement, context: QgsReadWriteContext)

Restores common renderer properties (such as screen error) from the specified DOM element.

save(self, doc: QDomDocument, context: QgsReadWriteContext) QDomElement
Parameters:
Return type:

QDomElement

saveCommonProperties(self, element: QDomElement, context: QgsReadWriteContext)

Saves common renderer properties (such as point size and screen error) to the specified DOM element.

setFillSymbol(self, symbol: QgsFillSymbol)

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

Ownership of symbol is transferred.

See also

fillSymbol()

Parameters:

symbol (QgsFillSymbol)

setLineSymbol(self, symbol: QgsLineSymbol)

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

Ownership of symbol is transferred.

See also

lineSymbol()

Parameters:

symbol (QgsLineSymbol)

setUseTextureColors(self, enabled: bool)

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

Parameters:

enabled (bool)

startRender(self, context: QgsTiledSceneRenderContext)
Parameters:

context (QgsTiledSceneRenderContext)

stopRender(self, context: QgsTiledSceneRenderContext)
Parameters:

context (QgsTiledSceneRenderContext)

type(self) str
Return type:

str

useTextureColors(self) bool

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

Return type:

bool