16#ifndef QGSPOINT3DSYMBOL_H
17#define QGSPOINT3DSYMBOL_H
56 QString type()
const override {
return "point"; }
61 QList<
Qgis::GeometryType > compatibleGeometryTypes() const override;
62 void setDefaultPropertiesFromLayer( const
QgsVectorLayer *layer ) override;
65 Qgis::AltitudeClamping altitudeClamping()
const {
return mAltClamping; }
108 QVariant shapeProperty(
const QString &property )
const;
121 void setTransform(
const QMatrix4x4 &transform ) { mTransform = transform; }
124 QMatrix4x4 billboardTransform()
const;
135 std::unique_ptr< QgsAbstractMaterialSettings> mMaterialSettings;
137 QVariantMap mShapeProperties;
138 QMatrix4x4 mTransform;
139 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)
Point3DShape
3D point shape types.
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.
void setTransform(const QMatrix4x4 &transform)
Sets transform for individual objects represented by the symbol.
~QgsPoint3DSymbol() override
void setShape(Qgis::Point3DShape shape)
Sets 3D shape for points.
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.
Qgis::Point3DShape shape() const
Returns 3D shape for points.
void setAltitudeClamping(Qgis::AltitudeClamping altClamping)
Sets method that determines altitude (whether to clamp to feature to terrain)
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.
#define SIP_NODEFAULTCTORS