13#include "ui_MeshMapping2D.h"
31 std::string
getRasterPath()
const {
return this->rasterPathEdit->text().toStdString(); }
34 double getStaticValue()
const {
return this->staticValueEdit->text().toDouble(); }
35 std::string
getNewMeshName()
const {
return this->newNameEdit->text().toStdString(); }
46 void reject()
override { this->done(QDialog::Rejected); }
A dialog window for mapping a 2d mesh based on a raster file.
std::string getNewMeshName() const
void on_rasterValueButton_toggled(bool isChecked)
void on_ignoreNoDataCheckbox_toggled(bool isChecked)
bool getIgnoreNoData() const
void on_rasterSelectButton_pressed()
bool useRasterMapping() const
void accept() override
Instructions if the OK-Button has been pressed.
std::string getRasterPath() const
bool useStaticMapping() const
double getNoDataReplacement() const
void reject() override
Instructions if the Cancel-Button has been pressed.
MeshMapping2DDialog(QDialog *parent=nullptr)
double getStaticValue() const