QGIS API Documentation 3.38.0-Grenoble (exported)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsMeshDataset Class Referenceabstract

Abstract class that represents a dataset. More...

#include <qgsmeshdataset.h>

Inheritance diagram for QgsMeshDataset:
Inheritance graph
[legend]

Public Member Functions

 QgsMeshDataset ()=default
 Constructor.
 
virtual ~QgsMeshDataset ()=default
 Destructor.
 
virtual QgsMeshDataBlock areFacesActive (int faceIndex, int count) const =0
 Returns whether faces are active.
 
virtual QgsMeshDatasetValue datasetValue (int valueIndex) const =0
 Returns the value with index valueIndex.
 
virtual QgsMeshDataBlock datasetValues (bool isScalar, int valueIndex, int count) const =0
 Returns count values from valueIndex.
 
virtual bool isActive (int faceIndex) const =0
 Returns whether the face is active.
 
virtual QgsMeshDatasetMetadata metadata () const =0
 Returns the metadata of the dataset.
 
virtual int valuesCount () const =0
 Returns the values count.
 

Detailed Description

Abstract class that represents a dataset.

Since
QGIS 3.16

Definition at line 561 of file qgsmeshdataset.h.

Constructor & Destructor Documentation

◆ QgsMeshDataset()

QgsMeshDataset::QgsMeshDataset ( )
default

Constructor.

◆ ~QgsMeshDataset()

virtual QgsMeshDataset::~QgsMeshDataset ( )
virtualdefault

Destructor.

Member Function Documentation

◆ areFacesActive()

virtual QgsMeshDataBlock QgsMeshDataset::areFacesActive ( int  faceIndex,
int  count 
) const
pure virtual

Returns whether faces are active.

Implemented in QgsMeshZValueDataset, QgsMeshMemoryDataset, and QgsMeshVerticesElevationDataset.

◆ datasetValue()

virtual QgsMeshDatasetValue QgsMeshDataset::datasetValue ( int  valueIndex) const
pure virtual

Returns the value with index valueIndex.

Implemented in QgsMeshZValueDataset, QgsMeshMemoryDataset, and QgsMeshVerticesElevationDataset.

◆ datasetValues()

virtual QgsMeshDataBlock QgsMeshDataset::datasetValues ( bool  isScalar,
int  valueIndex,
int  count 
) const
pure virtual

Returns count values from valueIndex.

Implemented in QgsMeshZValueDataset, QgsMeshMemoryDataset, and QgsMeshVerticesElevationDataset.

◆ isActive()

virtual bool QgsMeshDataset::isActive ( int  faceIndex) const
pure virtual

Returns whether the face is active.

Implemented in QgsMeshZValueDataset, QgsMeshMemoryDataset, and QgsMeshVerticesElevationDataset.

◆ metadata()

virtual QgsMeshDatasetMetadata QgsMeshDataset::metadata ( ) const
pure virtual

Returns the metadata of the dataset.

Implemented in QgsMeshZValueDataset, QgsMeshMemoryDataset, and QgsMeshVerticesElevationDataset.

◆ valuesCount()

virtual int QgsMeshDataset::valuesCount ( ) const
pure virtual

Returns the values count.

Implemented in QgsMeshZValueDataset, QgsMeshMemoryDataset, and QgsMeshVerticesElevationDataset.


The documentation for this class was generated from the following file: