Salome HOME
DCQ : Merge with Ecole_ete_a6.
[modules/kernel.git] / src / OCCViewer / OCCViewer_ViewFrame.h
index 6c156bc6dddac7f8fce7fd8b7c3428aac3cb1ded..46bdb4af754170a0601ebb7fb42302778c05d17e 100644 (file)
@@ -1,9 +1,29 @@
-//  File      : OCCViewer_ViewFrame.h
-//  Created   : Wed Mar 20 10:53:24 2002
-//  Author    : Nicolas REJNERI
-//  Project   : SALOME
-//  Module    : OCCViewer
-//  Copyright : Open CASCADE 2002
+//  SALOME OCCViewer : build OCC Viewer into Salome desktop
+//
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  This library is free software; you can redistribute it and/or 
+//  modify it under the terms of the GNU Lesser General Public 
+//  License as published by the Free Software Foundation; either 
+//  version 2.1 of the License. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  License along with this library; if not, write to the Free Software 
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
+// 
+//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : OCCViewer_ViewFrame.h
+//  Author : Nicolas REJNERI
+//  Module : SALOME
 //  $Header$
 
 #ifndef OCCViewer_ViewFrame_H
@@ -11,6 +31,7 @@
 
 #include "OCCViewer_ViewPort.h"
 #include "QAD_ViewFrame.h"
+#include "SALOME_Selection.h"
 
 class OCCViewer_Viewer3d;
 class QAD_EXPORT OCCViewer_ViewFrame : public QAD_ViewFrame
@@ -44,10 +65,8 @@ class QAD_EXPORT OCCViewer_ViewFrame : public QAD_ViewFrame
   void              setCursor( const QCursor& );
   QCursor           cursor() const;
 
-  void              SetSelectionMode( int mode ) {};
-
-  void              SetTrihedronSize( int dim );
-
+  void              SetSelectionMode( Selection_Mode mode ) {};
+  
   /*  popup management */
   void              setPopupServer( QAD_Application* );
 
@@ -114,6 +133,7 @@ class QAD_EXPORT OCCViewer_ViewFrame : public QAD_ViewFrame
   void           onViewBottom();
   void           onViewTop();
   void           onViewTrihedron(); 
+  void           onAdjustTrihedron();
  
  protected:
   OCCViewer_Viewer3d*      myViewer;    // my owner