X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHGUI%2FSMESHGUI_VTKUtils.h;h=c597fade7c55f5b830d7d0519f2a185b1fb3ed8c;hp=f94695cd58bd313e827965d3afc549aae22e2922;hb=aad151600a149b1c90b99632e1e63e76fabf9e29;hpb=5b66adc2500e9dfa50723ced5d9d0d4941119832 diff --git a/src/SMESHGUI/SMESHGUI_VTKUtils.h b/src/SMESHGUI/SMESHGUI_VTKUtils.h index f94695cd5..c597fade7 100644 --- a/src/SMESHGUI/SMESHGUI_VTKUtils.h +++ b/src/SMESHGUI/SMESHGUI_VTKUtils.h @@ -34,7 +34,6 @@ class SUIT_Study; class SUIT_ViewWindow; class SUIT_ViewManager; -class SVTK_InteractorStyle; class SVTK_ViewWindow; class SVTK_Selector; @@ -119,25 +118,25 @@ namespace SMESH{ //---------------------------------------------------------------------------- - SVTK_InteractorStyle* - GetInteractorStyle (SUIT_ViewWindow* = GetActiveWindow()); + SVTK_Selector* + GetSelector(SUIT_ViewWindow* = GetActiveWindow()); void SetFilter (const Handle(VTKViewer_Filter)& theFilter, - SVTK_InteractorStyle* theStyle = GetInteractorStyle()); + SVTK_Selector* theSelector = GetSelector()); Handle(VTKViewer_Filter) - GetFilter (int theId, SVTK_InteractorStyle* theStyle = GetInteractorStyle()); + GetFilter (int theId, SVTK_Selector* theSelector = GetSelector()); bool IsFilterPresent (int theId, - SVTK_InteractorStyle* theStyle = GetInteractorStyle()); + SVTK_Selector* theSelector = GetSelector()); void RemoveFilter (int theId, - SVTK_InteractorStyle* theStyle = GetInteractorStyle()); + SVTK_Selector* theSelector = GetSelector()); - void RemoveFilters (SVTK_InteractorStyle* theStyle = GetInteractorStyle()); + void RemoveFilters (SVTK_Selector* theSelector = GetSelector()); bool IsValid (SALOME_Actor* theActor, int theCellId, - SVTK_InteractorStyle* theStyle = GetInteractorStyle()); + SVTK_Selector* theSelector = GetSelector()); //---------------------------------------------------------------------------- int GetNameOfSelectedNodes(SVTK_Selector* theSelector,