24 return QList< QgsWkbTypes::GeometryType >();
29 initPropertyDefinitions();
30 return sPropertyDefinitions;
38void QgsAbstract3DSymbol::initPropertyDefinitions()
40 if ( !sPropertyDefinitions.isEmpty() )
43 const QString origin = QStringLiteral(
"symbol3d" );
57 Q_UNUSED( objectNamePrefix )
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 QList< QgsWkbTypes::GeometryType > compatibleGeometryTypes() const
Returns the list of the vector layer geometry types which are compatible with this symbol.
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.
static const QgsPropertiesDefinition & propertyDefinitions()
Returns the symbol layer property definitions.
@ PropertyHeight
Height (altitude)
@ PropertyExtrusionHeight
Extrusion height (zero means no extrusion)
QgsPropertyCollection mDataDefinedProperties
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 data sets.
QMap< int, QgsPropertyDefinition > QgsPropertiesDefinition
Definition of available properties.