16 #ifndef QGSPOINT3DSYMBOL_H
17 #define QGSPOINT3DSYMBOL_H
56 QString type()
const override {
return "point"; }
61 QList<
QgsWkbTypes::GeometryType > compatibleGeometryTypes() const override;
64 Qgs3DTypes::AltitudeClamping altitudeClamping()
const {
return mAltClamping; }
93 static Shape shapeFromString(
const QString &shape );
95 static QString shapeToString( Shape shape );
115 void setTransform(
const QMatrix4x4 &transform ) { mTransform = transform; }
118 QMatrix4x4 billboardTransform()
const;
129 std::unique_ptr< QgsAbstractMaterialSettings> mMaterial;
130 Shape mShape = Cylinder;
131 QVariantMap mShapeProperties;
132 QMatrix4x4 mTransform;
133 std::unique_ptr<QgsMarkerSymbol> mBillboardSymbol;
Entity that handles the exporting of 3D scene.
AltitudeClamping
how to handle altitude of vector features
@ AltClampRelative
Z_final = z_terrain + z_geometry.
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 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.
void setAltitudeClamping(Qgs3DTypes::AltitudeClamping altClamping)
Sets method that determines altitude (whether to clamp to feature to terrain)
The class is used as a container of context for various read/write operations on other objects.
Handles storage of information regarding WKB types and their properties.
#define SIP_NODEFAULTCTORS