Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / OCCViewer / OCCViewer_Viewer3d.h
index ca33a84fb4a32433e68faabd90c492159d9447bb..f9433e2902a55c958c77890a71c0603026d7f871 100644 (file)
@@ -1,18 +1,35 @@
-//  File      : OCCViewer_Viewer3d.h
-//  Created   : Wed Mar 20 11:00:02 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_Viewer3d.h
+//  Author : Nicolas REJNERI
+//  Module : SALOME
 //  $Header$
 
-
 #ifndef OCCVIEWER_VIEWER3D_H
 #define OCCVIEWER_VIEWER3D_H
 
-#include "OCCViewer_ViewFrame.h"
-#include "OCCViewer_AISSelector.h"
-
+#include "OCCViewer_ViewPort.h"
 #include "QAD.h"
 #include "QAD_Popup.h"
 #include "QAD_ViewFrame.h"
@@ -22,6 +39,9 @@
 #include <AIS_InteractiveContext.hxx>
 #include <AIS_Trihedron.hxx>
 
+class OCCViewer_ViewFrame;
+class OCCViewer_AISSelector;
+
 class QAD_EXPORT OCCViewer_Viewer3d : public QObject, public QAD_PopupClientServer
 {
   Q_OBJECT
@@ -105,6 +125,11 @@ protected:
 protected:
  OCCViewer_ViewFrame*           myViewFrame;
 
+private:
+
+  void                   globalSelectionDone( const bool );
+  void                   localSelectionDone ( const bool );
+
  Handle (AIS_InteractiveContext) myAISContext;
  OCCViewer_AISSelector*                 myAISSelector;
  bool                           myEnableSelection;