QGIS API Documentation 3.41.0-Master (3440c17df1d)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsMeshVerticesElevationDataset Class Reference

Class that represents a dataset with elevation value of the vertices of a existing mesh that can be edited. More...

#include <qgsmeshdataset.h>

Inheritance diagram for QgsMeshVerticesElevationDataset:
Inheritance graph
[legend]

Public Member Functions

 QgsMeshVerticesElevationDataset (QgsMesh *mesh)
 Constructor.
 
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) 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
 

Detailed Description

Class that represents a dataset with elevation value of the vertices of a existing mesh that can be edited.

Since
QGIS 3.22

Definition at line 788 of file qgsmeshdataset.h.

Constructor & Destructor Documentation

◆ QgsMeshVerticesElevationDataset()

QgsMeshVerticesElevationDataset::QgsMeshVerticesElevationDataset ( QgsMesh mesh)

Constructor.

Definition at line 1112 of file qgsmeshdataset.cpp.

Member Function Documentation

◆ areFacesActive()

QgsMeshDataBlock QgsMeshVerticesElevationDataset::areFacesActive ( int  faceIndex,
int  count 
) const
overridevirtual

Returns whether faces are active.

Implements QgsMeshDataset.

Definition at line 1139 of file qgsmeshdataset.cpp.

◆ datasetValue()

QgsMeshDatasetValue QgsMeshVerticesElevationDataset::datasetValue ( int  valueIndex) const
overridevirtual

Returns the value with index valueIndex.

Implements QgsMeshDataset.

Definition at line 1116 of file qgsmeshdataset.cpp.

◆ datasetValues()

QgsMeshDataBlock QgsMeshVerticesElevationDataset::datasetValues ( bool  isScalar,
int  valueIndex,
int  count 
) const
overridevirtual

Returns count values from valueIndex.

Implements QgsMeshDataset.

Definition at line 1124 of file qgsmeshdataset.cpp.

◆ isActive()

bool QgsMeshVerticesElevationDataset::isActive ( int  faceIndex) const
inlineoverridevirtual

Returns whether the face is active.

Implements QgsMeshDataset.

Definition at line 797 of file qgsmeshdataset.h.

◆ metadata()

QgsMeshDatasetMetadata QgsMeshVerticesElevationDataset::metadata ( ) const
overridevirtual

Returns the metadata of the dataset.

Implements QgsMeshDataset.

Definition at line 1146 of file qgsmeshdataset.cpp.

◆ valuesCount()

int QgsMeshVerticesElevationDataset::valuesCount ( ) const
overridevirtual

Returns the values count.

Implements QgsMeshDataset.

Definition at line 1163 of file qgsmeshdataset.cpp.


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