16#ifndef QGSPOINT3DSYMBOL_H
17#define QGSPOINT3DSYMBOL_H
56 QString type()
const override {
return "point"; }
61 QList<
QgsWkbTypes::GeometryType > compatibleGeometryTypes() const override;
62 void setDefaultPropertiesFromLayer( const
QgsVectorLayer *layer ) override;
65 Qgis::AltitudeClamping altitudeClamping()
const {
return mAltClamping; }
94 static Shape shapeFromString(
const QString &shape );
96 static QString shapeToString( Shape shape );
116 void setTransform(
const QMatrix4x4 &transform ) { mTransform = transform; }
119 QMatrix4x4 billboardTransform()
const;
130 std::unique_ptr< QgsAbstractMaterialSettings> mMaterial;
131 Shape mShape = Cylinder;
132 QVariantMap mShapeProperties;
133 QMatrix4x4 mTransform;
134 std::unique_ptr<QgsMarkerSymbol> mBillboardSymbol;
The Qgis class provides global constants for use throughout the application.
AltitudeClamping
Altitude clamping.
@ Relative
Elevation is relative to terrain height (final elevation = terrain elevation + feature elevation)
Entity that handles the exporting of 3D scene.
virtual bool exportGeometries(Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix) const
Exports the geometries contained within the hierarchy of entity.
virtual QgsAbstract3DSymbol * clone() const =0
Returns a new instance of the symbol with the same settings.
A marker symbol type, for rendering Point and MultiPoint geometries.
Shape
3D shape types supported by the symbol
@ ExtrudedText
Supported in Qt 5.9+.
void setTransform(const QMatrix4x4 &transform)
Sets transform for individual objects represented by the symbol.
~QgsPoint3DSymbol() override
void setShapeProperties(const QVariantMap &properties)
Sets a key-value dictionary of point shape properties.
QMatrix4x4 transform() const
Returns transform for individual objects represented by the symbol.
void setAltitudeClamping(Qgis::AltitudeClamping altClamping)
Sets method that determines altitude (whether to clamp to feature to terrain)
void setShape(Shape shape)
Sets 3D shape for points.
Shape shape() const
Returns 3D shape for points.
QVariantMap shapeProperties() const
Returns a key-value dictionary of point shape properties.
The class is used as a container of context for various read/write operations on other objects.
Represents a vector layer which manages a vector based data sets.
Handles storage of information regarding WKB types and their properties.
#define SIP_NODEFAULTCTORS