16#ifndef QGSABSTRACT3DSYMBOL_H
17#define QGSABSTRACT3DSYMBOL_H
51 virtual QString
type()
const = 0;
65 virtual QList< Qgis::GeometryType > compatibleGeometryTypes()
const;
93 virtual bool exportGeometries(
Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity,
const QString &objectNamePrefix )
const SIP_SKIP;
100 virtual void setDefaultPropertiesFromLayer(
const QgsVectorLayer *layer );
111 static void initPropertyDefinitions();
Entity that handles the exporting of 3D scene.
virtual ~QgsAbstract3DSymbol()=default
virtual void readXml(const QDomElement &elem, const QgsReadWriteContext &context)=0
Reads symbol configuration from the given DOM element.
virtual QString type() const =0
Returns identifier of symbol type. Each 3D symbol implementation should return a different type.
void setDataDefinedProperties(const QgsPropertyCollection &collection)
Sets the symbol layer's property collection, used for data defined overrides.
const QgsPropertyCollection & dataDefinedProperties() const
Returns a reference to the symbol layer's property collection, used for data defined overrides.
virtual QgsAbstract3DSymbol * clone() const =0
Returns a new instance of the symbol with the same settings.
virtual void writeXml(QDomElement &elem, const QgsReadWriteContext &context) const =0
Writes symbol configuration to the given DOM element.
QgsPropertyCollection mDataDefinedProperties
Property
Data definable properties.
QgsPropertyCollection & dataDefinedProperties()
Returns a reference to the symbol layer's property collection, used for data defined overrides.
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
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_MONKEYPATCH_SCOPEENUM_UNNEST(OUTSIDE_CLASS, FORMERNAME)
#define SIP_MONKEYPATCH_COMPAT_NAME(FORMERNAME)
QMap< int, QgsPropertyDefinition > QgsPropertiesDefinition
Definition of available properties.