QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
16 #ifndef QGSLINE3DSYMBOL_H
17 #define QGSLINE3DSYMBOL_H
41 QString
type()
const override {
return "line"; }
58 float width()
const {
return mWidth; }
60 void setWidth(
float width ) { mWidth = width; }
63 float height()
const {
return mHeight; }
65 void setHeight(
float height ) { mHeight = height; }
68 float extrusionHeight()
const {
return mExtrusionHeight; }
70 void setExtrusionHeight(
float extrusionHeight ) { mExtrusionHeight = extrusionHeight; }
73 bool renderAsSimpleLines()
const {
return mRenderAsSimpleLines; }
75 void setRenderAsSimpleLines(
bool enabled ) { mRenderAsSimpleLines = enabled; }
90 float mExtrusionHeight = 0.0f;
91 bool mRenderAsSimpleLines =
false;
96 #endif // QGSLINE3DSYMBOL_H
AltitudeBinding
how to handle clamping of vertices of individual features
virtual void readXml(const QDomElement &elem, const QgsReadWriteContext &context)=0
Reads symbol configuration from the given DOM element.
@ AltClampRelative
Z_final = z_terrain + z_geometry.
@ AltBindCentroid
Clamp just centroid of feature.
virtual QString type() const =0
Returns identifier of symbol type. Each 3D symbol implementation should return a different type.
virtual QgsAbstract3DSymbol * clone() const =0
Returns a new instance of the symbol with the same settings.
AltitudeClamping
how to handle altitude of vector features
virtual void writeXml(QDomElement &elem, const QgsReadWriteContext &context) const =0
Writes symbol configuration to the given DOM element.