QGIS API Documentation 3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
QgsMeshVerticesElevationDataset Class Reference

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

#include <qgsmeshdataset.h>

Inheritance diagram for QgsMeshVerticesElevationDataset:

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

Represents a dataset with elevation value of the vertices of an existing mesh that can be edited.

Since
QGIS 3.22

Definition at line 794 of file qgsmeshdataset.h.

Constructor & Destructor Documentation

◆ QgsMeshVerticesElevationDataset()

QgsMeshVerticesElevationDataset::QgsMeshVerticesElevationDataset ( QgsMesh * mesh)

Constructor.

Definition at line 1171 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 1198 of file qgsmeshdataset.cpp.

◆ datasetValue()

QgsMeshDatasetValue QgsMeshVerticesElevationDataset::datasetValue ( int valueIndex) const
overridevirtual

Returns the value with index valueIndex.

Implements QgsMeshDataset.

Definition at line 1175 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 1183 of file qgsmeshdataset.cpp.

◆ isActive()

bool QgsMeshVerticesElevationDataset::isActive ( int faceIndex) const
inlineoverridevirtual

Returns whether the face is active.

Implements QgsMeshDataset.

Definition at line 803 of file qgsmeshdataset.h.

◆ metadata()

QgsMeshDatasetMetadata QgsMeshVerticesElevationDataset::metadata ( ) const
overridevirtual

Returns the metadata of the dataset.

Implements QgsMeshDataset.

Definition at line 1205 of file qgsmeshdataset.cpp.

◆ valuesCount()

int QgsMeshVerticesElevationDataset::valuesCount ( ) const
overridevirtual

Returns the values count.

Implements QgsMeshDataset.

Definition at line 1222 of file qgsmeshdataset.cpp.


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