Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • lurpi/ogsPW
  • steffenbeese/ogs
  • HBShaoUFZ/ogs
  • vehling/ogs
  • kuateric/ogs
  • heinzej/ogs
  • MostafaMollaali/dynamic
  • GuanglinDu/ogs
  • katakurgyis/ogs
  • felikskiszkurno/ogs
  • aachaudhry/ogs
  • friederl/ogs
  • fparisio/ogs
  • Scinopode/ogs
  • MaxDoe/ogs
  • nagelt/ogs
  • zhangning737/ogs
  • ogs/ogs
  • bilke/ogs
  • montoyav/ogs
  • TomFischer/ogs
  • wenqing/ogs
  • renchao-lu/ogs
  • ChaofanChen/ogs
  • rinkk/ogs
  • WanlongCai/ogs
  • dominik-kern/ogs
  • Yonghui56/ogs
  • endJunction/ogs
  • VinayGK/ogs
  • AlirezaBGE/ogs
  • SebasTouristTrophyF/ogs
  • tengfeideng/ogs
  • joergbuchwald/ogs
  • KeitaYoshioka/ogs
  • hhutyou/debug-petsc-large
  • ThieJan/ogs
  • ArashPartow/ogs
  • skai95/ogs
  • yezhigangzju/ogs
  • PhilippSelzer/ogs
  • MartinBinder/ogs
  • MehranGhasabeh/ogs-mg
  • MManicaM/ogs
  • TobiasMeisel/ogs
  • norihiro-w/ogs
  • garibay-j/ogs
  • Christopher-McDermott/ogs
  • loewenzahm/ogs
  • aheinri5/ogs
  • tcajuhi/ogs
  • RichardScottOZ/ogs
  • lagraviereScience/ogs
  • jrandow/ogs
  • cbsilver/ogs
  • reza-taherdangkoo/ogs
  • joboog/ogs
  • basakz/ogs
  • ropaoleon/ogs
  • ShuangChen88/ogs
  • cguevaramorel/ogs
  • boyanmeng/ogs
  • XRuiWang/ogs
  • grubbymoon/ogs
  • yUHaOLiu-tj/ogs
  • FZill/ogs
  • michaelpitz/ogs
  • hhutyou/ogs
  • Lifan97/ogs
  • mattschy/ogs
  • Mojtaba-abdolkhani/ogs
  • kristofkessler/ogs
  • ozgurozansen/ogs
  • eike-radeisen/ogs-gitlab
  • DStafford/ogs
  • Max_Jaeschke/ogs
  • fwitte/ogs
  • LionAhrendt/ogs
  • emadnrz/ogs
  • laubry/ogs
  • HailongS/ogs
  • noorhasan/ogs
  • WenjieXuZJU/ogs
  • suresh199824/ogs
84 results
Show changes
Showing
with 90 additions and 30 deletions
/**
* \file
* \date 2023-04-26
* \brief Definition of the AddFaultsToVoxelGridDialog class.
*
* \copyright
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
*
*/
#pragma once
#include <QDialog>
#include <QStringListModel>
#include <memory>
#include "MeshLib/Elements/ElementErrorCode.h"
#include "ui_AddFaultsToVoxelGrid.h"
class MeshModel;
/*
* \brief A dialog window for calling methods to include one or multiple
* faults in a 3D voxelgrid.
*/
class AddFaultsToVoxelGridDialog : public QDialog,
private Ui_AddFaultsToVoxelGrid
{
Q_OBJECT
public:
explicit AddFaultsToVoxelGridDialog(MeshModel& mesh_model,
QDialog* parent = nullptr);
private:
MeshModel& _mesh_model;
QStringListModel _voxelGrids;
QStringListModel _meshes2D;
QStringListModel _selFaults;
private slots:
/// Instructions if the OK-Button has been pressed.
void accept() override;
/// Instructions if the Cancel-Button has been pressed.
void reject() override { this->done(QDialog::Rejected); };
/// Instructions if the ">>-button" has been pressed.
void on_selectDataButton_pressed();
/// Instructions if the "<<-button" has been pressed.
void on_deselectDataButton_pressed();
};
\ No newline at end of file
......@@ -5,7 +5,7 @@
* \brief Implementation of the AddLayerToMeshDialog class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Definition of the AddLayerToMeshDialog class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Definition of the BaseItem class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
set(SOURCES
AddFaultsToVoxelGridDialog.cpp
AddLayerToMeshDialog.cpp
ColorTableModel.cpp
ColorTableView.cpp
......@@ -16,6 +17,7 @@ set(SOURCES
GeoTreeModel.cpp
GeoTreeView.cpp
GMSHPrefsDialog.cpp
Layers2GridDialog.cpp
LicenseDialog.cpp
LinearEditDialog.cpp
LineEditDialog.cpp
......@@ -43,9 +45,12 @@ set(SOURCES
StationTreeModel.cpp
StationTreeView.cpp
SurfaceExtractionDialog.cpp
TranslateDataDialog.cpp
Vtu2GridDialog.cpp
)
set(HEADERS
AddFaultsToVoxelGridDialog.h
AddLayerToMeshDialog.h
BaseItem.h
ColorTableModel.h
......@@ -67,6 +72,7 @@ set(HEADERS
GeoTreeModel.h
GeoTreeView.h
GMSHPrefsDialog.h
Layers2GridDialog.h
LicenseDialog.h
LinearEditDialog.h
LineEditDialog.h
......@@ -95,6 +101,7 @@ set(HEADERS
StationTreeModel.h
StationTreeView.h
SurfaceExtractionDialog.h
Vtu2GridDialog.h
)
# Visual Studio folder
......
......@@ -5,7 +5,7 @@
* \brief Implementation of the ColorTableModel class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Definition of the ColorTableModel class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Implementation of the ColorTableView class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Definition of the ColorTableView class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Implementation of the CondFromRasterDialog class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Definition of the CondFromRasterDialog class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
/**
* \file
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Implementation of the CreateStructuredGridDialog class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......@@ -19,7 +19,7 @@
#include "Base/OGSError.h"
#include "Base/StrictDoubleValidator.h"
#include "GeoLib/Point.h"
#include "MeshLib/MeshGenerators/MeshGenerator.h"
#include "MeshToolsLib/MeshGenerators/MeshGenerator.h"
CreateStructuredGridDialog::CreateStructuredGridDialog(QDialog* parent)
: QDialog(parent)
......@@ -194,13 +194,13 @@ void CreateStructuredGridDialog::accept()
{
if (this->meshExtentButton->isChecked())
{
mesh = MeshLib::MeshGenerator::generateLineMesh(
mesh = MeshToolsLib::MeshGenerator::generateLineMesh(
this->xLengthEdit->text().toDouble(),
this->xElemEdit->text().toInt(), origin, name);
}
else
{
mesh = MeshLib::MeshGenerator::generateLineMesh(
mesh = MeshToolsLib::MeshGenerator::generateLineMesh(
this->xElemEdit->text().toInt(),
this->xLengthEdit->text().toDouble(), origin, name);
}
......@@ -209,7 +209,7 @@ void CreateStructuredGridDialog::accept()
{
if (this->meshExtentButton->isChecked())
{
mesh = MeshLib::MeshGenerator::generateRegularTriMesh(
mesh = MeshToolsLib::MeshGenerator::generateRegularTriMesh(
this->xLengthEdit->text().toDouble(),
this->yLengthEdit->text().toDouble(),
this->xElemEdit->text().toInt(),
......@@ -217,7 +217,7 @@ void CreateStructuredGridDialog::accept()
}
else
{
mesh = MeshLib::MeshGenerator::generateRegularTriMesh(
mesh = MeshToolsLib::MeshGenerator::generateRegularTriMesh(
this->xElemEdit->text().toInt(),
this->yElemEdit->text().toInt(),
this->xLengthEdit->text().toDouble(),
......@@ -228,7 +228,7 @@ void CreateStructuredGridDialog::accept()
{
if (this->meshExtentButton->isChecked())
{
mesh = MeshLib::MeshGenerator::generateRegularQuadMesh(
mesh = MeshToolsLib::MeshGenerator::generateRegularQuadMesh(
this->xLengthEdit->text().toDouble(),
this->yLengthEdit->text().toDouble(),
this->xElemEdit->text().toInt(),
......@@ -236,7 +236,7 @@ void CreateStructuredGridDialog::accept()
}
else
{
mesh = MeshLib::MeshGenerator::generateRegularQuadMesh(
mesh = MeshToolsLib::MeshGenerator::generateRegularQuadMesh(
this->xElemEdit->text().toInt(),
this->yElemEdit->text().toInt(),
this->xLengthEdit->text().toDouble(),
......@@ -247,7 +247,7 @@ void CreateStructuredGridDialog::accept()
{
if (this->meshExtentButton->isChecked())
{
mesh = MeshLib::MeshGenerator::generateRegularPrismMesh(
mesh = MeshToolsLib::MeshGenerator::generateRegularPrismMesh(
this->xLengthEdit->text().toDouble(),
this->yLengthEdit->text().toDouble(),
this->zLengthEdit->text().toDouble(),
......@@ -257,7 +257,7 @@ void CreateStructuredGridDialog::accept()
}
else
{
mesh = MeshLib::MeshGenerator::generateRegularPrismMesh(
mesh = MeshToolsLib::MeshGenerator::generateRegularPrismMesh(
this->xLengthEdit->text().toDouble(),
this->yLengthEdit->text().toDouble(),
this->zLengthEdit->text().toDouble(),
......@@ -270,7 +270,7 @@ void CreateStructuredGridDialog::accept()
{
if (this->meshExtentButton->isChecked())
{
mesh = MeshLib::MeshGenerator::generateRegularHexMesh(
mesh = MeshToolsLib::MeshGenerator::generateRegularHexMesh(
this->xLengthEdit->text().toDouble(),
this->yLengthEdit->text().toDouble(),
this->zLengthEdit->text().toDouble(),
......@@ -280,7 +280,7 @@ void CreateStructuredGridDialog::accept()
}
else
{
mesh = MeshLib::MeshGenerator::generateRegularHexMesh(
mesh = MeshToolsLib::MeshGenerator::generateRegularHexMesh(
this->xElemEdit->text().toInt(),
this->yElemEdit->text().toInt(),
this->zElemEdit->text().toInt(),
......
......@@ -5,7 +5,7 @@
* \brief Definition of the CreateStructuredGridDialog class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Implementation of the DataExplorerSettingsDialog class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Definition of the DataExplorerSettingsDialog class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Implementation of the DetailWindow class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Definition of the DetailWindow class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Implementation of the DiagramList class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......
......@@ -5,7 +5,7 @@
* \brief Definition of the DiagramList class.
*
* \copyright
* Copyright (c) 2012-2023, OpenGeoSys Community (http://www.opengeosys.org)
* Copyright (c) 2012-2025, OpenGeoSys Community (http://www.opengeosys.org)
* Distributed under a Modified BSD License.
* See accompanying file LICENSE.txt or
* http://www.opengeosys.org/project/license
......@@ -28,7 +28,7 @@ class SensorData;
class DiagramList
{
public:
/// Constructur containing an empty list.
/// Constructor containing an empty list.
DiagramList();
~DiagramList();
......