]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix on Bug11663
authorapo <apo@opencascade.com>
Tue, 18 Apr 2006 08:42:46 +0000 (08:42 +0000)
committerapo <apo@opencascade.com>
Tue, 18 Apr 2006 08:42:46 +0000 (08:42 +0000)
   There is the same 3D popup for all VTK viewers in "Mesh".
(to provide a way to find an active view through the SUIT_Desktop usage)

src/SVTK/SVTK_ViewManager.cxx
src/SVTK/SVTK_ViewManager.h

index 4822bf63929f04f9bfa7afa976cfcc09c5a0e36d..04dc0f3f477191591bd7eef21f3b4304870d961c 100644 (file)
@@ -35,6 +35,12 @@ SVTK_ViewManager::~SVTK_ViewManager()
 {
 }
 
+//***************************************************************
+SUIT_Desktop* SVTK_ViewManager::getDesktop()
+{
+  return myDesktop;
+}
+
 //***************************************************************
 void SVTK_ViewManager::setViewName(SUIT_ViewWindow* theView)
 {
index b200ccc5bd5df9ade5e993fd9cc9a3409f99c892..977a286ff402b163fbb28b751695807015b0dc4e 100644 (file)
@@ -36,6 +36,8 @@ public:
   //! Destroy the view manager
   virtual ~SVTK_ViewManager();
 
+  SUIT_Desktop* getDesktop();
+
 protected:
   void setViewName( SUIT_ViewWindow* theView );