- if (_stateFordware==true){
- //int fx = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[0]; // JPRx
- int fy = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[1];
- double delta = (_fordwareY - fy)/(3.0*3);
- /*JCP 14/05/2009
- _vtkInteractorStyleBaseView->GetWxVtk2DBaseView()->SetActualSlice( _sliceZ + delta);
- */
+ if (_stateFordware==true)
+ {
+ int fy = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[1];
+ double delta = (_fordwareY - fy)/(3.0*3);