mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-06 00:05:02 -05:00
118 lines
3.6 KiB
Plaintext
118 lines
3.6 KiB
Plaintext
|
/************************************************************************
|
||
|
* This file has been generated automatically from *
|
||
|
* *
|
||
|
* src/3d/symbols/qgspolygon3dsymbol.h *
|
||
|
* *
|
||
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
||
|
************************************************************************/
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
class QgsPolygon3DSymbol : QgsAbstract3DSymbol
|
||
|
{
|
||
|
%Docstring
|
||
|
3D symbol that draws polygon geometries as planar polygons, optionally extruded (with added walls).
|
||
|
|
||
|
.. versionadded:: 3.0
|
||
|
%End
|
||
|
|
||
|
%TypeHeaderCode
|
||
|
#include "qgspolygon3dsymbol.h"
|
||
|
%End
|
||
|
public:
|
||
|
QgsPolygon3DSymbol();
|
||
|
%Docstring
|
||
|
Constructor for QgsPolygon3DSymbol
|
||
|
%End
|
||
|
|
||
|
virtual QString type() const;
|
||
|
virtual QgsAbstract3DSymbol *clone() const /Factory/;
|
||
|
|
||
|
|
||
|
virtual void writeXml( QDomElement &elem, const QgsReadWriteContext &context ) const;
|
||
|
|
||
|
virtual void readXml( const QDomElement &elem, const QgsReadWriteContext &context );
|
||
|
|
||
|
|
||
|
AltitudeClamping altitudeClamping() const;
|
||
|
%Docstring
|
||
|
Returns method that determines altitude (whether to clamp to feature to terrain)
|
||
|
%End
|
||
|
void setAltitudeClamping( AltitudeClamping altClamping );
|
||
|
%Docstring
|
||
|
Sets method that determines altitude (whether to clamp to feature to terrain)
|
||
|
%End
|
||
|
|
||
|
AltitudeBinding altitudeBinding() const;
|
||
|
%Docstring
|
||
|
Returns method that determines how altitude is bound to individual vertices
|
||
|
%End
|
||
|
void setAltitudeBinding( AltitudeBinding altBinding );
|
||
|
%Docstring
|
||
|
Sets method that determines how altitude is bound to individual vertices
|
||
|
%End
|
||
|
|
||
|
float height() const;
|
||
|
%Docstring
|
||
|
Returns height (altitude) of the symbol (in map units)
|
||
|
%End
|
||
|
void setHeight( float height );
|
||
|
%Docstring
|
||
|
Sets height (altitude) of the symbol (in map units)
|
||
|
%End
|
||
|
|
||
|
float extrusionHeight() const;
|
||
|
%Docstring
|
||
|
Returns extrusion height (in map units)
|
||
|
%End
|
||
|
void setExtrusionHeight( float extrusionHeight );
|
||
|
%Docstring
|
||
|
Sets extrusion height (in map units)
|
||
|
%End
|
||
|
|
||
|
QgsPhongMaterialSettings material() const;
|
||
|
%Docstring
|
||
|
Returns material used for shading of the symbol
|
||
|
%End
|
||
|
void setMaterial( const QgsPhongMaterialSettings &material );
|
||
|
%Docstring
|
||
|
Sets material used for shading of the symbol
|
||
|
%End
|
||
|
|
||
|
|
||
|
bool invertNormals() const;
|
||
|
%Docstring
|
||
|
Returns whether the normals of triangles will be inverted (useful for fixing clockwise / counter-clockwise face vertex orders)
|
||
|
%End
|
||
|
void setInvertNormals( bool invert );
|
||
|
%Docstring
|
||
|
Sets whether the normals of triangles will be inverted (useful for fixing clockwise / counter-clockwise face vertex orders)
|
||
|
%End
|
||
|
|
||
|
bool addBackFaces() const;
|
||
|
%Docstring
|
||
|
Returns whether also triangles facing the other side will be created. Useful if input data have inconsistent order of vertices
|
||
|
|
||
|
.. versionadded:: 3.2
|
||
|
%End
|
||
|
|
||
|
void setAddBackFaces( bool add );
|
||
|
%Docstring
|
||
|
Sets whether also triangles facing the other side will be created. Useful if input data have inconsistent order of vertices
|
||
|
|
||
|
.. versionadded:: 3.2
|
||
|
%End
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
/************************************************************************
|
||
|
* This file has been generated automatically from *
|
||
|
* *
|
||
|
* src/3d/symbols/qgspolygon3dsymbol.h *
|
||
|
* *
|
||
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
||
|
************************************************************************/
|