QGIS API Documentation  3.26.3-Buenos Aires (65e4edfdad)
Signals | Public Member Functions | List of all members
QgsMeshRenderer3dAveragingWidget Class Reference

A widget for setup of the averaging method from 3d to 2d datasets on 3d stacked mesh. The mesh layer must be connected. More...

#include <qgsmeshrenderer3daveragingwidget.h>

Inheritance diagram for QgsMeshRenderer3dAveragingWidget:
Inheritance graph
[legend]

Signals

void widgetChanged ()
 Mesh rendering settings changed. More...
 

Public Member Functions

 QgsMeshRenderer3dAveragingWidget (QWidget *parent=nullptr)
 A widget to hold the renderer Vector settings for a mesh layer. More...
 
std::unique_ptr< QgsMesh3dAveragingMethodaveragingMethod () const
 Returns selected averaging method. More...
 
void setLayer (QgsMeshLayer *layer)
 Associates mesh layer with the widget. More...
 
void syncToLayer ()
 Synchronizes widgets state with associated mesh layer. More...
 

Detailed Description

A widget for setup of the averaging method from 3d to 2d datasets on 3d stacked mesh. The mesh layer must be connected.

Definition at line 39 of file qgsmeshrenderer3daveragingwidget.h.

Constructor & Destructor Documentation

◆ QgsMeshRenderer3dAveragingWidget()

QgsMeshRenderer3dAveragingWidget::QgsMeshRenderer3dAveragingWidget ( QWidget *  parent = nullptr)

A widget to hold the renderer Vector settings for a mesh layer.

Parameters
parentParent object

Definition at line 55 of file qgsmeshrenderer3daveragingwidget.cpp.

Member Function Documentation

◆ averagingMethod()

std::unique_ptr< QgsMesh3dAveragingMethod > QgsMeshRenderer3dAveragingWidget::averagingMethod ( ) const

Returns selected averaging method.

Caller takes ownership

Definition at line 138 of file qgsmeshrenderer3daveragingwidget.cpp.

◆ setLayer()

void QgsMeshRenderer3dAveragingWidget::setLayer ( QgsMeshLayer layer)

Associates mesh layer with the widget.

Definition at line 133 of file qgsmeshrenderer3daveragingwidget.cpp.

◆ syncToLayer()

void QgsMeshRenderer3dAveragingWidget::syncToLayer ( )

Synchronizes widgets state with associated mesh layer.

Definition at line 202 of file qgsmeshrenderer3daveragingwidget.cpp.

◆ widgetChanged

void QgsMeshRenderer3dAveragingWidget::widgetChanged ( )
signal

Mesh rendering settings changed.


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