QGIS API Documentation 3.41.0-Master (45a0abf3bec)
|
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. | |
QgsMeshDataBlock | areFacesActive (int faceIndex, int count) const override |
Returns whether faces are active. | |
QgsMeshDatasetValue | datasetValue (int valueIndex) const override |
Returns the value with index valueIndex. | |
QgsMeshDataBlock | datasetValues (bool isScalar, int valueIndex, int count) const override |
Returns count values from valueIndex. | |
bool | isActive (int faceIndex) const override |
Returns whether the face is active. | |
QgsMeshDatasetMetadata | metadata () const override |
Returns the metadata of the dataset. | |
int | valuesCount () const override |
Returns the values count. | |
Public Member Functions inherited from QgsMeshDataset | |
QgsMeshDataset ()=default | |
virtual | ~QgsMeshDataset ()=default |
Convenient class that can be used to obtain a dataset that represents the Z values of mesh vertices.
Definition at line 108 of file qgsmeshtriangulation.h.
QgsMeshZValueDataset::QgsMeshZValueDataset | ( | const QgsMesh & | mesh | ) |
Constructor with the mesh.
Definition at line 285 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns whether faces are active.
Implements QgsMeshDataset.
Definition at line 315 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns the value with index valueIndex.
Implements QgsMeshDataset.
Definition at line 296 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns count values from valueIndex.
Implements QgsMeshDataset.
Definition at line 304 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns whether the face is active.
Implements QgsMeshDataset.
Definition at line 324 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns the metadata of the dataset.
Implements QgsMeshDataset.
Definition at line 329 of file qgsmeshtriangulation.cpp.
|
overridevirtual |
Returns the values count.
Implements QgsMeshDataset.
Definition at line 334 of file qgsmeshtriangulation.cpp.