| 
    QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
    
   | 
 
Abstract class to interpolate 3d stacked mesh data to 2d data. More...
#include <qgsmesh3daveraging.h>

Public Types | |
| enum | Method { MultiLevelsAveragingMethod = 0 , SigmaAveragingMethod , RelativeHeightAveragingMethod , ElevationAveragingMethod } | 
| Type of averaging method.  More... | |
Public Member Functions | |
| QgsMesh3dAveragingMethod (Method method) | |
| Ctor.  More... | |
| virtual | ~QgsMesh3dAveragingMethod ()=default | 
| Dtor.  More... | |
| QgsMeshDataBlock | calculate (const QgsMesh3dDataBlock &block3d, QgsFeedback *feedback=nullptr) const | 
| Calculated 2d block values from 3d stacked mesh values.  More... | |
| virtual QgsMesh3dAveragingMethod * | clone () const =0 | 
| Clone the instance.  More... | |
| virtual bool | equals (const QgsMesh3dAveragingMethod *other) const =0 | 
| Returns whether method equals to other.  More... | |
| Method | method () const | 
| Returns type of averaging method.  More... | |
| virtual void | readXml (const QDomElement &elem)=0 | 
| Reads configuration from the given DOM element.  More... | |
| virtual QDomElement | writeXml (QDomDocument &doc) const =0 | 
| Writes configuration to a new DOM element.  More... | |
Static Public Member Functions | |
| static QgsMesh3dAveragingMethod * | createFromXml (const QDomElement &elem) | 
| Creates the instance from XML by calling readXml of derived classes.  More... | |
| static bool | equals (const QgsMesh3dAveragingMethod *a, const QgsMesh3dAveragingMethod *b) | 
| Returns whether two methods equal.  More... | |
Abstract class to interpolate 3d stacked mesh data to 2d data.
Definition at line 39 of file qgsmesh3daveraging.h.
Type of averaging method.
Definition at line 74 of file qgsmesh3daveraging.h.
| QgsMesh3dAveragingMethod::QgsMesh3dAveragingMethod | ( | Method | method | ) | 
Ctor.
Definition at line 28 of file qgsmesh3daveraging.cpp.
      
  | 
  virtualdefault | 
Dtor.
| QgsMeshDataBlock QgsMesh3dAveragingMethod::calculate | ( | const QgsMesh3dDataBlock & | block3d, | 
| QgsFeedback * | feedback = nullptr  | 
        ||
| ) | const | 
Calculated 2d block values from 3d stacked mesh values.
Definition at line 58 of file qgsmesh3daveraging.cpp.
      
  | 
  pure virtual | 
Clone the instance.
Implemented in QgsMeshMultiLevelsAveragingMethod, QgsMeshSigmaAveragingMethod, QgsMeshRelativeHeightAveragingMethod, and QgsMeshElevationAveragingMethod.
      
  | 
  static | 
Creates the instance from XML by calling readXml of derived classes.
Definition at line 33 of file qgsmesh3daveraging.cpp.
      
  | 
  static | 
Returns whether two methods equal.
Definition at line 230 of file qgsmesh3daveraging.cpp.
      
  | 
  pure virtual | 
Returns whether method equals to other.
Implemented in QgsMeshMultiLevelsAveragingMethod, QgsMeshSigmaAveragingMethod, QgsMeshRelativeHeightAveragingMethod, and QgsMeshElevationAveragingMethod.
| QgsMesh3dAveragingMethod::Method QgsMesh3dAveragingMethod::method | ( | ) | const | 
Returns type of averaging method.
Definition at line 152 of file qgsmesh3daveraging.cpp.
      
  | 
  pure virtual | 
Reads configuration from the given DOM element.
Implemented in QgsMeshMultiLevelsAveragingMethod, QgsMeshSigmaAveragingMethod, QgsMeshRelativeHeightAveragingMethod, and QgsMeshElevationAveragingMethod.
      
  | 
  pure virtual | 
Writes configuration to a new DOM element.
Implemented in QgsMeshMultiLevelsAveragingMethod, QgsMeshSigmaAveragingMethod, QgsMeshRelativeHeightAveragingMethod, and QgsMeshElevationAveragingMethod.