X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_FindElemByPointDlg.cxx;h=9024eb92504619d57dc5d70e3a9b1f084191b4c2;hp=a23d80aa330af5e6685a294cc48c8add33c50edd;hb=refs%2Ftags%2FV9_7_0b1;hpb=7a3ecab720cc517ace17c5c4677fd3c20c0051ee diff --git a/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx b/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx index a23d80aa3..9024eb925 100644 --- a/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2016 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2021 CEA/DEN, EDF R&D, OPEN CASCADE // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -240,7 +240,7 @@ SMESHGUI_FindElemByPointOp::SMESHGUI_FindElemByPointOp() mySimulation = 0; mySMESHGUI = 0; myDlg = new SMESHGUI_FindElemByPointDlg; - myHelpFileName = "find_element_by_point_page.html"; + myHelpFileName = "find_element_by_point.html"; QList filters; filters.append( new SMESH_TypeFilter( SMESH::MESH ) ); @@ -346,7 +346,7 @@ void SMESHGUI_FindElemByPointOp::onCloseView() } //================================================================================ /*! - * \brief hilight found selected elements + * \brief highlight found selected elements */ //================================================================================ @@ -361,7 +361,7 @@ void SMESHGUI_FindElemByPointOp::onElemSelected() QList ids = myDlg->myFoundList->selectedItems(); QList::iterator id = ids.begin(); - TColStd_MapOfInteger idMap; + SVTK_TVtkIDsMap idMap; for ( ; id != ids.end(); ++id ) idMap.Add( (*id)->text().toInt() ); @@ -434,7 +434,7 @@ void SMESHGUI_FindElemByPointOp::onFind() if (aMeshEditor->_is_nil()) return; - SMESH::long_array_var foundIds; + SMESH::smIdType_array_var foundIds; if ( aMesh->_is_equivalent( myMeshOrPart ) ) foundIds = aMeshEditor->FindElementsByPoint( myDlg->myX->GetValue(), @@ -536,7 +536,7 @@ void SMESHGUI_FindElemByPointOp::redisplayPreview() myPreview->nodesXYZ[0].z = myDlg->myZ->GetValue(); if (!mySimulation) mySimulation = new SMESHGUI_MeshEditPreview(SMESH::GetViewWindow( mySMESHGUI )); - mySimulation->SetData(&myPreview.in()); + mySimulation->SetData( myPreview.in()); } //================================================================================