-// 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"
#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
protected:
OCCViewer_ViewFrame* myViewFrame;
+private:
+
+ void globalSelectionDone( const bool );
+ void localSelectionDone ( const bool );
+
Handle (AIS_InteractiveContext) myAISContext;
OCCViewer_AISSelector* myAISSelector;
bool myEnableSelection;