18#ifndef QGSALGORITHMEXPORTMESH_H
19#define QGSALGORITHMEXPORTMESH_H
42 QString
group()
const override;
43 QString
groupId()
const override;
46 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
52 virtual QSet<int> supportedDataType()
const = 0;
55 virtual QgsGeometry meshElement(
int index )
const = 0;
58 QList<DataGroup> mDataPerGroup;
60 int mExportVectorOption = 2;
61 int mElementCount = 0;
64class QgsExportMeshVerticesAlgorithm :
public QgsExportMeshOnElement
67 QString shortHelpString()
const override;
68 QString shortDescription()
const override;
69 QString name()
const override;
70 QString displayName()
const override;
77 QSet<int> supportedDataType()
const override
82 QgsGeometry meshElement(
int index )
const override;
86class QgsExportMeshFacesAlgorithm :
public QgsExportMeshOnElement
89 QString shortHelpString()
const override;
90 QString shortDescription()
const override;
91 QString name()
const override;
92 QString displayName()
const override;
99 QSet<int> supportedDataType()
const override
104 QgsGeometry meshElement(
int index )
const override;
108class QgsExportMeshEdgesAlgorithm :
public QgsExportMeshOnElement
111 QString shortHelpString()
const override;
112 QString shortDescription()
const override;
113 QString name()
const override;
114 QString displayName()
const override;
121 QSet<int> supportedDataType()
const override
126 QgsGeometry meshElement(
int index )
const override;
134 QString
name()
const override;
136 QString
group()
const override;
137 QString
groupId()
const override;
143 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
148 QSet<int> supportedDataType();
152 QList<DataGroup> mDataPerGroup;
154 int mExportVectorOption = 2;
161 QString
name()
const override;
163 QString
group()
const override;
164 QString
groupId()
const override;
170 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
175 QSet<int> supportedDataType();
179 QList<DataGroup> mDataPerGroup;
187 QString
name()
const override;
189 QString
group()
const override;
190 QString
groupId()
const override;
196 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
201 QSet<int> supportedDataType()
212 QVector<double> mLevels;
214 QList<DataGroup> mDataPerGroup;
217 QString mDateTimeString;
223 QString
name()
const override;
225 QString
group()
const override;
226 QString
groupId()
const override;
232 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
237 QSet<int> supportedDataType()
248 QList<DataGroup> mDataPerGroup;
256 QString
name()
const override;
258 QString
group()
const override;
259 QString
groupId()
const override;
265 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
270 QSet<int> supportedDataType()
284 QList<int> mGroupIndexes;
285 QList<DataGroup> mDatasets;
286 QList<qint64> mRelativeTimeSteps;
287 QStringList mTimeStepString;
288 QMap<qint64, QMap<int, int>> mRelativeTimeToData;
289 QMap<int, QgsMeshDatasetGroupMetadata> mGroupsMetadata;
ProcessingSourceType
Processing data source types.
@ VectorPoint
Vector point layers.
@ VectorPolygon
Vector polygon layers.
@ VectorLine
Vector line layers.
WkbType
The WKB type describes the number of dimensions a geometry has.
@ LineStringZ
LineStringZ.
This class represents a coordinate reference system (CRS).
A geometry is the spatial representation of a feature.
QgsMesh3DDataBlock is a block of 3d stacked mesh data related N faces defined on base mesh frame.
QgsMeshDataBlock is a block of integers/doubles that can be used to retrieve: active flags (e....
Represents all mesh renderer settings.
Abstract base class for processing algorithms.
virtual QgsProcessingAlgorithm * createInstance() const =0
Creates a new instance of the algorithm class.
virtual QString group() const
Returns the name of the group this algorithm belongs to.
virtual bool prepareAlgorithm(const QVariantMap ¶meters, QgsProcessingContext &context, QgsProcessingFeedback *feedback)
Prepares the algorithm to run using the specified parameters.
virtual QString groupId() const
Returns the unique ID of the group this algorithm belongs to.
virtual QString shortHelpString() const
Returns a localised short helper string for the algorithm.
virtual QString shortDescription() const
Returns an optional translated short description of the algorithm.
virtual QString displayName() const =0
Returns the translated algorithm name, which should be used for any user-visible display of the algor...
virtual QVariantMap processAlgorithm(const QVariantMap ¶meters, QgsProcessingContext &context, QgsProcessingFeedback *feedback)=0
Runs the algorithm using the specified parameters.
virtual void initAlgorithm(const QVariantMap &configuration=QVariantMap())=0
Initializes the algorithm using the specified configuration.
virtual QString name() const =0
Returns the algorithm name, used for identifying the algorithm.
Contains information about the context in which a processing algorithm is executed.
Base class for providing feedback from a processing algorithm.
Triangular/Derived Mesh is mesh with vertices in map coordinates.
Mesh - vertices, edges and faces.
ElementType
Defines type of mesh elements.