QgsPoint3DSymbol class
3 3D symbol that draws point geometries as 3D objects using one of the predefined shapes.
Contents
Base classes
- class QgsAbstract3DSymbol
- 3 Abstract base class for 3D symbols that are used by VectorLayer3DRenderer objects.
Public types
Public static functions
- static auto shapeFromString(const QString& shape) -> Shape
- Returns shape enum value from a string.
- static auto shapeToString(Shape shape) -> QString
- Returns string from a shape enum value.
Constructors, destructors, conversion operators
- QgsPoint3DSymbol() defaulted
- Constructor for QgsPoint3DSymbol.
Public functions
-
auto altitudeClamping() const -> Qgs3DTypes::
AltitudeClamping - Returns method that determines altitude (whether to clamp to feature to terrain)
- auto clone() const -> QgsAbstract3DSymbol* override
- Returns a new instance of the symbol with the same settings.
- auto material() const -> QgsPhongMaterialSettings
- Returns material used for shading of the symbol.
- void readXml(const QDomElement& elem, const QgsReadWriteContext& context) override
- Reads symbol configuration from the given DOM element.
-
void setAltitudeClamping(Qgs3DTypes::
AltitudeClamping altClamping) - Sets method that determines altitude (whether to clamp to feature to terrain)
- void setMaterial(const QgsPhongMaterialSettings& material)
- Sets material used for shading of the symbol.
- void setShape(Shape shape)
- Sets 3D shape for points.
- void setShapeProperties(const QVariantMap& properties)
- Sets a key-value dictionary of point shape properties.
- void setTransform(const QMatrix4x4& transform)
- Sets transform for individual objects represented by the symbol.
- auto shape() const -> Shape
- Returns 3D shape for points.
- auto shapeProperties() const -> QVariantMap
- Returns a key-value dictionary of point shape properties.
- auto transform() const -> QMatrix4x4
- Returns transform for individual objects represented by the symbol.
- auto type() const -> QString override
- Returns identifier of symbol type. Each 3D symbol implementation should return a different type.
- void writeXml(QDomElement& elem, const QgsReadWriteContext& context) const override
- Writes symbol configuration to the given DOM element.