mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			106 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			106 lines
		
	
	
		
			3.1 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/./3d/qgsabstract3dsymbol.h                                  *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsAbstract3DSymbol
 | 
						|
{
 | 
						|
%Docstring
 | 
						|
Abstract base class for 3D symbols that are used by VectorLayer3DRenderer objects.
 | 
						|
 | 
						|
3D symbol objects define appearance of GIS data.
 | 
						|
 | 
						|
.. warning::
 | 
						|
 | 
						|
   This is not considered stable API, and may change in future QGIS releases. It is
 | 
						|
   exposed to the Python bindings as a tech preview only.
 | 
						|
 | 
						|
.. note::
 | 
						|
 | 
						|
   Prior to QGIS 3.16 this was available through the QGIS 3D library.
 | 
						|
 | 
						|
 | 
						|
.. versionadded:: 3.0
 | 
						|
%End
 | 
						|
 | 
						|
%TypeHeaderCode
 | 
						|
#include "qgsabstract3dsymbol.h"
 | 
						|
%End
 | 
						|
  public:
 | 
						|
    virtual ~QgsAbstract3DSymbol();
 | 
						|
 | 
						|
    virtual QString type() const = 0;
 | 
						|
%Docstring
 | 
						|
Returns identifier of symbol type. Each 3D symbol implementation should return a different type.
 | 
						|
%End
 | 
						|
    virtual QgsAbstract3DSymbol *clone() const = 0 /Factory/;
 | 
						|
%Docstring
 | 
						|
Returns a new instance of the symbol with the same settings
 | 
						|
%End
 | 
						|
 | 
						|
    virtual void writeXml( QDomElement &elem, const QgsReadWriteContext &context ) const = 0;
 | 
						|
%Docstring
 | 
						|
Writes symbol configuration to the given DOM element
 | 
						|
%End
 | 
						|
    virtual void readXml( const QDomElement &elem, const QgsReadWriteContext &context ) = 0;
 | 
						|
%Docstring
 | 
						|
Reads symbol configuration from the given DOM element
 | 
						|
%End
 | 
						|
 | 
						|
    virtual QList< QgsWkbTypes::GeometryType > compatibleGeometryTypes() const;
 | 
						|
%Docstring
 | 
						|
Returns the list of the vector layer geometry types which are compatible with this symbol.
 | 
						|
 | 
						|
.. versionadded:: 3.16
 | 
						|
%End
 | 
						|
 | 
						|
    enum Property
 | 
						|
    {
 | 
						|
      PropertyHeight,
 | 
						|
      PropertyExtrusionHeight,
 | 
						|
    };
 | 
						|
 | 
						|
    static const QgsPropertiesDefinition &propertyDefinitions();
 | 
						|
%Docstring
 | 
						|
Returns the symbol layer property definitions.
 | 
						|
%End
 | 
						|
 | 
						|
    QgsPropertyCollection &dataDefinedProperties();
 | 
						|
%Docstring
 | 
						|
Returns a reference to the symbol layer's property collection, used for data defined overrides.
 | 
						|
%End
 | 
						|
 | 
						|
 | 
						|
    void setDataDefinedProperties( const QgsPropertyCollection &collection );
 | 
						|
%Docstring
 | 
						|
Sets the symbol layer's property collection, used for data defined overrides.
 | 
						|
%End
 | 
						|
 | 
						|
 | 
						|
  protected:
 | 
						|
 | 
						|
    void copyBaseSettings( QgsAbstract3DSymbol *destination ) const;
 | 
						|
%Docstring
 | 
						|
Copies base class settings from this object to a ``destination`` object.
 | 
						|
%End
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/core/./3d/qgsabstract3dsymbol.h                                  *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.pl again   *
 | 
						|
 ************************************************************************/
 |