QGIS/python/core/symbology/qgs25drenderer.sip
Nyall Dawson 4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00

137 lines
3.3 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/symbology/qgs25drenderer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class Qgs25DRenderer : QgsFeatureRenderer
{
%TypeHeaderCode
#include "qgs25drenderer.h"
%End
public:
Qgs25DRenderer();
static QgsFeatureRenderer *create( QDomElement &element, const QgsReadWriteContext &context ) /Factory/;
%Docstring
Create a new 2.5D renderer from XML
:param element: XML information
:param context: reading context
:rtype: QgsFeatureRenderer
%End
virtual QDomElement save( QDomDocument &doc, const QgsReadWriteContext &context );
virtual void startRender( QgsRenderContext &context, const QgsFields &fields );
virtual void stopRender( QgsRenderContext &context );
virtual QSet<QString> usedAttributes( const QgsRenderContext &context ) const;
virtual QgsFeatureRenderer *clone() const /Factory/;
virtual QgsSymbol *symbolForFeature( QgsFeature &feature, QgsRenderContext &context );
virtual QgsSymbolList symbols( QgsRenderContext &context );
QColor roofColor() const;
%Docstring
Get the roof color
:rtype: QColor
%End
void setRoofColor( const QColor &roofColor );
%Docstring
Set the roof color
%End
QColor wallColor() const;
%Docstring
Get the wall color
:rtype: QColor
%End
void setWallColor( const QColor &wallColor );
%Docstring
Set the wall color
%End
void setWallShadingEnabled( bool enabled );
%Docstring
Set wall shading enabled
%End
bool wallShadingEnabled() const;
%Docstring
Get wall shading enabled
:rtype: bool
%End
QColor shadowColor() const;
%Docstring
Get the shadow's color
:rtype: QColor
%End
void setShadowColor( const QColor &shadowColor );
%Docstring
Set the shadow's color
%End
double shadowSpread() const;
%Docstring
Get the shadow's spread distance in map units
:rtype: float
%End
void setShadowSpread( double shadowSpread );
%Docstring
Set the shadow's spread distance in map units
%End
static Qgs25DRenderer *convertFromRenderer( QgsFeatureRenderer *renderer ) /Factory/;
%Docstring
Try to convert from an existing renderer. If it is not of the same type
we assume that the internals are not compatible and create a new default
2.5D renderer.
:rtype: Qgs25DRenderer
%End
bool shadowEnabled() const;
%Docstring
Is the shadow enabled
:rtype: bool
%End
void setShadowEnabled( bool value );
%Docstring
Enable or disable the shadow
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/symbology/qgs25drenderer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/