X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSMESH_SWIG_WITHIHM%2FlibSMESH_Swig.cxx;h=0e89bf85daae245f3895a874a55b7d5f8a235348;hb=HEAD;hp=c34a9b1277c4f7e6560285e292e1ef5d73b026c5;hpb=385d4cede5f752d0eec26c306f3b5e14511e2a3d;p=modules%2Fsmesh.git diff --git a/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx b/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx index c34a9b127..0e89bf85d 100644 --- a/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx +++ b/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2019 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2024 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 @@ -1510,7 +1510,7 @@ const char* SMESH_Swig::AddNewAlgorithm(const char* ior, const char* name) ///////////////////////////////////////////////////////////////// /// \deprecated Publishing is done automatically. -/// \deprecated Synonim of AddNewAlgorithm(). +/// \deprecated Synonym of AddNewAlgorithm(). /// \param ior IOR of the algorithm. /// \param name Name of the algorithm (optional). /// \return UID of the data object. @@ -1739,7 +1739,7 @@ public: if ( vw->SelectionMode() == ActorSelection ) return; - TColStd_MapOfInteger idMap; + SVTK_TVtkIDsMap idMap; std::vector::const_iterator it; for ( it = myIds.begin(); it != myIds.end(); ++it ) { @@ -1834,11 +1834,11 @@ public: if ( vw->SelectionMode() != EdgeOfCellSelection ) return; - SVTK_IndexedMapOfIds idMap; + SVTK_IndexedMapOfVtkIds idMap; std::vector >::const_iterator it; for ( it = myIds.begin(); it != myIds.end(); ++it ) { - std::vector pair; + std::vector pair; pair.push_back( (*it).first ); pair.push_back( (*it).second ); idMap.Add( pair ); @@ -1991,11 +1991,11 @@ public: if ( !actor || !actor->hasIO() ) return; - TColStd_IndexedMapOfInteger idMap; + SVTK_TIndexedMapOfVtkId idMap; selector->GetIndex( actor->getIO(), idMap ); for ( int i = 1; i <= idMap.Extent(); i++ ) - myResult.push_back( idMap( i ) ); + myResult.push_back( (int)idMap( i ) ); } }; @@ -2047,12 +2047,12 @@ public: if ( !actor || !actor->hasIO() ) return; - SVTK_IndexedMapOfIds idMap; + SVTK_IndexedMapOfVtkIds idMap; selector->GetCompositeIndex( actor->getIO(), idMap ); for ( int i = 1; i <= idMap.Extent(); i++ ) { myResult.push_back( std::make_pair( (int)idMap(i)[0], (int)idMap(i)[1]) ); - } + } } };