Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / OCCViewer / OCCViewer_ViewPort3d.h
index 93b0f0c5a5ba34328f0e8c1bb5ffb64307af9a97..e36ca9de2a62a31e9544fd3363af0b842bf15216 100644 (file)
@@ -1,9 +1,29 @@
-//  File      : OCCViewer_ViewPort3d.h
-//  Created   : Wed Mar 20 10:48:51 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_ViewPort3d.h
+//  Author : Nicolas REJNERI
+//  Module : SALOME
 //  $Header$
 
 #ifndef OCCViewer_ViewPort3d_H
@@ -51,6 +71,10 @@ class QAD_EXPORT OCCViewer_ViewPort3d: public OCCViewer_ViewPort
   void                   fitAll( bool withZ = true );
   void                   reset();
 
+  void                    incrementalPan   ( const int incrX, const int incrY );
+  void                    incrementalZoom  ( const int incr );
+  void                    incrementalRotate( const int incrX, const int incrY );
+
   /* background */
   void                   setBackgroundColor( const QColor& color);     
   QColor                 backgroundColor() const;