23 return QList< Qgis::GeometryType >();
28 initPropertyDefinitions();
29 return sPropertyDefinitions;
37void QgsAbstract3DSymbol::initPropertyDefinitions()
39 if ( !sPropertyDefinitions.isEmpty() )
42 const QString origin = QStringLiteral(
"symbol3d" );
56 Q_UNUSED( objectNamePrefix )
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 void copyBaseSettings(QgsAbstract3DSymbol *destination) const
Copies base class settings from this object to a destination object.
virtual void setDefaultPropertiesFromLayer(const QgsVectorLayer *layer)
Sets default properties for the symbol based on a layer's configuration.
virtual QList< Qgis::GeometryType > compatibleGeometryTypes() const
Returns the list of the vector layer geometry types which are compatible with this symbol.
static const QgsPropertiesDefinition & propertyDefinitions()
Returns the symbol layer property definitions.
QgsPropertyCollection mDataDefinedProperties
@ ExtrusionHeight
Extrusion height (zero means no extrusion).
@ Height
Height (altitude).
Definition for a property.
@ Double
Double value (including negative values).
@ DoublePositive
Positive double value (including 0).
Represents a vector layer which manages a vector based dataset.
QMap< int, QgsPropertyDefinition > QgsPropertiesDefinition
Definition of available properties.