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
bos #26432 [CEA 26431] import/export SAUV removal
[modules/smesh.git]
/
src
/
SMESHGUI
/
SMESHGUI_VTKUtils.cxx
diff --git
a/src/SMESHGUI/SMESHGUI_VTKUtils.cxx
b/src/SMESHGUI/SMESHGUI_VTKUtils.cxx
index 39966b6d679b11adba7545687ee1b8e4adc5086a..e3d6adeab7f29434b546e565a93955d8a0e52dad 100644
(file)
--- a/
src/SMESHGUI/SMESHGUI_VTKUtils.cxx
+++ b/
src/SMESHGUI/SMESHGUI_VTKUtils.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-202
0
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-202
1
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-1194,7
+1194,7
@@
namespace SMESH
QString& theName)
{
theName = "";
QString& theName)
{
theName = "";
-
TColStd_IndexedMapOfInteger
aMapIndex;
+
SVTK_TIndexedMapOfVtkId
aMapIndex;
theSelector->GetIndex(theIO,aMapIndex);
for(int i = 1; i <= aMapIndex.Extent(); i++)
theSelector->GetIndex(theIO,aMapIndex);
for(int i = 1; i <= aMapIndex.Extent(); i++)
@@
-1208,10
+1208,10
@@
namespace SMESH
QString& theName)
{
theName = "";
QString& theName)
{
theName = "";
-
TColStd_IndexedMapOfInteger
aMapIndex;
+
SVTK_TIndexedMapOfVtkId
aMapIndex;
theSelector->GetIndex(theIO,aMapIndex);
theSelector->GetIndex(theIO,aMapIndex);
- typedef std::set<
int
> TIdContainer;
+ typedef std::set<
vtkIdType
> TIdContainer;
TIdContainer anIdContainer;
for( int i = 1; i <= aMapIndex.Extent(); i++)
anIdContainer.insert(aMapIndex(i));
TIdContainer anIdContainer;
for( int i = 1; i <= aMapIndex.Extent(); i++)
anIdContainer.insert(aMapIndex(i));
@@
-1226,8
+1226,8
@@
namespace SMESH
int GetEdgeNodes(SVTK_Selector* theSelector,
const TVisualObjPtr& theVisualObject,
int GetEdgeNodes(SVTK_Selector* theSelector,
const TVisualObjPtr& theVisualObject,
-
int
& theId1,
-
int
& theId2)
+
::smIdType
& theId1,
+
::smIdType
& theId2)
{
const SALOME_ListIO& selected = theSelector->StoredIObjects();
{
const SALOME_ListIO& selected = theSelector->StoredIObjects();
@@
-1238,14
+1238,14
@@
namespace SMESH
if ( anIO.IsNull() || !anIO->hasEntry() )
return -1;
if ( anIO.IsNull() || !anIO->hasEntry() )
return -1;
-
TColStd_IndexedMapOfInteger
aMapIndex;
+
SVTK_TIndexedMapOfVtkId
aMapIndex;
theSelector->GetIndex( anIO, aMapIndex );
if ( aMapIndex.Extent() != 2 )
return -1;
theSelector->GetIndex( anIO, aMapIndex );
if ( aMapIndex.Extent() != 2 )
return -1;
-
int
anObjId = -1, anEdgeNum = -1;
- for (
int
i = 1; i <= aMapIndex.Extent(); i++ ) {
-
int
aVal = aMapIndex( i );
+
::smIdType
anObjId = -1, anEdgeNum = -1;
+ for (
::smIdType
i = 1; i <= aMapIndex.Extent(); i++ ) {
+
::smIdType
aVal = aMapIndex( i );
if ( aVal > 0 )
anObjId = aVal;
else
if ( aVal > 0 )
anObjId = aVal;
else
@@
-1343,7
+1343,7
@@
namespace SMESH
}
}
- int GetEdgeNodes( LightApp_SelectionMgr* theMgr,
int& theId1, int
& theId2 )
+ int GetEdgeNodes( LightApp_SelectionMgr* theMgr,
::smIdType& theId1, ::smIdType
& theId2 )
{
SALOME_ListIO selected; theMgr->selectedObjects( selected );
{
SALOME_ListIO selected; theMgr->selectedObjects( selected );
@@
-1363,9
+1363,9
@@
namespace SMESH
if ( aMapIndex.Extent() != 2 )
return -1;
if ( aMapIndex.Extent() != 2 )
return -1;
-
int
anObjId = -1, anEdgeNum = -1;
- for (
int
i = 1; i <= aMapIndex.Extent(); i++ ) {
-
int
aVal = aMapIndex( i );
+
::smIdType
anObjId = -1, anEdgeNum = -1;
+ for (
::smIdType
i = 1; i <= aMapIndex.Extent(); i++ ) {
+
::smIdType
aVal = aMapIndex( i );
if ( aVal > 0 )
anObjId = aVal;
else
if ( aVal > 0 )
anObjId = aVal;
else