QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
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. 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 37 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 31 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 96 of file qgsmeshrenderer3daveragingwidget.cpp.

◆ setLayer()

void QgsMeshRenderer3dAveragingWidget::setLayer ( QgsMeshLayer layer)

Associates mesh layer with the widget.

Definition at line 91 of file qgsmeshrenderer3daveragingwidget.cpp.

◆ syncToLayer()

void QgsMeshRenderer3dAveragingWidget::syncToLayer ( )

Synchronizes widgets state with associated mesh layer.

Definition at line 160 of file qgsmeshrenderer3daveragingwidget.cpp.

◆ widgetChanged

void QgsMeshRenderer3dAveragingWidget::widgetChanged ( )
signal

Mesh rendering settings changed.


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