|
QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
3 3D symbol that draws point geometries as 3D objects using one of the predefined shapes. More...
#include <qgspoint3dsymbol.h>

Public Types | |
| enum | Shape { Cylinder, Sphere, Cone, Cube, Torus, Plane, ExtrudedText, Model } |
| 3D shape types supported by the symbol More... | |
Public Types inherited from QgsAbstract3DSymbol | |
| enum | Property { PropertyHeight = 0, PropertyExtrusionHeight } |
| Data definable properties. More... | |
Public Member Functions | |
| QgsPoint3DSymbol ()=default | |
| Constructor for QgsPoint3DSymbol. More... | |
| Qgs3DTypes::AltitudeClamping | altitudeClamping () const |
| Returns method that determines altitude (whether to clamp to feature to terrain) More... | |
| QgsAbstract3DSymbol * | clone () const override |
| Returns a new instance of the symbol with the same settings. More... | |
| QgsPhongMaterialSettings | material () const |
| Returns material used for shading of the symbol. More... | |
| void | readXml (const QDomElement &elem, const QgsReadWriteContext &context) override |
| Reads symbol configuration from the given DOM element. More... | |
| void | setAltitudeClamping (Qgs3DTypes::AltitudeClamping altClamping) |
| Sets method that determines altitude (whether to clamp to feature to terrain) More... | |
| void | setMaterial (const QgsPhongMaterialSettings &material) |
| Sets material used for shading of the symbol. More... | |
| void | setShape (Shape shape) |
| Sets 3D shape for points. More... | |
| void | setShapeProperties (const QVariantMap &properties) |
| Sets a key-value dictionary of point shape properties. More... | |
| void | setTransform (const QMatrix4x4 &transform) |
| Sets transform for individual objects represented by the symbol. More... | |
| Shape | shape () const |
| Returns 3D shape for points. More... | |
| QVariantMap | shapeProperties () const |
| Returns a key-value dictionary of point shape properties. More... | |
| QMatrix4x4 | transform () const |
| Returns transform for individual objects represented by the symbol. More... | |
| QString | type () const override |
| Returns identifier of symbol type. Each 3D symbol implementation should return a different type. More... | |
| void | writeXml (QDomElement &elem, const QgsReadWriteContext &context) const override |
| Writes symbol configuration to the given DOM element. More... | |
Public Member Functions inherited from QgsAbstract3DSymbol | |
| virtual | ~QgsAbstract3DSymbol ()=default |
| QgsPropertyCollection & | dataDefinedProperties () |
| Returns a reference to the symbol layer's property collection, used for data defined overrides. More... | |
| const QgsPropertyCollection & | dataDefinedProperties () const |
| Returns a reference to the symbol layer's property collection, used for data defined overrides. More... | |
| void | setDataDefinedProperties (const QgsPropertyCollection &collection) |
| Sets the symbol layer's property collection, used for data defined overrides. More... | |
Static Public Member Functions | |
| static Shape | shapeFromString (const QString &shape) |
| Returns shape enum value from a string. More... | |
| static QString | shapeToString (Shape shape) |
| Returns string from a shape enum value. More... | |
Static Public Member Functions inherited from QgsAbstract3DSymbol | |
| static const QgsPropertiesDefinition & | propertyDefinitions () |
| Returns the symbol layer property definitions. More... | |
Additional Inherited Members | |
Protected Attributes inherited from QgsAbstract3DSymbol | |
| QgsPropertyCollection | mDataDefinedProperties |
3 3D symbol that draws point geometries as 3D objects using one of the predefined shapes.
Definition at line 36 of file qgspoint3dsymbol.h.
3D shape types supported by the symbol
| Enumerator | |
|---|---|
| Cylinder | |
| Sphere | |
| Cone | |
| Cube | |
| Torus | |
| Plane | |
| ExtrudedText |
Supported in Qt 5.9+. |
| Model | |
Definition at line 59 of file qgspoint3dsymbol.h.
|
default |
Constructor for QgsPoint3DSymbol.
|
inline |
Returns method that determines altitude (whether to clamp to feature to terrain)
Definition at line 49 of file qgspoint3dsymbol.h.
|
overridevirtual |
Returns a new instance of the symbol with the same settings.
Implements QgsAbstract3DSymbol.
Definition at line 22 of file qgspoint3dsymbol.cpp.
|
inline |
Returns material used for shading of the symbol.
Definition at line 54 of file qgspoint3dsymbol.h.
|
overridevirtual |
Reads symbol configuration from the given DOM element.
Implements QgsAbstract3DSymbol.
Definition at line 53 of file qgspoint3dsymbol.cpp.
|
inline |
Sets method that determines altitude (whether to clamp to feature to terrain)
Definition at line 51 of file qgspoint3dsymbol.h.
|
inline |
Sets material used for shading of the symbol.
Definition at line 56 of file qgspoint3dsymbol.h.
|
inline |
Sets 3D shape for points.
Definition at line 79 of file qgspoint3dsymbol.h.
|
inline |
Sets a key-value dictionary of point shape properties.
Definition at line 84 of file qgspoint3dsymbol.h.
|
inline |
Sets transform for individual objects represented by the symbol.
Definition at line 89 of file qgspoint3dsymbol.h.
|
inline |
Returns 3D shape for points.
Definition at line 77 of file qgspoint3dsymbol.h.
|
static |
Returns shape enum value from a string.
Definition at line 71 of file qgspoint3dsymbol.cpp.
|
inline |
Returns a key-value dictionary of point shape properties.
Definition at line 82 of file qgspoint3dsymbol.h.
|
static |
Returns string from a shape enum value.
Definition at line 91 of file qgspoint3dsymbol.cpp.
|
inline |
Returns transform for individual objects represented by the symbol.
Definition at line 87 of file qgspoint3dsymbol.h.
|
inlineoverridevirtual |
Returns identifier of symbol type. Each 3D symbol implementation should return a different type.
Implements QgsAbstract3DSymbol.
Definition at line 42 of file qgspoint3dsymbol.h.
|
overridevirtual |
Writes symbol configuration to the given DOM element.
Implements QgsAbstract3DSymbol.
Definition at line 27 of file qgspoint3dsymbol.cpp.
1.8.11