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
- rtype:
QgsTiledSceneRenderer
Copies common tiled scene renderer properties (such as screen error) to the
destination
renderer.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.
Returns the fill symbol used to render triangles in the wireframe.
- rtype:
Qgis.TiledSceneRendererFlags
Returns the line symbol used to render lines in the wireframe.
- param context:
- param context:
Restores common renderer properties (such as screen error) from the specified DOM
element
.- param doc:
Saves common renderer properties (such as point size and screen error) to the specified DOM
element
.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.
- param context:
- param context:
- rtype:
str
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:
- 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:
element (QDomElement)
context (QgsReadWriteContext)
- Return type:
- createDefaultFillSymbol() QgsFillSymbol ¶
Returns a copy of the default fill symbol used to render triangles in the wireframe.
See also
- Return type:
- createDefaultLineSymbol() QgsLineSymbol ¶
Returns a copy of the default line symbol used to render lines in the wireframe.
See also
- Return type:
- fillSymbol(self) QgsFillSymbol ¶
Returns the fill symbol used to render triangles in the wireframe.
See also
- Return type:
- flags(self) Qgis.TiledSceneRendererFlags ¶
- Return type:
- lineSymbol(self) QgsLineSymbol ¶
Returns the line symbol used to render lines in the wireframe.
See also
- Return type:
- renderLine(self, context: QgsTiledSceneRenderContext, line: QPolygonF)¶
- Parameters:
context (QgsTiledSceneRenderContext)
line (QPolygonF)
- renderTriangle(self, context: QgsTiledSceneRenderContext, triangle: QPolygonF)¶
- Parameters:
context (QgsTiledSceneRenderContext)
triangle (QPolygonF)
- restoreCommonProperties(self, element: QDomElement, context: QgsReadWriteContext)¶
Restores common renderer properties (such as screen error) from the specified DOM
element
.See also
- save(self, doc: QDomDocument, context: QgsReadWriteContext) QDomElement ¶
- Parameters:
doc (QDomDocument)
context (QgsReadWriteContext)
- 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
.See also
- setFillSymbol(self, symbol: QgsFillSymbol)¶
Sets the fill
symbol
used to render triangles in the wireframe.Ownership of
symbol
is transferred.See also
- 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
- 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.
See also
- 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.See also
- Return type:
bool