1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/symbology/qgs25drenderer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class Qgs25DRenderer : QgsFeatureRenderer
{
%Docstring(signature="appended")
A vector renderer which represents 3D features in an isometric view.
%End
%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
%End
virtual QDomElement save( QDomDocument &doc, const QgsReadWriteContext &context );
virtual Qgis::FeatureRendererFlags flags() const;
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( const QgsFeature &feature, QgsRenderContext &context ) const;
virtual QgsSymbolList symbols( QgsRenderContext &context ) const;
virtual bool accept( QgsStyleEntityVisitorInterface *visitor ) const;
QColor roofColor() const;
%Docstring
Gets the roof color
%End
void setRoofColor( const QColor &roofColor ) const;
%Docstring
Set the roof color
%End
QColor wallColor() const;
%Docstring
Gets the wall color
%End
void setWallColor( const QColor &wallColor ) const;
%Docstring
Set the wall color
%End
void setWallShadingEnabled( bool enabled ) const;
%Docstring
Set wall shading enabled
%End
bool wallShadingEnabled() const;
%Docstring
Gets wall shading enabled
%End
QColor shadowColor() const;
%Docstring
Gets the shadow's color
%End
void setShadowColor( const QColor &shadowColor ) const;
%Docstring
Set the shadow's color
%End
double shadowSpread() const;
%Docstring
Gets the shadow's spread distance in map units
%End
void setShadowSpread( double shadowSpread ) const;
%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.
%End
bool shadowEnabled() const;
%Docstring
Is the shadow enabled
%End
void setShadowEnabled( bool value ) const;
%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.py again *
************************************************************************/
|