int GetEdgeNodes(SVTK_Selector* theSelector,
const TVisualObjPtr& theVisualObject,
- smIdType& theId1,
- smIdType& theId2)
+ ::smIdType& theId1,
+ ::smIdType& theId2)
{
const SALOME_ListIO& selected = theSelector->StoredIObjects();
if ( aMapIndex.Extent() != 2 )
return -1;
- smIdType anObjId = -1, anEdgeNum = -1;
- for ( smIdType i = 1; i <= aMapIndex.Extent(); i++ ) {
- smIdType 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
}
- int GetEdgeNodes( LightApp_SelectionMgr* theMgr, smIdType& theId1, smIdType& theId2 )
+ int GetEdgeNodes( LightApp_SelectionMgr* theMgr, ::smIdType& theId1, ::smIdType& theId2 )
{
SALOME_ListIO selected; theMgr->selectedObjects( selected );
if ( aMapIndex.Extent() != 2 )
return -1;
- smIdType anObjId = -1, anEdgeNum = -1;
- for ( smIdType i = 1; i <= aMapIndex.Extent(); i++ ) {
- smIdType 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