18#ifndef QGSALGORITHMEXPORTMESH_H
19#define QGSALGORITHMEXPORTMESH_H
43 QString
group()
const override;
44 QString
groupId()
const override;
47 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
54 virtual QSet<int> supportedDataType()
const = 0;
57 virtual QgsGeometry meshElement(
int index )
const = 0;
60 QList<DataGroup> mDataPerGroup;
62 int mExportVectorOption = 2;
63 int mElementCount = 0;
66class QgsExportMeshVerticesAlgorithm :
public QgsExportMeshOnElement
69 QString shortHelpString()
const override;
70 QString shortDescription()
const override;
71 QString name()
const override;
72 QString displayName()
const override;
79 QSet<int> supportedDataType()
const override
84 QgsGeometry meshElement(
int index )
const override;
88class QgsExportMeshFacesAlgorithm :
public QgsExportMeshOnElement
91 QString shortHelpString()
const override;
92 QString shortDescription()
const override;
93 QString name()
const override;
94 QString displayName()
const override;
101 QSet<int> supportedDataType()
const override
106 QgsGeometry meshElement(
int index )
const override;
110class QgsExportMeshEdgesAlgorithm :
public QgsExportMeshOnElement
113 QString shortHelpString()
const override;
114 QString shortDescription()
const override;
115 QString name()
const override;
116 QString displayName()
const override;
123 QSet<int> supportedDataType()
const override
128 QgsGeometry meshElement(
int index )
const override;
137 QString
name()
const override;
139 QString
group()
const override;
140 QString
groupId()
const override;
146 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
152 QSet<int> supportedDataType();
156 QList<DataGroup> mDataPerGroup;
158 int mExportVectorOption = 2;
166 QString
name()
const override;
168 QString
group()
const override;
169 QString
groupId()
const override;
175 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
181 QSet<int> supportedDataType();
185 QList<DataGroup> mDataPerGroup;
194 QString
name()
const override;
196 QString
group()
const override;
197 QString
groupId()
const override;
203 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
209 QSet<int> supportedDataType()
220 QVector<double> mLevels;
222 QList<DataGroup> mDataPerGroup;
225 QString mDateTimeString;
233 QString
name()
const override;
235 QString
group()
const override;
236 QString
groupId()
const override;
242 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
248 QSet<int> supportedDataType()
259 QList<DataGroup> mDataPerGroup;
269 QString
name()
const override;
271 QString
group()
const override;
272 QString
groupId()
const override;
278 void initAlgorithm(
const QVariantMap &configuration = QVariantMap() )
override;
284 QSet<int> supportedDataType()
298 QList<int> mGroupIndexes;
299 QList<DataGroup> mDatasets;
300 QList<qint64> mRelativeTimeSteps;
301 QStringList mTimeStepString;
302 QMap<qint64, QMap<int, int>> mRelativeTimeToData;
303 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.