#include "utilities.h"
-//#ifdef _DEBUG_
+#ifdef _DEBUG_
static int MYDEBUG = 1;
-/*#else
+#else
static int MYDEBUG = 0;
-#endif*/
+#endif
SalomeApp_SVTKDataOwner
::SalomeApp_SVTKDataOwner( const Handle(SALOME_InteractiveObject)& theIO,
SalomeApp_VTKSelector
::SalomeApp_VTKSelector( SVTK_Viewer* viewer,
SUIT_SelectionMgr* mgr ):
- QObject( 0 ),
- SUIT_Selector( mgr ),
+ SUIT_Selector( mgr, viewer ),
myViewer( viewer )
{
if ( myViewer )
for( ; anIt.More(); anIt.Next() )
toRemove.remove( anIt.Value()->getEntry() );
-
-/* SALOME_ListIO aRemoveList;
- SALOME_ListIteratorOfListIO anAppendListIter(anAppendList);
- for(; anAppendListIter.More(); anAppendListIter.Next()){
- Handle(SALOME_InteractiveObject) anIO = anAppendListIter.Value();
- SALOME_ListIteratorOfListIO aStoredListIter(aStoredList);
- for(; aStoredListIter.More(); aStoredListIter.Next()){
- if(anIO->isSame(aStoredListIter.Value())){
- aRemoveList.Append(anIO);
- }
- }
- }
- SALOME_ListIteratorOfListIO aRemoveListIter(aRemoveList);*/
-
QMap< QString, Handle( SALOME_InteractiveObject )>::const_iterator RIt = toRemove.begin(),
REnd = toRemove.end();
for( ; RIt!=REnd; RIt++ )