QGIS/python/3d/auto_generated/qgsvectorlayer3drenderer.sip.in

92 lines
2.9 KiB
Plaintext
Raw Normal View History

2018-10-13 21:07:11 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/3d/qgsvectorlayer3drenderer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsVectorLayer3DRendererMetadata : Qgs3DRendererAbstractMetadata
{
2021-03-22 21:13:52 +01:00
%Docstring(signature="appended")
2021-02-18 16:10:28 +01:00
Metadata for vector layer 3D renderer to allow creation of its instances from XML.
2018-10-13 21:07:11 +02:00
.. 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.
2018-10-13 21:07:11 +02:00
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgsvectorlayer3drenderer.h"
%End
public:
QgsVectorLayer3DRendererMetadata();
virtual QgsAbstract3DRenderer *createRenderer( QDomElement &elem, const QgsReadWriteContext &context ) /Factory/;
%Docstring
Creates an instance of a 3D renderer based on a DOM element with renderer configuration
%End
};
class QgsVectorLayer3DRenderer : QgsAbstractVectorLayer3DRenderer
2018-10-13 21:07:11 +02:00
{
2021-03-22 21:13:52 +01:00
%Docstring(signature="appended")
2018-10-13 21:07:11 +02:00
3D renderer that renders all features of a vector layer with the same 3D symbol.
The appearance is completely defined by the symbol.
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgsvectorlayer3drenderer.h"
%End
public:
explicit QgsVectorLayer3DRenderer( QgsAbstract3DSymbol *s /Transfer/ = 0 );
%Docstring
Takes ownership of the symbol object
%End
void setSymbol( QgsAbstract3DSymbol *symbol /Transfer/ );
%Docstring
Sets 3D symbol associated with the renderer. Takes ownership of the symbol
%End
const QgsAbstract3DSymbol *symbol() const;
%Docstring
Returns 3D symbol associated with the renderer
%End
virtual QString type() const;
virtual QgsVectorLayer3DRenderer *clone() const /Factory/;
virtual void writeXml( QDomElement &elem, const QgsReadWriteContext &context ) const;
virtual void readXml( const QDomElement &elem, const QgsReadWriteContext &context );
private:
QgsVectorLayer3DRenderer( const QgsVectorLayer3DRenderer & );
QgsVectorLayer3DRenderer &operator=( const QgsVectorLayer3DRenderer & );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/3d/qgsvectorlayer3drenderer.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/