QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
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.
 

Public Member Functions

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

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

Since
QGIS 3.0

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