mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Add SIP_SKIP to QgsPolygon3DSymbol::exportGeometries and its overloads
This commit is contained in:
parent
a656da3b75
commit
750f21d467
@ -115,12 +115,6 @@ Sets the ``material`` settings used for shading of the symbol.
|
||||
Ownership of ``material`` is transferred to the symbol.
|
||||
%End
|
||||
|
||||
virtual bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const;
|
||||
|
||||
%Docstring
|
||||
Exports the geometries contained withing the hierarchy of entity.
|
||||
Returns whether any objects were exported
|
||||
%End
|
||||
|
||||
};
|
||||
|
||||
|
@ -138,12 +138,6 @@ Sets transform for individual objects represented by the symbol
|
||||
Returns transform for billboards
|
||||
%End
|
||||
|
||||
virtual bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const;
|
||||
|
||||
%Docstring
|
||||
Exports the geometries contained withing the hierarchy of entity.
|
||||
Returns whether any objects were exported
|
||||
%End
|
||||
private:
|
||||
QgsPoint3DSymbol &operator=( const QgsPoint3DSymbol & );
|
||||
};
|
||||
|
@ -186,14 +186,6 @@ Returns which facade of the buildings is rendered (0 for None, 1 for Walls, 2 fo
|
||||
.. versionadded:: 3.16
|
||||
%End
|
||||
|
||||
virtual bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const;
|
||||
|
||||
%Docstring
|
||||
Exports the geometries contained withing the hierarchy of entity.
|
||||
Returns whether any objects were exported
|
||||
|
||||
.. versionadded:: 3.16
|
||||
%End
|
||||
|
||||
};
|
||||
|
||||
|
@ -10,9 +10,6 @@
|
||||
|
||||
|
||||
|
||||
namespace Qt3DCore
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
class QgsAbstract3DSymbol
|
||||
@ -81,12 +78,6 @@ Returns a reference to the symbol layer's property collection, used for data def
|
||||
Sets the symbol layer's property collection, used for data defined overrides.
|
||||
%End
|
||||
|
||||
virtual bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const;
|
||||
%Docstring
|
||||
Exports the geometries contained withing the hierarchy of entity.
|
||||
Returns whether any objects were exported
|
||||
If this function is not overloaded we don't try to export anything
|
||||
%End
|
||||
|
||||
protected:
|
||||
|
||||
|
@ -96,7 +96,7 @@ class _3D_EXPORT QgsLine3DSymbol : public QgsAbstract3DSymbol SIP_NODEFAULTCTORS
|
||||
* Exports the geometries contained withing the hierarchy of entity.
|
||||
* Returns whether any objects were exported
|
||||
*/
|
||||
bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const override;
|
||||
bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const override SIP_SKIP;
|
||||
|
||||
private:
|
||||
//! how to handle altitude of vector features
|
||||
|
@ -118,7 +118,7 @@ class _3D_EXPORT QgsPoint3DSymbol : public QgsAbstract3DSymbol SIP_NODEFAULTCTOR
|
||||
* Exports the geometries contained withing the hierarchy of entity.
|
||||
* Returns whether any objects were exported
|
||||
*/
|
||||
bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const override;
|
||||
bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const override SIP_SKIP;
|
||||
private:
|
||||
//! how to handle altitude of vector features
|
||||
Qgs3DTypes::AltitudeClamping mAltClamping = Qgs3DTypes::AltClampRelative;
|
||||
|
@ -159,7 +159,7 @@ class _3D_EXPORT QgsPolygon3DSymbol : public QgsAbstract3DSymbol SIP_NODEFAULTCT
|
||||
* Returns whether any objects were exported
|
||||
* \since QGIS 3.16
|
||||
*/
|
||||
bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const override;
|
||||
bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const override SIP_SKIP;
|
||||
|
||||
private:
|
||||
//! how to handle altitude of vector features
|
||||
|
@ -44,3 +44,11 @@ void QgsAbstract3DSymbol::initPropertyDefinitions()
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
bool QgsAbstract3DSymbol::exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const
|
||||
{
|
||||
Q_UNUSED( exporter );
|
||||
Q_UNUSED( entity );
|
||||
Q_UNUSED( objectNamePrefix );
|
||||
return false;
|
||||
}
|
||||
|
@ -26,10 +26,7 @@ class QString;
|
||||
|
||||
class QgsReadWriteContext;
|
||||
class Qgs3DSceneExporter;
|
||||
namespace Qt3DCore
|
||||
{
|
||||
class QEntity;
|
||||
}
|
||||
namespace Qt3DCore { class QEntity; } SIP_SKIP
|
||||
|
||||
|
||||
/**
|
||||
@ -84,13 +81,7 @@ class CORE_EXPORT QgsAbstract3DSymbol
|
||||
* Returns whether any objects were exported
|
||||
* If this function is not overloaded we don't try to export anything
|
||||
*/
|
||||
virtual bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const
|
||||
{
|
||||
Q_UNUSED( exporter );
|
||||
Q_UNUSED( entity );
|
||||
Q_UNUSED( objectNamePrefix );
|
||||
return false;
|
||||
}
|
||||
virtual bool exportGeometries( Qgs3DSceneExporter *exporter, Qt3DCore::QEntity *entity, const QString &objectNamePrefix ) const SIP_SKIP;
|
||||
|
||||
protected:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user