QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
3 More...
#include <qgsline3dsymbol.h>
Public Member Functions | |
QgsLine3DSymbol () | |
~QgsLine3DSymbol () override | |
Qgis::AltitudeBinding | altitudeBinding () const |
Returns method that determines how altitude is bound to individual vertices. | |
Qgis::AltitudeClamping | altitudeClamping () const |
Returns method that determines altitude (whether to clamp to feature to terrain) | |
QgsAbstract3DSymbol * | clone () const override SIP_FACTORY |
QList< Qgis::GeometryType > | compatibleGeometryTypes () const override |
bool | exportGeometries (Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix) const override SIP_SKIP |
Exports the geometries contained within the hierarchy of entity. | |
float | extrusionHeight () const |
Returns extrusion height (in map units) | |
Q_DECL_DEPRECATED float | height () const SIP_DEPRECATED |
Returns height (altitude) of the symbol (in map units) | |
QgsAbstractMaterialSettings * | materialSettings () const |
Returns material settings used for shading of the symbol. | |
float | offset () const |
Returns vertical offset of the symbol (in map units) | |
void | readXml (const QDomElement &elem, const QgsReadWriteContext &context) override |
bool | renderAsSimpleLines () const |
Returns whether the renderer will render data with simple lines (otherwise it uses buffer) | |
void | setAltitudeBinding (Qgis::AltitudeBinding altBinding) |
Sets method that determines how altitude is bound to individual vertices. | |
void | setAltitudeClamping (Qgis::AltitudeClamping altClamping) |
Sets method that determines altitude (whether to clamp to feature to terrain) | |
void | setDefaultPropertiesFromLayer (const QgsVectorLayer *layer) override |
void | setExtrusionHeight (float extrusionHeight) |
Sets extrusion height (in map units) | |
Q_DECL_DEPRECATED void | setHeight (float height) SIP_DEPRECATED |
Sets height (altitude) of the symbol (in map units) | |
void | setMaterialSettings (QgsAbstractMaterialSettings *materialSettings SIP_TRANSFER) |
Sets the material settings used for shading of the symbol. | |
void | setOffset (float offset) |
Sets vertical offset of the symbol (in map units) | |
void | setRenderAsSimpleLines (bool enabled) |
Sets whether the renderer will render data with simple lines (otherwise it uses buffer) | |
void | setWidth (float width) |
Sets width of the line symbol (in map units) | |
QString | type () const override |
float | width () const |
Returns width of the line symbol (in map units) | |
void | writeXml (QDomElement &elem, const QgsReadWriteContext &context) const override |
Static Public Member Functions | |
static QgsAbstract3DSymbol * | create () SIP_FACTORY |
Creates a new QgsLine3DSymbol. | |
3
3D symbol that draws linestring geometries as planar polygons (created from lines using a buffer with given thickness).
Definition at line 34 of file qgsline3dsymbol.h.
QgsLine3DSymbol::QgsLine3DSymbol | ( | ) |
Definition at line 25 of file qgsline3dsymbol.cpp.
|
overridedefault |
|
inline |
Returns method that determines how altitude is bound to individual vertices.
Definition at line 61 of file qgsline3dsymbol.h.
|
inline |
Returns method that determines altitude (whether to clamp to feature to terrain)
Definition at line 56 of file qgsline3dsymbol.h.
|
override |
Definition at line 32 of file qgsline3dsymbol.cpp.
|
override |
Definition at line 100 of file qgsline3dsymbol.cpp.
|
static |
Creates a new QgsLine3DSymbol.
Caller takes ownership of the returned symbol.
Definition at line 115 of file qgsline3dsymbol.cpp.
|
override |
Exports the geometries contained within the hierarchy of entity.
Returns whether any objects were exported
Definition at line 120 of file qgsline3dsymbol.cpp.
|
inline |
Returns extrusion height (in map units)
Definition at line 99 of file qgsline3dsymbol.h.
|
inline |
Returns height (altitude) of the symbol (in map units)
Definition at line 75 of file qgsline3dsymbol.h.
QgsAbstractMaterialSettings * QgsLine3DSymbol::materialSettings | ( | ) | const |
Returns material settings used for shading of the symbol.
Definition at line 87 of file qgsline3dsymbol.cpp.
|
inline |
Returns vertical offset of the symbol (in map units)
Definition at line 89 of file qgsline3dsymbol.h.
|
override |
Definition at line 67 of file qgsline3dsymbol.cpp.
|
inline |
Returns whether the renderer will render data with simple lines (otherwise it uses buffer)
Definition at line 104 of file qgsline3dsymbol.h.
|
inline |
Sets method that determines how altitude is bound to individual vertices.
Definition at line 63 of file qgsline3dsymbol.h.
|
inline |
Sets method that determines altitude (whether to clamp to feature to terrain)
Definition at line 58 of file qgsline3dsymbol.h.
|
override |
Definition at line 105 of file qgsline3dsymbol.cpp.
|
inline |
Sets extrusion height (in map units)
Definition at line 101 of file qgsline3dsymbol.h.
|
inline |
Sets height (altitude) of the symbol (in map units)
Definition at line 82 of file qgsline3dsymbol.h.
void QgsLine3DSymbol::setMaterialSettings | ( | QgsAbstractMaterialSettings *materialSettings | SIP_TRANSFER | ) |
Sets the material settings used for shading of the symbol.
Ownership of material is transferred to the symbol.
Definition at line 92 of file qgsline3dsymbol.cpp.
|
inline |
Sets vertical offset of the symbol (in map units)
Definition at line 96 of file qgsline3dsymbol.h.
|
inline |
Sets whether the renderer will render data with simple lines (otherwise it uses buffer)
Definition at line 106 of file qgsline3dsymbol.h.
|
inline |
Sets width of the line symbol (in map units)
Definition at line 68 of file qgsline3dsymbol.h.
|
inlineoverride |
Definition at line 47 of file qgsline3dsymbol.h.
|
inline |
Returns width of the line symbol (in map units)
Definition at line 66 of file qgsline3dsymbol.h.
|
override |
Definition at line 46 of file qgsline3dsymbol.cpp.