OGS
|
A dialog window for editing meshes in various ways.
Definition at line 38 of file MeshLayerEditDialog.h.
#include <MeshLayerEditDialog.h>
Signals | |
void | mshEditFinished (MeshLib::Mesh *) |
Public Member Functions | |
MeshLayerEditDialog (const MeshLib::Mesh *mesh, QDialog *parent=nullptr) | |
~MeshLayerEditDialog () override | |
Private Slots | |
void | getFileName () |
void | nextButtonPressed () |
void | createWithRasters () |
void | createStatic () |
void | accept () override |
Instructions if the OK-Button has been pressed. | |
void | reject () override |
Instructions if the Cancel-Button has been pressed. | |
Private Member Functions | |
void | createMeshToolSelection () |
MeshLib::Mesh * | createPrismMesh () |
MeshLib::Mesh * | createTetMesh () |
Private Attributes | |
const MeshLib::Mesh * | _msh |
unsigned | _n_layers |
QMap< QPushButton *, QLineEdit * > | _fileButtonMap |
QVector< QLineEdit * > | _edits |
QLineEdit * | _layerEdit |
QLineEdit * | _noDataReplacementEdit |
QLineEdit * | _minThicknessEdit |
QPushButton * | _nextButton |
QGroupBox * | _layerBox |
QGroupBox * | _radioButtonBox |
QRadioButton * | _ogsMeshButton |
QGridLayout * | _layerSelectionLayout |
bool | _use_rasters |
|
explicit |
Definition at line 39 of file MeshLayerEditDialog.cpp.
References _layerEdit, _layerSelectionLayout, _nextButton, and nextButtonPressed().
|
overridedefault |
|
overrideprivateslot |
Instructions if the OK-Button has been pressed.
Definition at line 299 of file MeshLayerEditDialog.cpp.
References _edits, _n_layers, _ogsMeshButton, _use_rasters, OGSError::box(), createPrismMesh(), createTetMesh(), and mshEditFinished().
|
private |
Definition at line 167 of file MeshLayerEditDialog.cpp.
References _minThicknessEdit, and _ogsMeshButton.
Referenced by createStatic(), and createWithRasters().
|
private |
Definition at line 195 of file MeshLayerEditDialog.cpp.
References _edits, _layerEdit, _minThicknessEdit, _msh, _use_rasters, LayeredMeshGenerator::createLayers(), MeshToolsLib::MeshLayerMapper::createStaticLayers(), LayeredMeshGenerator::getMesh(), INFO(), and FileIO::readRasters().
Referenced by accept().
|
privateslot |
Definition at line 145 of file MeshLayerEditDialog.cpp.
References _edits, _layerBox, _layerSelectionLayout, _n_layers, _radioButtonBox, _use_rasters, and createMeshToolSelection().
Referenced by nextButtonPressed().
|
private |
Definition at line 235 of file MeshLayerEditDialog.cpp.
References _edits, _layerEdit, _minThicknessEdit, _msh, _use_rasters, LayeredMeshGenerator::createLayers(), MeshToolsLib::MeshLayerMapper::createStaticLayers(), LayeredVolume::getAttributePoints(), LayeredMeshGenerator::getMesh(), INFO(), FileIO::readRasters(), and FileIO::TetGenInterface::writeTetGenSmesh().
Referenced by accept().
|
privateslot |
Definition at line 100 of file MeshLayerEditDialog.cpp.
References _edits, _fileButtonMap, _layerBox, _layerSelectionLayout, _n_layers, _radioButtonBox, _use_rasters, createMeshToolSelection(), and getFileName().
Referenced by nextButtonPressed().
|
privateslot |
Definition at line 361 of file MeshLayerEditDialog.cpp.
References _fileButtonMap.
Referenced by createWithRasters().
|
signal |
Referenced by accept().
|
privateslot |
Definition at line 73 of file MeshLayerEditDialog.cpp.
References _layerEdit, _n_layers, _nextButton, _radioButtonBox, OGSError::box(), createStatic(), and createWithRasters().
Referenced by MeshLayerEditDialog().
|
overrideprivateslot |
Instructions if the Cancel-Button has been pressed.
Definition at line 356 of file MeshLayerEditDialog.cpp.
|
private |
Definition at line 55 of file MeshLayerEditDialog.h.
Referenced by accept(), createPrismMesh(), createStatic(), createTetMesh(), and createWithRasters().
|
private |
Definition at line 54 of file MeshLayerEditDialog.h.
Referenced by createWithRasters(), and getFileName().
|
private |
Definition at line 61 of file MeshLayerEditDialog.h.
Referenced by createStatic(), and createWithRasters().
|
private |
Definition at line 57 of file MeshLayerEditDialog.h.
Referenced by MeshLayerEditDialog(), createPrismMesh(), createTetMesh(), and nextButtonPressed().
|
private |
Definition at line 64 of file MeshLayerEditDialog.h.
Referenced by MeshLayerEditDialog(), createStatic(), and createWithRasters().
|
private |
Definition at line 59 of file MeshLayerEditDialog.h.
Referenced by createMeshToolSelection(), createPrismMesh(), and createTetMesh().
|
private |
Definition at line 52 of file MeshLayerEditDialog.h.
Referenced by createPrismMesh(), and createTetMesh().
|
private |
Definition at line 53 of file MeshLayerEditDialog.h.
Referenced by accept(), createStatic(), createWithRasters(), and nextButtonPressed().
|
private |
Definition at line 60 of file MeshLayerEditDialog.h.
Referenced by MeshLayerEditDialog(), and nextButtonPressed().
|
private |
Definition at line 58 of file MeshLayerEditDialog.h.
|
private |
Definition at line 63 of file MeshLayerEditDialog.h.
Referenced by accept(), and createMeshToolSelection().
|
private |
Definition at line 62 of file MeshLayerEditDialog.h.
Referenced by createStatic(), createWithRasters(), and nextButtonPressed().
|
private |
Definition at line 65 of file MeshLayerEditDialog.h.
Referenced by accept(), createPrismMesh(), createStatic(), createTetMesh(), and createWithRasters().