QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
Class to store memory dataset. More...
#include <qgsmeshdataset.h>
Public Member Functions | |
QgsMeshMemoryDataset ()=default | |
QgsMeshDataBlock | areFacesActive (int faceIndex, int count) const override |
Returns whether faces are active. | |
void | calculateMinMax () |
Calculates the minimum and the maximum of this group. | |
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 |
Public Attributes | |
QVector< int > | active |
double | maximum = std::numeric_limits<double>::quiet_NaN() |
double | minimum = std::numeric_limits<double>::quiet_NaN() |
double | time = -1 |
bool | valid = false |
QVector< QgsMeshDatasetValue > | values |
Class to store memory dataset.
The QgsMeshDatasetValue objects and whether the faces are active are stored in QVector containers that are exposed for efficiency
Definition at line 716 of file qgsmeshdataset.h.
|
default |
|
overridevirtual |
Returns whether faces are active.
Implements QgsMeshDataset.
Definition at line 854 of file qgsmeshdataset.cpp.
void QgsMeshMemoryDataset::calculateMinMax | ( | ) |
Calculates the minimum and the maximum of this group.
Definition at line 872 of file qgsmeshdataset.cpp.
|
overridevirtual |
Returns the value with index valueIndex.
Implements QgsMeshDataset.
Definition at line 823 of file qgsmeshdataset.cpp.
|
overridevirtual |
Returns count values from valueIndex.
Implements QgsMeshDataset.
Definition at line 831 of file qgsmeshdataset.cpp.
|
overridevirtual |
Returns whether the face is active.
Implements QgsMeshDataset.
Definition at line 907 of file qgsmeshdataset.cpp.
|
overridevirtual |
Returns the metadata of the dataset.
Implements QgsMeshDataset.
Definition at line 867 of file qgsmeshdataset.cpp.
|
overridevirtual |
Returns the values count.
Implements QgsMeshDataset.
Definition at line 915 of file qgsmeshdataset.cpp.
QVector<int> QgsMeshMemoryDataset::active |
Definition at line 733 of file qgsmeshdataset.h.
double QgsMeshMemoryDataset::maximum = std::numeric_limits<double>::quiet_NaN() |
Definition at line 737 of file qgsmeshdataset.h.
double QgsMeshMemoryDataset::minimum = std::numeric_limits<double>::quiet_NaN() |
Definition at line 736 of file qgsmeshdataset.h.
double QgsMeshMemoryDataset::time = -1 |
Definition at line 734 of file qgsmeshdataset.h.
bool QgsMeshMemoryDataset::valid = false |
Definition at line 735 of file qgsmeshdataset.h.
QVector<QgsMeshDatasetValue> QgsMeshMemoryDataset::values |
Definition at line 732 of file qgsmeshdataset.h.