if ((GetInteractor()->GetControlKey()==1) && (GetInteractor()->GetShiftKey()==0) ){
this->vtkInteractorStyleImage::OnRightButtonDown();
}
-
}
//---------------------------------------------------------------------------
}
}
+//---------------------------------------------------------------------------
+void vtkInteractorStyleBaseView2D::OnMouseWheelForward () // virtual
+{
+ vtkInteractorStyleBaseView::OnMouseWheelForward();
+ if ((GetInteractor()->GetControlKey()==0) || (GetInteractor()->GetShiftKey()==0) )
+ {
+ this->vtkInteractorStyleImage::OnMouseWheelForward();
+ }
+}
+
+//---------------------------------------------------------------------------
+void vtkInteractorStyleBaseView2D::OnMouseWheelBackward () // virtual
+{
+ vtkInteractorStyleBaseView::OnMouseWheelBackward();
+ if ((GetInteractor()->GetControlKey()==0) || (GetInteractor()->GetShiftKey()==0) )
+ {
+ this->vtkInteractorStyleImage::OnMouseWheelBackward();
+ }
+}
+
+