Class: QgsTiledSceneWireframeRenderer¶
Renders tiled scene layers using the raw primitive wireframes.
Added in version 3.34.
Class Hierarchy¶
Base classes¶
Abstract base class for 2d tiled scene renderers. |
Methods
Returns the fill symbol used to render triangles in the wireframe. |
|
Returns the line symbol used to render lines in the wireframe. |
|
Sets the fill symbol used to render triangles in the wireframe. |
|
Sets the line symbol used to render lines in the wireframe. |
|
Sets whether representative colors from the textures should be used to recolor the symbols used to render the wireframe. |
|
Returns |
Static Methods
Creates a textured renderer from an XML element. |
|
Returns a copy of the default fill symbol used to render triangles in the wireframe. |
|
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:
element (QDomElement)
context (QgsReadWriteContext)
- 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
- 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
- Return type:
Optional[QgsLineSymbol]
- fillSymbol(self) QgsFillSymbol | None [source]¶
Returns the fill symbol used to render triangles in the wireframe.
See also
- Return type:
Optional[QgsFillSymbol]
- lineSymbol(self) QgsLineSymbol | None [source]¶
Returns the line symbol used to render lines in the wireframe.
See also
- 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
- 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
- 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.
See also
- Parameters:
enabled (bool)