#include "GeomSelectionTools.h"
#include <LightApp_SelectionMgr.h>
#include <SalomeApp_Application.h>
#include <SUIT_Session.h>
#include <GEOMImpl_Types.hxx>
#include <GEOM_Client.hxx>
#include <GEOM_wrap.hxx>
#include <SALOME_ListIO.hxx>
#include <SMESHGUI_Utils.h>
#include <BRepAdaptor_Surface.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Iterator.hxx>
#include "utilities.h"
#include "SALOME_LifeCycleCORBA.hxx"
#include <sstream>
#include <QLocale>
#include <QRegExp>
Functions | |
_PTR (Study) GeomSelectionTools | |
Accessor to the Study used by this GeomSelectionTools object. More... | |
Handle (SALOME_InteractiveObject) GeomSelectionTools | |
Return the first selected Salome Interactive Object (Handle(Salome_InteractiveObject)) More... | |
_PTR | ( | Study | ) |
Accessor to the Study used by this GeomSelectionTools object.
Referenced by SMESHGUI::activateModule(), SMESHGUI_GenericHypothesisCreator::buildStdFrame(), SMESHGUI_Displayer::canBeDisplayed(), StdMeshersGUI_StdHypothesisCreator::checkParams(), SMESHGUI_CopyMeshDlg::ClickOnApply(), SMESHGUI_BuildCompoundDlg::ClickOnApply(), SMESHGUI_ScaleDlg::ClickOnApply(), SMESHGUI_TranslationDlg::ClickOnApply(), SMESHGUI_RotationDlg::ClickOnApply(), SMESHGUI_SymmetryDlg::ClickOnApply(), SMESHGUI::contextMenuPopup(), SMESHGUI_Selection::dim(), SMESHGUI_MeshInfoDlg::dump(), SMESHGUI_CtrlInfoDlg::dump(), elementType(), SMESHGUI_Selection::elemTypes(), SMESHGUI_FieldSelectorWdg::GetAllFeilds(), SMESHGUI_BuildCompoundDlg::GetDefaultName(), SMESHGUI_GroupDlg::GetDefaultName(), SMESH_NumberFilter::getGeom(), SMESHGUI_MeshOrderMgr::GetMeshOrder(), SMESHGUI::GetSMESHGen(), SMESHGUI::GetSMESHGUI(), SMESHGUI_AddInfo::groupInfo(), SMESHGUI_Selection::groupType(), SMESHGUI_Selection::hasChildren(), SMESHGUI_Selection::hasGeomReference(), if(), SMESHGUI_SimpleElemInfo::information(), SMESHGUI_TreeElemInfo::information(), SMESHGUI_Selection::init(), SMESHGUI_GroupDlg::init(), SMESHGUI::isActiveStudyLocked(), SMESHGUI_Selection::isAutoColor(), SMESHGUI_Selection::isComputable(), SMESHGUI_Selection::isEditableHyp(), SMESHGUI_Selection::isImported(), SMESH_TypeFilter::isOk(), SMESHGUI_Selection::isPreComputable(), SMESHGUI_Selection::isQuadratic(), SMESHGUI_AddInfo::meshInfo(), SMESHGUI::message(), SMESHGUI_Selection::nbChildren(), SMESHGUI_Selection::numberOfNodes(), SMESHGUI_GroupDlg::onAdd(), SMESHGUI_DuplicateNodesDlg::onApply(), SMESHGUI_MeshPatternDlg::onApply(), SMESHGUI_GroupDlg::onApply(), SMESHGUI_UnionGroupsDlg::onApply(), SMESHGUI_IntersectGroupsDlg::onApply(), SMESHGUI_CutGroupsDlg::onApply(), SMESHGUI_DimGroupDlg::onApply(), SMESHGUI_GenericHypothesisCreator::onDialogFinished(), SMESHGUI::OnEditDelete(), SMESHGUI::OnGUIEvent(), SMESHGUI_GroupDlg::onObjectSelectionChanged(), SMESHGUI_GroupDlg::onPublishShapeByMeshDlg(), SMESHGUI_CreatePatternDlg::onSelectionDone(), SMESHGUI_MeshPatternDlg::onSelectionDone(), SMESHGUI::renameObject(), SMESHGUI::restoreVisualParameters(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_SewingDlg::SelectionIntoArgument(), SMESHGUI_GroupDlg::SetAppropriateActor(), SMESHGUI_FilterTable::SetCriterion(), SMESHGUI_GroupDlg::setDefaultName(), SMESHGUI_MeshOrderMgr::SetMesh(), SMESHGUI_CreatePatternDlg::SetMesh(), SMESH_Swig::SetMeshIcon(), SMESHGUI_MeshOrderMgr::SetMeshOrder(), SMESHGUI_ScaleDlg::setNewMeshName(), SMESHGUI_TranslationDlg::setNewMeshName(), SMESHGUI_RotationDlg::setNewMeshName(), SMESHGUI_SymmetryDlg::setNewMeshName(), StdMeshersGUI_ObjectReferenceParamWdg::SetObject(), StdMeshersGUI_ObjectReferenceParamWdg::SetObjects(), SMESHGUI_AddInfo::showGroups(), SMESHGUI_MeshInfo::showInfo(), SMESHGUI_AddInfo::showInfo(), SMESHGUI_CtrlInfo::showInfo(), SMESHGUI_AddInfo::showSubMeshes(), SMESHGUI::storeVisualParameters(), SMESHGUI_AddInfo::subMeshInfo(), SMESHGUI::switchToOperation(), SMESHGUI_Selection::type(), and SMESHGUI_ClippingDlg::updateActorList().
Handle | ( | SALOME_InteractiveObject | ) |
Return the first selected Salome Interactive Object (Handle(Salome_InteractiveObject))
Referenced by SMESH_NoteBook::AddCommand(), VISCOUS_3D::_Shrinker1D::AddEdge(), StdMeshers_Quadrangle_2D::addEnforcedNodes(), SMESH_Pattern::Apply(), StdMeshersGUI_CartesianParamCreator::buildFrame(), StdMeshers_Quadrangle_2D::check(), SMESHGUI_MergeDlg::ClickOnApply(), SMESHGUI_SewingDlg::ClickOnApply(), StdMeshers_Import_1D2D::Compute(), StdMeshers_RadialQuadrangle_1D2D::Compute(), StdMeshers_Regular_1D::Compute(), VISCOUS_3D::_Shrinker1D::Compute(), StdMeshers_CartesianParameters3D::ComputeOptimalAxesDirs(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), StdMeshers_MEFISTO_2D::ComputeScaleOnFace(), SMESH_Pattern::computeUVOnEdge(), SMESHGUI::contextMenuPopup(), SMESHUtils::createPointsSampleFromEdge(), SMESHUtils::createPointsSampleFromFace(), SMESH_Gen_i::DumpPython_impl(), SMESH_Algo::EdgeLength(), StdMeshers_Regular_1D::Evaluate(), StdMeshers_MEFISTO_2D::Evaluate(), StdMeshers_Quadrangle_2D::evaluateQuadPref(), TSelectListEvent::Execute(), StdMeshers_ProjectionUtils::FindFaceAssociation(), VISCOUS_3D::_ViscousBuilder::findShapesToSmooth(), SMESHGUI_MinDistance::firstEdited(), fixCommonVertexUV(), SMESH_2D_Algo::FixInternalNodes(), SMESHGUI_FilterDlg::getActor(), VISCOUS_3D::getEdgeDir(), StdMeshers_Quadrangle_2D::getEnforcedUV(), VISCOUS_3D::getFaceDir(), VISCOUS_3D::_ViscousBuilder::getFaceNormal(), VISCOUS_3D::_ViscousBuilder::getFaceNormalAtSingularity(), SMESH_ElementSearcherImpl::getIntersParamOnLine(), SMESH_Gen_i::GetNewPythonLines(), SMESH_Block::GetOrderedEdges(), StdMeshers_PrismAsBlock::TSideFace::GetPCurves(), VISCOUS_3D::getRovolutionAxis(), Handle(), if(), SMESH_ActorDef::Init(), SMESH::Controls::ElementsOnShape::Classifier::Init(), SMESHGUI_FilterDlg::insertFilterInViewer(), VISCOUS_3D::_LayerEdge::InvalidateStep(), SMESH_MeshEditor::InverseDiag(), isCorrectArg(), SMESH_Algo::isDegenerated(), FaceQuadStruct::isEqual(), SMESHGUI_MultiEditDlg::isIdValid(), SMESHGUI_FilterDlg::isValid(), VISCOUS_3D::_LayerEdge::LastSegment(), VISCOUS_3D::_LayerEdge::LastUV(), SMESHGUI_MeshInfo::loadMesh(), SMESH_MAT2d::MedialAxis::make3DCurve(), SMESH_MeshEditor::makeEdgePathPoints(), VISCOUS_3D::_ViscousBuilder::makeOffsetSurface(), SMESHGUI_MergeDlg::onAddKeepNode(), SMESHGUI_GroupDlg::onApply(), SMESHGUI::OnEditDelete(), SMESHGUI::OnGUIEvent(), SMESHGUI_GroupDlg::onObjectSelectionChanged(), StdMeshersGUI_CartesianParamCreator::onOptimalAxes(), SMESHGUI_GroupDlg::onPublishShapeByMeshDlg(), SMESHGUI_TransparencyDlg::onSelectionChanged(), SMESHGUI_Preferences_ScalarBarDlg::onSelectionChanged(), SMESHGUI_SingleEditDlg::onSelectionDone(), SMESHGUI_MakeNodeAtPointOp::onSelectionDone(), SMESHGUI_CreatePatternDlg::onSelectionDone(), SMESHGUI_MeshPatternDlg::onSelectionDone(), SMESHGUI_MultiEditDlg::onSelectionDone(), SMESHGUI_FilterLibraryDlg::onSelectionDone(), StdMeshersGUI_ObjectReferenceParamWdg::onSelectionDone(), SMESHGUI_FilterDlg::onSelectionDone(), SMESHGUI_SplitVolumesDlg::onSelectionDone(), SMESHGUI_SingleEditDlg::onTextChange(), SMESHGUI_MakeNodeAtPointOp::onTextChange(), SMESHGUI_RemoveNodesDlg::onTextChange(), SMESHGUI_RemoveElementsDlg::onTextChange(), SMESHGUI_CopyMeshDlg::onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI::onUpdateControlActions(), process(), StdMeshers_Prism_3D::projectBottomToTop(), SMESH_MeshEditor::QuadTo4Tri(), SMESH_MeshEditor::QuadToTri(), VISCOUS_3D::_ViscousBuilder::refine(), SMESHGUI::renameObject(), SMESH_NoteBook::ReplaceVariables(), VISCOUS_3D::_ViscousBuilder::restoreNoShrink(), SMESHGUI::restoreVisualParameters(), StdMeshers_FaceSide::Reverse(), SMESHGUI_MinDistance::secondEdited(), SMESHGUI_FilterDlg::selectInViewer(), SMESHGUI_MinDistance::selectionChanged(), SMESHGUI_BoundingBox::selectionChanged(), SMESHGUI_BasicProperties::selectionChanged(), SMESHGUI_ReorientFacesOp::selectionDone(), SMESHGUI_RenumberingDlg::SelectionIntoArgument(), StdMeshersGUI_SubShapeSelectorWdg::selectionIntoArgument(), SMESHGUI_RemoveElementsDlg::SelectionIntoArgument(), SMESHGUI_RemoveNodesDlg::SelectionIntoArgument(), SMESHGUI_NodesDlg::SelectionIntoArgument(), SMESHGUI_CopyMeshDlg::SelectionIntoArgument(), SMESHGUI_BuildCompoundDlg::SelectionIntoArgument(), SMESHGUI_AddMeshElementDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_AddQuadraticElementDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_MergeDlg::SelectionIntoArgument(), SMESHGUI_SewingDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESHGUI_MeshOp::selectObject(), SMESHGUI_PredicateFilter::SetActor(), SMESHGUI_GroupDlg::SetAppropriateActor(), SMESH_Pattern::setFirstEdge(), StdMeshers_Deflection1D::SetParametersByMesh(), StdMeshers_MaxLength::SetParametersByMesh(), StdMeshers_LocalLength::SetParametersByMesh(), StdMeshers_StartEndLength::SetParametersByMesh(), StdMeshers_Arithmetic1D::SetParametersByMesh(), VISCOUS_3D::_ViscousBuilder::setShapeData(), StdMeshers_NumberOfSegments::SetTableFunction(), SMESHGUI_TransparencyDlg::SetTransparency(), SMESH_PreviewActorsCollection::showCurrentChunk(), VISCOUS_3D::_ViscousBuilder::shrink(), StdMeshers_Quadrangle_2D::smooth(), VISCOUS_3D::_ViscousBuilder::smoothAndCheck(), SMESHGUI_BoundingBox::sourceEdited(), StdMeshers_FaceSide::StdMeshers_FaceSide(), StdMeshers_MEFISTO_2D::StoreResult(), SMESHGUI::storeVisualParameters(), StdMeshers_PrismAsBlock::TPCurveOnHorFaceAdaptor::TPCurveOnHorFaceAdaptor(), SMESHGUI_ClippingDlg::updateActorList(), StdMeshers_Quadrangle_2D::updateDegenUV(), SMESHGUI_CtrlInfoDlg::updateInfo(), SMESH_ActorDef::UpdatePlot2Histogram(), StdMeshers::Function::value(), and StdMeshers_PrismAsBlock::TSideFace::Value().