]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To sinhronize primary and secondary Gauss Viewes
authorapo <apo@opencascade.com>
Wed, 21 Sep 2005 12:03:57 +0000 (12:03 +0000)
committerapo <apo@opencascade.com>
Wed, 21 Sep 2005 12:03:57 +0000 (12:03 +0000)
src/VVTK/VVTK_ViewWindow.cxx
src/VVTK/VVTK_ViewWindow.h

index 5a6629794b1e709a3bb64064e4216d31aee157cb..e5ffb4e100265a7581b199c7bfe1dfe282e74e6d 100755 (executable)
@@ -168,6 +168,26 @@ VVTK_ViewWindow
   myMainWindow2->Repaint(theUpdateTrihedron);
 }
 
+//----------------------------------------------------------------
+void 
+VVTK_ViewWindow
+::unHighlightAll() 
+{
+  myView1->unHighlightAll();
+  myView2->unHighlightAll();
+}
+
+//----------------------------------------------------------------
+void
+VVTK_ViewWindow
+::highlight(const Handle(SALOME_InteractiveObject)& theIO, 
+           bool theIsHighlight, 
+           bool theIsUpdate ) 
+{
+  myView1->highlight( theIO, theIsHighlight, theIsUpdate );
+  myView2->highlight( theIO, theIsHighlight, theIsUpdate );
+}
+
 //----------------------------------------------------------------
 void
 VVTK_ViewWindow
index 90134e222fcb7fb6aef98a5a09691e5d50fe2406..472420f832c17cbdd1ae481d99aec0320d32cf23 100755 (executable)
@@ -40,6 +40,16 @@ public:
   void
   Repaint(bool theUpdateTrihedron = true);
 
+  /*  interactive object management */
+  virtual
+  void
+  highlight(const Handle(SALOME_InteractiveObject)& theIO, 
+           bool theIsHighlight = true, 
+           bool theIsUpdate = true);
+  virtual
+  void
+  unHighlightAll();
+
 public slots:
   virtual
   void