16 #ifndef QGS25DRENDERER_H
17 #define QGS25DRENDERER_H
19 #include "qgis_core.h"
56 QColor roofColor()
const;
61 void setRoofColor(
const QColor &roofColor );
66 QColor wallColor()
const;
71 void setWallColor(
const QColor &wallColor );
76 void setWallShadingEnabled(
bool enabled );
81 bool wallShadingEnabled()
const;
86 QColor shadowColor()
const;
91 void setShadowColor(
const QColor &shadowColor );
96 double shadowSpread()
const;
101 void setShadowSpread(
double shadowSpread );
113 bool shadowEnabled()
const;
118 void setShadowEnabled(
bool value );
126 std::unique_ptr<QgsSymbol> mSymbol;
virtual QgsFeatureRenderer * clone() const =0
Create a deep copy of this renderer.
virtual QgsSymbolList symbols(QgsRenderContext &context) const
Returns list of symbols used by the renderer.
virtual void stopRender(QgsRenderContext &context)
Must be called when a render cycle has finished, to allow the renderer to clean up.
virtual QgsSymbol * symbolForFeature(const QgsFeature &feature, QgsRenderContext &context) const =0
To be overridden.
virtual QDomElement save(QDomDocument &doc, const QgsReadWriteContext &context)
store renderer info to XML element
virtual QSet< QString > usedAttributes(const QgsRenderContext &context) const =0
Returns a list of attributes required by this renderer.
virtual bool accept(QgsStyleEntityVisitorInterface *visitor) const
Accepts the specified symbology visitor, causing it to visit all symbols associated with the renderer...
virtual void startRender(QgsRenderContext &context, const QgsFields &fields)
Must be called when a new render cycle is started.
The feature class encapsulates a single feature including its unique ID, geometry and a list of field...
Container of fields for a vector layer.
A paint effect which draws a glow outside of a picture.
The class is used as a container of context for various read/write operations on other objects.
Contains information about the context of a rendering operation.
An interface for classes which can visit style entity (e.g.
Abstract base class for all rendered symbols.
QList< QgsSymbol * > QgsSymbolList