16 #ifndef QGS25DRENDERER_H 17 #define QGS25DRENDERER_H 19 #include "qgis_core.h" 54 QColor roofColor()
const;
59 void setRoofColor(
const QColor &roofColor );
64 QColor wallColor()
const;
69 void setWallColor(
const QColor &wallColor );
74 void setWallShadingEnabled(
bool enabled );
79 bool wallShadingEnabled()
const;
84 QColor shadowColor()
const;
89 void setShadowColor(
const QColor &shadowColor );
94 double shadowSpread()
const;
99 void setShadowSpread(
double shadowSpread );
111 bool shadowEnabled()
const;
116 void setShadowEnabled(
bool value );
124 std::unique_ptr<QgsSymbol> mSymbol;
127 #endif // QGS25DRENDERER_H The class is used as a container of context for various read/write operations on other objects...
Abstract base class for all rendered symbols.
virtual QDomElement save(QDomDocument &doc, const QgsReadWriteContext &context)
store renderer info to XML element
Container of fields for a vector layer.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
virtual QgsSymbol * symbolForFeature(const QgsFeature &feature, QgsRenderContext &context) const =0
To be overridden.
virtual QSet< QString > usedAttributes(const QgsRenderContext &context) const =0
Returns a list of attributes required by this renderer.
QList< QgsSymbol * > QgsSymbolList
A paint effect which draws a glow outside of a picture.
Contains information about the context of a rendering operation.
virtual QgsSymbolList symbols(QgsRenderContext &context) const
Returns list of symbols used by the renderer.
virtual void startRender(QgsRenderContext &context, const QgsFields &fields)
Must be called when a new render cycle is started.
virtual void stopRender(QgsRenderContext &context)
Must be called when a render cycle has finished, to allow the renderer to clean up.
virtual QgsFeatureRenderer * clone() const =0
Create a deep copy of this renderer.