Salome HOME
Moved some functionality to VTKViewer_Utilities.h
[modules/kernel.git] / src / OCCViewer / OCCViewer_ViewPort.h
index 77f8bb136a6e30521a22d133335348c767ffa51e..6f80c7816025573f780a351ea09be051a94b9589 100644 (file)
@@ -1,12 +1,31 @@
-//  File      : OCCViewer_ViewPort.h
-//  Created   : Wed Mar 20 10:41:50 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_ViewPort.h
+//  Author : Nicolas REJNERI
+//  Module : SALOME
 //  $Header$
 
-
 #ifndef OCCViewer_ViewPort_H
 #define OCCViewer_ViewPort_H
 
@@ -110,7 +129,12 @@ public:
   
   virtual void   fitAll( bool withZ = true ) = 0;
   virtual void   reset() = 0;
-  
+
+  virtual void    incrementalPan   ( const int incrX, const int incrY ) = 0;
+  virtual void    incrementalZoom  ( const int incr ) = 0;
+  virtual void    incrementalRotate( const int incrX, const int incrY ) = 0;
+
+  /* background color */
   virtual QColor  backgroundColor() const;
   virtual void    setBackgroundColor( const QColor& color) = 0;