#include "SMESHGUI_MeshOp.h"#include "SMESHGUI.h"#include "SMESHGUI_GEOMGenUtils.h"#include "SMESHGUI_GroupOnShapeDlg.h"#include "SMESHGUI_Hypotheses.h"#include "SMESHGUI_HypothesesUtils.h"#include "SMESHGUI_MeshDlg.h"#include "SMESHGUI_Operations.h"#include "SMESHGUI_ShapeByMeshDlg.h"#include "SMESHGUI_Utils.h"#include "SMESH_NumberFilter.hxx"#include "SMESH_TypeDefs.hxx"#include "SMESH_TypeFilter.hxx"#include "SMESH_Gen_i.hxx"#include <CORBA_SERVER_HEADER(SMESH_BasicHypothesis)>#include <GEOMBase.h>#include <GEOMImpl_Types.hxx>#include <GEOM_Client.hxx>#include <GEOM_SelectionFilter.h>#include <GEOM_wrap.hxx>#include <GeometryGUI.h>#include <LightApp_Application.h>#include <LightApp_SelectionMgr.h>#include <LightApp_UpdateFlags.h>#include <SALOME_InteractiveObject.hxx>#include <SALOME_ListIO.hxx>#include <SUIT_MessageBox.h>#include <SUIT_OverrideCursor.h>#include <SUIT_ResourceMgr.h>#include <SUIT_Session.h>#include <SalomeApp_Application.h>#include <SalomeApp_Tools.h>#include <SALOMEDS_SComponent.hxx>#include <SALOMEDS_SObject.hxx>#include <SALOMEDS_Study.hxx>#include <SALOMEDS_wrap.hxx>#include <QApplication>#include <QLineEdit>#include <QStringList>#include <BRep_Tool.hxx>#include <TopExp.hxx>#include <TopExp_Explorer.hxx>#include <TopTools_IndexedMapOfShape.hxx>#include <TopoDS.hxx>#include <TopoDS_Iterator.hxx>
Functions | |
| _PTR (SObject) SMESHGUI_MeshOp | |
| find an existing submesh by the selected shape More... | |
| static bool | isCompatible (const HypothesisData *theAlgoData, const HypothesisData *theHypData, const int theHypType) |
| check compatibility of the algorithm and another algorithm or hypothesis More... | |
| static int | getTabDim (const QObject *tab, SMESHGUI_MeshDlg *dlg) |
| \Brief Returns tab dimension More... | |
| _PTR | ( | SObject | ) |
find an existing submesh by the selected shape
| _PTR(SObject) | - the found submesh SObject |
Updates dialog's look and feel
Virtual method redefined from the base class updates dialog's look and feel
References SMESHGUI_MeshOp::_PTR(), EDGE, FACE, SMESHGUI_MeshDlg::Mesh, SMESHGUI_MeshOp::myDlg, SMESHGUI_MeshOp::myGeom, SMESHGUI_MeshOp::myGeomEntry, SMESH::Tag_SubMeshOnCompound, SMESH::Tag_SubMeshOnEdge, SMESH::Tag_SubMeshOnFace, SMESH::Tag_SubMeshOnShell, SMESH::Tag_SubMeshOnSolid, SMESH::Tag_SubMeshOnVertex, and SMESH::Tag_SubMeshOnWire.
|
static |
\Brief Returns tab dimension
| tab | - the tab in the dlg |
| dlg | - my dialogue |
| int | - dimension |
References SMESH::DIM_0D, SMESH::DIM_3D, and SMESHGUI_MeshDlg::tab().
Referenced by SMESHGUI_MeshOp::onAlgoSelected(), SMESHGUI_MeshOp::onCreateHyp(), and SMESHGUI_MeshOp::onEditHyp().
|
static |
check compatibility of the algorithm and another algorithm or hypothesis
| theAlgoData | - algorithm data |
| theHypData | - hypothesis data |
| theHypType | - hypothesis type |
| bool | - check result |
References SMESHGUI_MeshOp::Algo, SMESH::IsAvailableHypothesis(), SMESH::IsCompatibleAlgorithm(), and HypothesisData::TypeName.
Referenced by SMESHGUI_MeshOp::availableHyps(), SMESHGUI_MeshOp::existingHyps(), SMESHGUI::isSelectionCompatible(), and SMESHGUI_MeshOp::onAlgoSelected().