|  | OGS
    | 
A dialog window for calling translation methods.
Definition at line 36 of file TranslateDataDialog.h.
#include <TranslateDataDialog.h>
| Signals | |
| void | meshAdded (MeshLib::Mesh const *mesh) | 
| Public Member Functions | |
| TranslateDataDialog (MeshModel *mesh_model, GEOModels *geo_models, QDialog *parent=nullptr) | |
| Private Slots | |
| 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 | moveGeometry (Eigen::Vector3d const &displacement, std::string const &name) | 
| void | moveMesh (Eigen::Vector3d const &displacement, std::string const &name) | 
| void | on_selectDataButton_pressed () | 
| Instructions if the ">>-button" has been pressed. | |
| void | on_deselectDataButton_pressed () | 
| Instructions if the "<<-button" has been pressed. | |
| Private Attributes | |
| MeshModel * | _mesh_model | 
| GEOModels * | _geo_models | 
| QStringListModel | _allData | 
| QStringListModel | _selData | 
| 
 | explicit | 
Definition at line 28 of file TranslateDataDialog.cpp.
References _allData, _geo_models, _mesh_model, _selData, GEOModels::getGeometryNames(), MeshModel::getMesh(), TreeModel::index(), and TreeModel::rowCount().
| 
 | overrideprivateslot | 
Instructions if the OK-Button has been pressed.
Definition at line 106 of file TranslateDataDialog.cpp.
References _geo_models, _selData, OGSError::box(), GEOModels::getGeometryNames(), Utils::getSelectedObjects(), INFO(), moveGeometry(), and moveMesh().
| 
 | signal | 
| 
 | private | 
Definition at line 74 of file TranslateDataDialog.cpp.
References _geo_models, OGSError::box(), GEOModels::getPointVec(), MeshToolsLib::moveMeshNodes(), and GEOModels::updateGeometry().
Referenced by accept().
| 
 | private | 
Definition at line 91 of file TranslateDataDialog.cpp.
References _mesh_model, OGSError::box(), MeshModel::getMesh(), MeshLib::Mesh::getNodes(), MeshToolsLib::moveMeshNodes(), and MeshModel::updateMesh().
Referenced by accept().
| 
 | private | 
Instructions if the "<<-button" has been pressed.
Definition at line 69 of file TranslateDataDialog.cpp.
References _allData, _selData, and Utils::moveSelectedItems().
| 
 | private | 
Instructions if the ">>-button" has been pressed.
Definition at line 64 of file TranslateDataDialog.cpp.
References _allData, _selData, and Utils::moveSelectedItems().
| 
 | inlineoverrideprivateslot | 
Instructions if the Cancel-Button has been pressed.
Definition at line 58 of file TranslateDataDialog.h.
| 
 | private | 
Definition at line 51 of file TranslateDataDialog.h.
Referenced by TranslateDataDialog(), on_deselectDataButton_pressed(), and on_selectDataButton_pressed().
| 
 | private | 
Definition at line 50 of file TranslateDataDialog.h.
Referenced by TranslateDataDialog(), accept(), and moveGeometry().
| 
 | private | 
Definition at line 49 of file TranslateDataDialog.h.
Referenced by TranslateDataDialog(), and moveMesh().
| 
 | private | 
Definition at line 52 of file TranslateDataDialog.h.
Referenced by TranslateDataDialog(), accept(), on_deselectDataButton_pressed(), and on_selectDataButton_pressed().