QGIS API Documentation 3.27.0-Master (95e00c50d2)
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. More...
 
QgsMeshDataBlock areFacesActive (int faceIndex, int count) const override
 Returns whether faces are active. More...
 
QgsMeshDatasetValue datasetValue (int valueIndex) const override
 Returns the value with index valueIndex. More...
 
QgsMeshDataBlock datasetValues (bool isScalar, int valueIndex, int count) const override
 Returns count values from valueIndex. More...
 
bool isActive (int) const override
 Returns whether the face is active. More...
 
QgsMeshDatasetMetadata metadata () const override
 Returns the metadata of the dataset. More...
 
int valuesCount () const override
 Returns the values count. More...
 
- Public Member Functions inherited from QgsMeshDataset
 QgsMeshDataset ()=default
 Constructor. More...
 
virtual ~QgsMeshDataset ()=default
 Destructor. More...
 
virtual QgsMeshDataBlock areFacesActive (int faceIndex, int count) const =0
 Returns whether faces are active. More...
 
virtual QgsMeshDatasetValue datasetValue (int valueIndex) const =0
 Returns the value with index valueIndex. More...
 
virtual QgsMeshDataBlock datasetValues (bool isScalar, int valueIndex, int count) const =0
 Returns count values from valueIndex. More...
 
virtual bool isActive (int faceIndex) const =0
 Returns whether the face is active. More...
 
virtual QgsMeshDatasetMetadata metadata () const =0
 Returns the metadata of the dataset. More...
 
virtual int valuesCount () const =0
 Returns the values count. More...
 

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 776 of file qgsmeshdataset.h.

Constructor & Destructor Documentation

◆ QgsMeshVerticesElevationDataset()

QgsMeshVerticesElevationDataset::QgsMeshVerticesElevationDataset ( QgsMesh mesh)

Constructor.

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

◆ datasetValue()

QgsMeshDatasetValue QgsMeshVerticesElevationDataset::datasetValue ( int  valueIndex) const
overridevirtual

Returns the value with index valueIndex.

Implements QgsMeshDataset.

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

◆ isActive()

bool QgsMeshVerticesElevationDataset::isActive ( int  faceIndex) const
inlineoverridevirtual

Returns whether the face is active.

Implements QgsMeshDataset.

Definition at line 785 of file qgsmeshdataset.h.

◆ metadata()

QgsMeshDatasetMetadata QgsMeshVerticesElevationDataset::metadata ( ) const
overridevirtual

Returns the metadata of the dataset.

Implements QgsMeshDataset.

Definition at line 1130 of file qgsmeshdataset.cpp.

◆ valuesCount()

int QgsMeshVerticesElevationDataset::valuesCount ( ) const
overridevirtual

Returns the values count.

Implements QgsMeshDataset.

Definition at line 1147 of file qgsmeshdataset.cpp.


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