16#ifndef QGSPOINT3DSYMBOL_H
17#define QGSPOINT3DSYMBOL_H
54 QString
type()
const override {
return "point"; }
59 QList<
Qgis::GeometryType> compatibleGeometryTypes() const override;
60 void setDefaultPropertiesFromLayer( const
QgsVectorLayer *layer ) override;
108 QVariant shapeProperty(
const QString &property )
const;
167 float billboardHeight()
const;
179 std::unique_ptr<QgsAbstractMaterialSettings> mMaterialSettings;
181 QVariantMap mShapeProperties;
182 QMatrix4x4 mTransform;
183 std::unique_ptr<QgsMarkerSymbol> mBillboardSymbol;
Provides global constants and enumerations for use throughout the application.
AltitudeClamping
Altitude clamping.
@ Absolute
Elevation is taken directly from feature and is independent of terrain height (final elevation = feat...
Point3DShape
3D point shape types.
Entity that handles the exporting of 3D scenes.
Abstract base class for 3D symbols that are used by VectorLayer3DRenderer objects.
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.
Abstract base class for material settings.
A marker symbol type, for rendering Point and MultiPoint geometries.
3D symbol that draws point geometries as 3D objects using one of the predefined shapes.
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.
QString type() const override
Returns identifier of symbol type. Each 3D symbol implementation should return a different type.
static QgsAbstract3DSymbol * create()
Creates a new QgsPoint3DSymbol.
void setShapeProperties(const QVariantMap &properties)
Sets a key-value dictionary of point shape properties.
QgsPoint3DSymbol()
Constructor for QgsPoint3DSymbol with default QgsMarkerSymbol as the billboardSymbol.
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.
Qgis::AltitudeClamping altitudeClamping() const
Returns method that determines altitude (whether to clamp to feature to terrain).
A container for the context for various read/write operations on objects.
Represents a vector layer which manages a vector based dataset.
#define SIP_NODEFAULTCTORS