QGIS API Documentation 3.39.0-Master (67e056379ed)
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
 Constructor.
 
virtual ~QgsMeshDataset ()=default
 Destructor.
 

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 794 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 803 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: