QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Convenient class that can be used to obtain a dataset that represents the Z values of mesh vertices. More...
#include <qgsmeshtriangulation.h>
Public Member Functions | |
QgsMeshZValueDataset (const QgsMesh &mesh) | |
Constructor with the mesh. More... | |
QgsMeshDataBlock | areFacesActive (int faceIndex, int count) const override |
Returns whether faces are active. More... | |
QgsMeshDatasetValue | datasetValue (int valueIndex) const override |
Returns the value with index valueIndex. More... | |
QgsMeshDataBlock | datasetValues (bool isScalar, int valueIndex, int count) const override |
Returns count values from valueIndex. More... | |
bool | isActive (int faceIndex) const override |
Returns whether the face is active. More... | |
QgsMeshDatasetMetadata | metadata () const override |
Returns the metadata of the dataset. More... | |
int | valuesCount () const override |
Returns the values count. More... | |
Public Member Functions inherited from QgsMeshDataset | |
QgsMeshDataset ()=default | |
Constructor. More... | |
virtual | ~QgsMeshDataset ()=default |
Destructor. More... | |
Convenient class that can be used to obtain a dataset that represents the Z values of mesh vertices.
Definition at line 103 of file qgsmeshtriangulation.h.
QgsMeshZValueDataset::QgsMeshZValueDataset | ( | const QgsMesh & | mesh | ) |
Constructor with the mesh.
Definition at line 278 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns whether faces are active.
Implements QgsMeshDataset.
Definition at line 308 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns the value with index valueIndex.
Implements QgsMeshDataset.
Definition at line 289 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns count values from valueIndex.
Implements QgsMeshDataset.
Definition at line 297 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns whether the face is active.
Implements QgsMeshDataset.
Definition at line 317 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns the metadata of the dataset.
Implements QgsMeshDataset.
Definition at line 322 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns the values count.
Implements QgsMeshDataset.
Definition at line 327 of file qgsmeshtriangulation.cpp.