|
| Qgs25DRenderer () |
|
bool | accept (QgsStyleEntityVisitorInterface *visitor) const override |
| Accepts the specified symbology visitor, causing it to visit all symbols associated with the renderer. More...
|
|
QgsFeatureRenderer * | clone () const override |
| Create a deep copy of this renderer. More...
|
|
QColor | roofColor () const |
| Gets the roof color. More...
|
|
QDomElement | save (QDomDocument &doc, const QgsReadWriteContext &context) override |
| Stores renderer properties to an XML element. More...
|
|
void | setRoofColor (const QColor &roofColor) const |
| Set the roof color. More...
|
|
void | setShadowColor (const QColor &shadowColor) const |
| Set the shadow's color. More...
|
|
void | setShadowEnabled (bool value) const |
| Enable or disable the shadow. More...
|
|
void | setShadowSpread (double shadowSpread) const |
| Set the shadow's spread distance in map units. More...
|
|
void | setWallColor (const QColor &wallColor) const |
| Set the wall color. More...
|
|
void | setWallShadingEnabled (bool enabled) const |
| Set wall shading enabled. More...
|
|
QColor | shadowColor () const |
| Gets the shadow's color. More...
|
|
bool | shadowEnabled () const |
| Is the shadow enabled. More...
|
|
double | shadowSpread () const |
| Gets the shadow's spread distance in map units. More...
|
|
void | startRender (QgsRenderContext &context, const QgsFields &fields) override |
| Must be called when a new render cycle is started. More...
|
|
void | stopRender (QgsRenderContext &context) override |
| Must be called when a render cycle has finished, to allow the renderer to clean up. More...
|
|
QgsSymbol * | symbolForFeature (const QgsFeature &feature, QgsRenderContext &context) const override |
| To be overridden. More...
|
|
QgsSymbolList | symbols (QgsRenderContext &context) const override |
| Returns list of symbols used by the renderer. More...
|
|
QSet< QString > | usedAttributes (const QgsRenderContext &context) const override |
| Returns a list of attributes required by this renderer. More...
|
|
QColor | wallColor () const |
| Gets the wall color. More...
|
|
bool | wallShadingEnabled () const |
| Gets wall shading enabled. More...
|
|
virtual | ~QgsFeatureRenderer () |
|
virtual bool | accept (QgsStyleEntityVisitorInterface *visitor) const |
| Accepts the specified symbology visitor, causing it to visit all symbols associated with the renderer. More...
|
|
virtual QgsFeatureRenderer::Capabilities | capabilities () |
| Returns details about internals of this renderer. More...
|
|
virtual void | checkLegendSymbolItem (const QString &key, bool state=true) |
| item in symbology was checked More...
|
|
virtual QgsFeatureRenderer * | clone () const =0 |
| Create a deep copy of this renderer. More...
|
|
void | copyRendererData (QgsFeatureRenderer *destRenderer) const |
| Clones generic renderer data to another renderer. More...
|
|
virtual QString | dump () const |
| Returns debug information about this renderer. More...
|
|
virtual const QgsFeatureRenderer * | embeddedRenderer () const |
| Returns the current embedded renderer (subrenderer) for this feature renderer. More...
|
|
virtual QString | filter (const QgsFields &fields=QgsFields()) |
| If a renderer does not require all the features this method may be overridden and return an expression used as where clause. More...
|
|
virtual bool | filterNeedsGeometry () const |
| Returns true if this renderer requires the geometry to apply the filter. More...
|
|
bool | forceRasterRender () const |
| Returns whether the renderer must render as a raster. More...
|
|
virtual QString | legendClassificationAttribute () const |
| If supported by the renderer, return classification attribute for the use in legend. More...
|
|
virtual QSet< QString > | legendKeysForFeature (const QgsFeature &feature, QgsRenderContext &context) const |
| Returns legend keys matching a specified feature. More...
|
|
virtual QString | legendKeyToExpression (const QString &key, QgsVectorLayer *layer, bool &ok) const |
| Attempts to convert the specified legend rule key to a QGIS expression matching the features displayed using that key. More...
|
|
virtual bool | legendSymbolItemChecked (const QString &key) |
| items of symbology items in legend is checked More...
|
|
virtual QgsLegendSymbolList | legendSymbolItems () const |
| Returns a list of symbology items for the legend. More...
|
|
virtual bool | legendSymbolItemsCheckable () const |
| items of symbology items in legend should be checkable More...
|
|
virtual void | modifyRequestExtent (QgsRectangle &extent, QgsRenderContext &context) |
| Allows for a renderer to modify the extent of a feature request prior to rendering. More...
|
|
QgsFeatureRequest::OrderBy | orderBy () const |
| Gets the order in which features shall be processed by this renderer. More...
|
|
bool | orderByEnabled () const |
| Returns whether custom ordering will be applied before features are processed by this renderer. More...
|
|
virtual QgsSymbol * | originalSymbolForFeature (const QgsFeature &feature, QgsRenderContext &context) const |
| Returns symbol for feature. More...
|
|
virtual QgsSymbolList | originalSymbolsForFeature (const QgsFeature &feature, QgsRenderContext &context) const |
| Equivalent of originalSymbolsForFeature() call extended to support renderers that may use more symbols per feature - similar to symbolsForFeature() More...
|
|
QgsPaintEffect * | paintEffect () const |
| Returns the current paint effect for the renderer. More...
|
|
double | referenceScale () const |
| Returns the symbology reference scale. More...
|
|
virtual bool | renderFeature (const QgsFeature &feature, QgsRenderContext &context, int layer=-1, bool selected=false, bool drawVertexMarker=false) SIP_THROW(QgsCsException) |
| Render a feature using this renderer in the given context. More...
|
|
virtual QDomElement | save (QDomDocument &doc, const QgsReadWriteContext &context) |
| Stores renderer properties to an XML element. More...
|
|
virtual void | setEmbeddedRenderer (QgsFeatureRenderer *subRenderer) |
| Sets an embedded renderer (subrenderer) for this feature renderer. More...
|
|
void | setForceRasterRender (bool forceRaster) |
| Sets whether the renderer should be rendered to a raster destination. More...
|
|
virtual void | setLegendSymbolItem (const QString &key, QgsSymbol *symbol) |
| Sets the symbol to be used for a legend symbol item. More...
|
|
void | setOrderBy (const QgsFeatureRequest::OrderBy &orderBy) |
| Define the order in which features shall be processed by this renderer. More...
|
|
void | setOrderByEnabled (bool enabled) |
| Sets whether custom ordering should be applied before features are processed by this renderer. More...
|
|
void | setPaintEffect (QgsPaintEffect *effect) |
| Sets the current paint effect for the renderer. More...
|
|
void | setReferenceScale (double scale) |
| Sets the symbology reference scale. More...
|
|
void | setUsingSymbolLevels (bool usingSymbolLevels) |
|
void | setVertexMarkerAppearance (Qgis::VertexMarkerType type, double size) |
| Sets type and size of editing vertex markers for subsequent rendering. More...
|
|
virtual void | startRender (QgsRenderContext &context, const QgsFields &fields) |
| Must be called when a new render cycle is started. More...
|
|
virtual void | stopRender (QgsRenderContext &context) |
| Must be called when a render cycle has finished, to allow the renderer to clean up. More...
|
|
virtual QgsSymbol * | symbolForFeature (const QgsFeature &feature, QgsRenderContext &context) const =0 |
| To be overridden. More...
|
|
virtual QgsSymbolList | symbols (QgsRenderContext &context) const |
| Returns list of symbols used by the renderer. More...
|
|
virtual QgsSymbolList | symbolsForFeature (const QgsFeature &feature, QgsRenderContext &context) const |
| Returns list of symbols used for rendering the feature. More...
|
|
virtual void | toSld (QDomDocument &doc, QDomElement &element, const QVariantMap &props=QVariantMap()) const |
| used from subclasses to create SLD Rule elements following SLD v1.1 specs More...
|
|
QString | type () const |
|
virtual QSet< QString > | usedAttributes (const QgsRenderContext &context) const =0 |
| Returns a list of attributes required by this renderer. More...
|
|
virtual bool | usesEmbeddedSymbols () const |
| Returns true if the renderer uses embedded symbols for features. More...
|
|
bool | usingSymbolLevels () const |
|
virtual bool | willRenderFeature (const QgsFeature &feature, QgsRenderContext &context) const |
| Returns whether the renderer will render a feature or not. More...
|
|
virtual QDomElement | writeSld (QDomDocument &doc, const QString &styleName, const QVariantMap &props=QVariantMap()) const |
| create the SLD UserStyle element following the SLD v1.1 specs with the given name More...
|
|