if (_stateFordware==true)
{
int fy = _vtkInteractorStyleBaseView->GetInteractor()->GetEventPosition()[1];
- double delta = (_fordwareY - fy)/(3.0*3);
+ double delta = (_fordwareY - fy)/(20.0);
+ int direction = ((wxVtk2DBaseView*)_vtkInteractorStyleBaseView->GetWxVtk2DBaseView())->GetDirection( );
+ if ( (direction==0) || (direction==2) )
+ {
+ delta=(-1)*delta;
+ } // if direction
((wxVtk2DBaseView*)_vtkInteractorStyleBaseView->GetWxVtk2DBaseView())->SetActualSlice( _sliceZ + (int)delta );
this->_vtkInteractorStyleBaseView->SetParent_refresh_waiting();
} // if _stateFordware