-// 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
#include "OCCViewer_ViewPort.h"
#include "QAD_ViewFrame.h"
+#include "SALOME_Selection.h"
class OCCViewer_Viewer3d;
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* );
void onViewBottom();
void onViewTop();
void onViewTrihedron();
+ void onAdjustTrihedron();
protected:
OCCViewer_Viewer3d* myViewer; // my owner