18 #ifndef QGSMESHDATAPROVIDER_H 19 #define QGSMESHDATAPROVIDER_H 21 #include "qgis_core.h" 65 void set(
double scalar );
68 void setX(
double x );
71 void setY(
double y ) ;
74 double scalar()
const;
85 double mX = std::numeric_limits<double>::quiet_NaN();
86 double mY = std::numeric_limits<double>::quiet_NaN();
118 const QMap<QString, QString> &extraOptions );
124 QMap<QString, QString> extraOptions()
const;
129 bool isVector()
const;
134 bool isScalar()
const;
139 bool isOnVertices()
const;
144 bool isValid()
const;
147 bool mIsScalar =
false;
148 bool mIsValid =
false;
149 bool mIsOnVertices =
false;
150 QMap<QString, QString> mExtraOptions;
179 virtual int vertexCount()
const = 0;
185 virtual int faceCount()
const = 0;
219 virtual bool addDataset(
const QString &uri ) = 0;
224 virtual int datasetCount()
const = 0;
265 #endif // QGSMESHDATAPROVIDER_H A rectangle specified with double values.
bool operator==(const QgsFeatureIterator &fi1, const QgsFeatureIterator &fi2)
Abstract base class for spatial data provider implementations.
Point geometry type, with support for z-dimension and m-values.
Base class for providing data for QgsMeshLayer.
Setting options for creating vector data providers.
Interface for mesh datasets.
QVector< int > QgsMeshFace
List of vertex indexes.
virtual QgsRectangle extent() const =0
Returns the extent of the layer.
QgsMeshDatasetValue represents single mesh dataset value.
Interface for mesh data sources.
QgsPoint QgsMeshVertex
xyz coords of vertex