#include "SVTK_ViewModel.h"
#include "SVTK_ViewManager.h"
-#include "SVTK_Event.h"
#include "SVTK_MainWindow.h"
+#include "VVTK_Event.h"
#include "VisuGUI_Prs3dTools.h"
}
else if ( pref == "spacemouse_func1_btn" ) {
val = resMgr->integerValue( "VISU", pref, 1 );
- aMainWindow->InvokeEvent( SVTK::SetSpaceMouseF1Event, &val );
+ aMainWindow->InvokeEvent( SVTK::SetSMDecreaseSpeedEvent, &val );
}
else if ( pref == "spacemouse_func2_btn" ) {
val = resMgr->integerValue( "VISU", pref, 2 );
- aMainWindow->InvokeEvent( SVTK::SetSpaceMouseF2Event, &val );
+ aMainWindow->InvokeEvent( SVTK::SetSMIncreaseSpeedEvent, &val );
}
else if ( pref == "spacemouse_func3_btn" ) {
val = resMgr->integerValue( "VISU", pref, 10 );
- aMainWindow->InvokeEvent( SVTK::SetSpaceMouseF3Event, &val );
+ aMainWindow->InvokeEvent( VVTK::SetSMDecreaseMagnificationEvent, &val );
}
else if ( pref == "spacemouse_func4_btn" ) {
val = resMgr->integerValue( "VISU", pref, 11 );
- aMainWindow->InvokeEvent( SVTK::SetSpaceMouseF4Event, &val );
+ aMainWindow->InvokeEvent( VVTK::SetSMIncreaseMagnificationEvent, &val );
}
else if ( pref == "spacemouse_func5_btn" ) {
val = resMgr->integerValue( "VISU", pref, 9 );
- aMainWindow->InvokeEvent( SVTK::SetSpaceMouseF5Event, &val );
+ aMainWindow->InvokeEvent( SVTK::SetSMDominantCombinedSwitchEvent, &val );
}
}