X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESH_SWIG_WITHIHM%2FlibSMESH_Swig.cxx;h=cae25ae0e5ddb538acd529d895b300653c6961db;hp=b15711998a4edb82d98cb10eaecf5325d9ce5eb9;hb=b09372829929f8f561495d6c16527134971a1909;hpb=aae0e72c350c31c43d151132f0c7e302a6b79ad2 diff --git a/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx b/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx index b15711998..cae25ae0e 100644 --- a/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx +++ b/src/SMESH_SWIG_WITHIHM/libSMESH_Swig.cxx @@ -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,7 +2047,7 @@ 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++ ) {