OGS
|
A dialog window for calling mesh analysis methods.
Definition at line 31 of file MeshAnalysisDialog.h.
#include <MeshAnalysisDialog.h>
Public Member Functions | |
MeshAnalysisDialog (std::vector< std::unique_ptr< MeshLib::Mesh > > const &mesh_vec, QDialog *parent=nullptr) | |
~MeshAnalysisDialog () override | |
Private Slots | |
void | on_startButton_pressed () |
Starts the analysis. | |
void | on_closeButton_pressed () |
Closes the dialog. | |
Private Member Functions | |
void | nodesMsgOutput (std::vector< std::size_t > const &node_ids, std::vector< std::size_t > const &collapsibleNodeIds) |
Prepares the output for the node message window. | |
void | elementsMsgOutput (const std::vector< ElementErrorCode > &error_codes) |
Prepares the output for the node message window. | |
Private Attributes | |
std::vector< std::unique_ptr< MeshLib::Mesh > > const & | _mesh_vec |
|
explicit |
Definition at line 23 of file MeshAnalysisDialog.cpp.
|
overridedefault |
|
private |
Prepares the output for the node message window.
Definition at line 124 of file MeshAnalysisDialog.cpp.
References MeshToolsLib::MeshValidation::ElementErrorCodeOutput(), and MaxValue.
Referenced by on_startButton_pressed().
|
private |
Prepares the output for the node message window.
Definition at line 86 of file MeshAnalysisDialog.cpp.
Referenced by on_startButton_pressed().
|
inlineprivateslot |
|
privateslot |
Starts the analysis.
Definition at line 51 of file MeshAnalysisDialog.cpp.
References _mesh_vec, MeshToolsLib::MeshRevision::collapseNodeIndices(), MeshToolsLib::MeshValidation::detectHoles(), elementsMsgOutput(), MeshLib::Mesh::getNumberOfElements(), MeshLib::Mesh::getNumberOfNodes(), MeshLib::NodeSearch::getSearchedNodeIDs(), nodesMsgOutput(), MeshLib::NodeSearch::searchUnused(), and MeshToolsLib::MeshValidation::testElementGeometry().
|
private |
Definition at line 48 of file MeshAnalysisDialog.h.
Referenced by on_startButton_pressed().