QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
16 #ifndef QGS25DRENDERER_H
17 #define QGS25DRENDERER_H
19 #include "qgis_core.h"
55 QColor roofColor()
const;
60 void setRoofColor(
const QColor &roofColor );
65 QColor wallColor()
const;
70 void setWallColor(
const QColor &wallColor );
75 void setWallShadingEnabled(
bool enabled );
80 bool wallShadingEnabled()
const;
85 QColor shadowColor()
const;
90 void setShadowColor(
const QColor &shadowColor );
95 double shadowSpread()
const;
100 void setShadowSpread(
double shadowSpread );
112 bool shadowEnabled()
const;
117 void setShadowEnabled(
bool value );
125 std::unique_ptr<QgsSymbol> mSymbol;
128 #endif // QGS25DRENDERER_H
The class is used as a container of context for various read/write operations on other objects.
virtual bool accept(QgsStyleEntityVisitorInterface *visitor) const
Accepts the specified symbology visitor, causing it to visit all symbols associated with the renderer...
Container of fields for a vector layer.
Contains information about the context of a rendering operation.
virtual QSet< QString > usedAttributes(const QgsRenderContext &context) const =0
Returns a list of attributes required by this renderer.
An interface for classes which can visit style entity (e.g.
Abstract base class for all rendered symbols.
virtual void stopRender(QgsRenderContext &context)
Must be called when a render cycle has finished, to allow the renderer to clean up.
virtual QDomElement save(QDomDocument &doc, const QgsReadWriteContext &context)
store renderer info to XML element
QList< QgsSymbol * > QgsSymbolList
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 QgsSymbol * symbolForFeature(const QgsFeature &feature, QgsRenderContext &context) const =0
To be overridden.
A paint effect which draws a glow outside of a picture.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
virtual void startRender(QgsRenderContext &context, const QgsFields &fields)
Must be called when a new render cycle is started.