]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtkBaseView.cxx
Comment out unused variables
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / wxVtkBaseView.cxx
index a090ea23019315d69916de4cc57bf8774743dbc9..5fe48b74d73a43d6e68923a6edc5425df8252c54 100644 (file)
@@ -533,7 +533,7 @@ bool vtkInteractorScrollZ::OnRightButtonUp()
 bool vtkInteractorScrollZ::OnMouseMove () 
 {
        if (_stateFordware==true){
-           int fx = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[0];
+           //int fx = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[0];
         int fy = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[1];
                int delta = (_fordwareY - fy)/3;
                _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->SetActualSlice( _sliceZ + delta);
@@ -1015,16 +1015,16 @@ void  vtkInteractorStyleBaseView3D::OnMouseMove ()
 
 //             this->vtkInteractorStyleTrackballCamera::OnMouseMove();
 
-  int x = this->Interactor->GetEventPosition()[0];
-  int y = this->Interactor->GetEventPosition()[1];
// int x = this->Interactor->GetEventPosition()[0];
// int y = this->Interactor->GetEventPosition()[1];
 
 
-  vtkRenderWindowInteractor *rwi = this->Interactor;
// vtkRenderWindowInteractor *rwi = this->Interactor;
 
-  int lx =  rwi->GetLastEventPosition()[0];
-  int ly =  rwi->GetLastEventPosition()[1];
-  int dx = rwi->GetEventPosition()[0] ;
-  int dy = rwi->GetEventPosition()[1] ;
// int lx =  rwi->GetLastEventPosition()[0];
// int ly =  rwi->GetLastEventPosition()[1];
// int dx = rwi->GetEventPosition()[0] ;
// int dy = rwi->GetEventPosition()[1] ;
 
 
   switch (this->State)