Version: 9.12.0
GeomSelectionTools.cxx File Reference
#include "GeomSelectionTools.h"
#include <LightApp_SelectionMgr.h>
#include <SalomeApp_Application.h>
#include <SUIT_Session.h>
#include <GEOMBase.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>
Include dependency graph for GeomSelectionTools.cxx:

Functions

 Handle (SALOME_InteractiveObject) GeomSelectionTools
 Return the first selected Salome Interactive Object (Handle(Salome_InteractiveObject)) More...
 

Function Documentation

◆ Handle()

Handle ( SALOME_InteractiveObject  )

Return the first selected Salome Interactive Object (Handle(Salome_InteractiveObject))

Returns
the first selected Salome Interactive Object

References GeomSelectionTools::Handle(), and GeomSelectionTools::selectionMgr().

Referenced by SMESH_NoteBook::AddCommand(), StdMeshers_Quadrangle_2D::addEnforcedNodes(), SMESH_Pattern::Apply(), StdMeshers_Quadrangle_2D::check(), SMESHGUI_MergeDlg::ClickOnApply(), SMESHGUI_SewingDlg::ClickOnApply(), StdMeshers_Import_1D2D::Compute(), StdMeshers_Projection_2D::Compute(), StdMeshers_RadialQuadrangle_1D2D::Compute(), StdMeshers_Regular_1D::Compute(), StdMeshers_CartesianParameters3D::ComputeOptimalAxesDirs(), StdMeshers_Quadrangle_2D::computeQuadDominant(), StdMeshers_Quadrangle_2D::computeQuadPref(), StdMeshers_Quadrangle_2D::computeReduced(), SMESH_Pattern::computeUVOnEdge(), SMESHGUI::contextMenuPopup(), SMESHUtils::createPointsSampleFromEdge(), SMESHUtils::createPointsSampleFromFace(), SMESH_Algo::EdgeLength(), StdMeshers_Regular_1D::Evaluate(), StdMeshers_Quadrangle_2D::evaluateQuadPref(), TSelectListEvent::Execute(), TSelectListOfPairEvent::Execute(), SMESH_MeshEditor::ExtrusionAlongTrack(), StdMeshers_ProjectionUtils::FindFaceAssociation(), SMESHGUI_MinDistance::firstEdited(), SMESH_2D_Algo::FixInternalNodes(), SMESHGUI_FilterDlg::getActor(), StdMeshers_Quadrangle_2D::getEnforcedUV(), SMESH_ElementSearcherImpl::getIntersParamOnLine(), SMESHGUI_Displayer::getName(), SMESH_Block::GetOrderedEdges(), StdMeshers_PrismAsBlock::TSideFace::GetPCurves(), SMESHGUI_MeshInfoDlg::idChanged(), SMESH::Controls::ElementsOnShape::Classifier::Init(), SMESH_ActorDef::Init(), SMESHGUI_FilterDlg::insertFilterInViewer(), SMESH_MeshEditor::InverseDiag(), isCorrectArg(), SMESH_Algo::isDegenerated(), FaceQuadStruct::isEqual(), SMESHGUI_MultiEditDlg::isIdValid(), SMESHGUI_FilterDlg::isValid(), SMESH_Pattern::Load(), SMESH_MAT2d::MedialAxis::make3DCurve(), SMESHGUI_Angle::nodesEdited(), SMESHGUI_MergeDlg::onAddKeep(), SMESHGUI_GroupDlg::onApply(), SMESHGUI::OnEditDelete(), SMESHGUI::OnGUIEvent(), SMESHGUI_GroupDlg::onObjectSelectionChanged(), SMESHGUI_GroupDlg::onPublishShapeByMeshDlg(), StdMeshersGUI_BlockRenumberCreator::onSelectionChange(), SMESHGUI_Preferences_ScalarBarDlg::onSelectionChanged(), SMESHGUI_TransparencyDlg::onSelectionChanged(), SMESHGUI_AddNodeOnFaceOp::onSelectionDone(), SMESHGUI_AddNodeOnSegmentOp::onSelectionDone(), SMESHGUI_CreatePatternDlg::onSelectionDone(), SMESHGUI_FilterDlg::onSelectionDone(), SMESHGUI_FilterLibraryDlg::onSelectionDone(), SMESHGUI_MakeNodeAtPointOp::onSelectionDone(), SMESHGUI_MeshPatternDlg::onSelectionDone(), SMESHGUI_MultiEditDlg::onSelectionDone(), SMESHGUI_SplitVolumesDlg::onSelectionDone(), SMESHGUI_RemoveNodeReconnectionOp::onSelectionDone(), SMESHGUI_SingleEditDlg::onSelectionDone(), StdMeshersGUI_ObjectReferenceParamWdg::onSelectionDone(), SMESHGUI_AddNodeOnFaceOp::onTextChange(), SMESHGUI_AddNodeOnSegmentOp::onTextChange(), SMESHGUI_CopyMeshDlg::onTextChange(), SMESHGUI_MakeNodeAtPointOp::onTextChange(), SMESHGUI_OffsetDlg::onTextChange(), SMESHGUI_RemoveElementsDlg::onTextChange(), SMESHGUI_RemoveNodeReconnectionOp::onTextChange(), SMESHGUI_RemoveNodesDlg::onTextChange(), SMESHGUI_RotationDlg::onTextChange(), SMESHGUI_ScaleDlg::onTextChange(), SMESHGUI_SingleEditDlg::onTextChange(), SMESHGUI_SymmetryDlg::onTextChange(), SMESHGUI_TranslationDlg::onTextChange(), SMESHGUI::onUpdateControlActions(), process(), StdMeshers_Prism_3D::projectBottomToTop(), SMESH_MeshEditor::QuadTo4Tri(), SMESH_MeshEditor::QuadToTri(), SMESHGUI::renameObject(), SMESH_NoteBook::ReplaceVariables(), SMESHGUI::restoreVisualParameters(), StdMeshers_FaceSide::Reverse(), SMESHGUI_MinDistance::secondEdited(), SMESHGUI_FilterDlg::selectInViewer(), SMESHGUI_HomardAdaptDlg::selectionChanged(), SMESHGUI_MinDistance::selectionChanged(), SMESHGUI_BoundingBox::selectionChanged(), SMESHGUI_BasicProperties::selectionChanged(), SMESHGUI_Angle::selectionChanged(), SMESHGUI_MG_ADAPTDRIVER::selectionChanged(), SMESHGUI_ReorientFacesOp::selectionDone(), SMESHGUI_AddMeshElementDlg::SelectionIntoArgument(), SMESHGUI_AddQuadraticElementDlg::SelectionIntoArgument(), SMESHGUI_CopyMeshDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionAlongPathDlg::SelectionIntoArgument(), SMESHGUI_ExtrusionDlg::SelectionIntoArgument(), SMESHGUI_FaceGroupsSeparatedByEdgesDlg::SelectionIntoArgument(), SMESHGUI_MergeDlg::SelectionIntoArgument(), SMESHGUI_NodesDlg::SelectionIntoArgument(), SMESHGUI_OffsetDlg::SelectionIntoArgument(), SMESHGUI_RemoveElementsDlg::SelectionIntoArgument(), SMESHGUI_RemoveNodesDlg::SelectionIntoArgument(), SMESHGUI_RenumberingDlg::SelectionIntoArgument(), SMESHGUI_RevolutionDlg::SelectionIntoArgument(), SMESHGUI_RotationDlg::SelectionIntoArgument(), SMESHGUI_ScaleDlg::SelectionIntoArgument(), SMESHGUI_SymmetryDlg::SelectionIntoArgument(), SMESHGUI_TranslationDlg::SelectionIntoArgument(), StdMeshersGUI_SubShapeSelectorWdg::selectionIntoArgument(), SMESHGUI_SewingDlg::SelectionIntoArgument(), SMESHGUI_MeshOp::selectObject(), SMESHGUI_PredicateFilter::SetActor(), SMESHGUI_GroupDlg::SetAppropriateActor(), SMESH_Pattern::setFirstEdge(), StdMeshers_Arithmetic1D::SetParametersByMesh(), StdMeshers_Deflection1D::SetParametersByMesh(), StdMeshers_LocalLength::SetParametersByMesh(), StdMeshers_MaxLength::SetParametersByMesh(), StdMeshers_StartEndLength::SetParametersByMesh(), SMESHGUI_TransparencyDlg::SetTransparency(), SMESH_PreviewActorsCollection::showCurrentChunk(), StdMeshers_Quadrangle_2D::smooth(), SMESH_MeshEditor::Smooth(), SMESHGUI_BoundingBox::sourceEdited(), SMESH_MeshEditor::SplitEdge(), StdMeshers_FaceSide::StdMeshers_FaceSide(), SMESHGUI::storeVisualParameters(), StdMeshers_PrismAsBlock::TPCurveOnHorFaceAdaptor::TPCurveOnHorFaceAdaptor(), SMESH_Swig::update(), SMESHGUI_ClippingDlg::updateActorList(), StdMeshers_Quadrangle_2D::updateDegenUV(), SMESH_ActorDef::UpdatePlot2Histogram(), and StdMeshers_PrismAsBlock::TSideFace::Value().