Salome HOME
Merge modifications for HYDRO project (origin/hydro/imps_2017_salome_83 branch)
[modules/gui.git] / src / OCCViewer / OCCViewer_ViewWindow.h
index 50a9976c1f614a83fe861805aef01153b7546167..57165f3bff5cfb7df4a4968352e164fca3dbc966 100755 (executable)
@@ -39,7 +39,6 @@ class OCCViewer_SetRotationPointDlg;
 class OCCViewer_Viewer;
 class OCCViewer_CubeAxesDlg;
 class QtxAction;
-class gp_XYZ;
 
 struct viewAspect
 {
@@ -277,6 +276,8 @@ public:
   bool isActionVisible( ActionId theId ) const;
   void setActionVisible( ActionId theId, bool isVisible );
 
+  void resetState();
+
 public slots:
   virtual void onFrontView();
   virtual void onViewFitAll();
@@ -362,7 +363,6 @@ protected:
   void vpMouseReleaseEvent(QMouseEvent* theEvent);
   void vpMouseMoveEvent(QMouseEvent* theEvent);
 
-  void resetState();
   void drawRect();
   void endDrawRect();
 
@@ -375,9 +375,7 @@ protected:
 
   bool computeGravityCenter( double& theX, double& theY, double& theZ );
 
-  bool computeGravityCenter1(gp_XYZ& gravityCenter);
-
-  void ProjAndPanToGravity(V3d_TypeOfOrientation CamOri);
+  void projAndPanToGravity(V3d_TypeOfOrientation CamOri);
 
   virtual void                          onSketchingStarted();
   virtual void                          onSketchingFinished();