Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'OCCT780'
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_FindElemByPointDlg.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx
b/src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx
index 701fef8e4480b2b30c853d40b5dc5efe61e509e1..dfd43198d2036af8f18363955c2cc232127f999c 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_FindElemByPointDlg.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16 CEA/DEN, EDF R&D
, OPEN CASCADE
+// Copyright (C) 2007-20
24 CEA, EDF
, OPEN CASCADE
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-361,7
+361,7
@@
void SMESHGUI_FindElemByPointOp::onElemSelected()
QList<QListWidgetItem *> ids = myDlg->myFoundList->selectedItems();
QList<QListWidgetItem*>::iterator id = ids.begin();
QList<QListWidgetItem *> ids = myDlg->myFoundList->selectedItems();
QList<QListWidgetItem*>::iterator id = ids.begin();
-
TColStd_MapOfInteger
idMap;
+
SVTK_TVtkIDsMap
idMap;
for ( ; id != ids.end(); ++id )
idMap.Add( (*id)->text().toInt() );
for ( ; id != ids.end(); ++id )
idMap.Add( (*id)->text().toInt() );
@@
-434,7
+434,7
@@
void SMESHGUI_FindElemByPointOp::onFind()
if (aMeshEditor->_is_nil())
return;
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(),
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 ));
myPreview->nodesXYZ[0].z = myDlg->myZ->GetValue();
if (!mySimulation)
mySimulation = new SMESHGUI_MeshEditPreview(SMESH::GetViewWindow( mySMESHGUI ));
- mySimulation->SetData( myPreview.
_ret
n());
+ mySimulation->SetData( myPreview.
i
n());
}
//================================================================================
}
//================================================================================