}
//---------------------------------------------------------------------------
-void vtkInteractorStyleBaseView3D::OnLeftButtonDown ()
+void vtkInteractorStyleBaseView3D::OnLeftButtonDown()
{
+// printf("EED creaMaracasVisu::vtkInteractorStyleBaseView3D::OnLeftButtonDown \n");
vtkInteractorStyleBaseView::OnLeftButtonDown();
/*
if (GetInteractor()->GetControlKey()==1 ){
return;
}
+
+ if ((GetInteractor()->GetControlKey()==0) && (GetInteractor()->GetShiftKey()==1) )
+ {
+ this->vtkInteractorStyleImage::OnLeftButtonDown();
+ }
+
+
if (this->Interactor->GetControlKey()) {
this->StartPan();
} else {
this->StartRotate();
}
+
+
+
/*
if (this->Interactor->GetShiftKey())
{
// this->vtkInteractorStyleTrackballCamera::OnMiddleButtonUp();
}
+
+
+//---------------------------------------------------------------------------
+void vtkInteractorStyleBaseView3D::OnMouseWheelForward () // virtual
+{
+ vtkInteractorStyleBaseView::OnMouseWheelForward();
+ if ((GetInteractor()->GetControlKey()==0) || (GetInteractor()->GetShiftKey()==0) )
+ {
+ this->vtkInteractorStyleImage::OnMouseWheelForward();
+ }
+}
+
+//---------------------------------------------------------------------------
+void vtkInteractorStyleBaseView3D::OnMouseWheelBackward () // virtual
+{
+ vtkInteractorStyleBaseView::OnMouseWheelBackward();
+ if ((GetInteractor()->GetControlKey()==0) || (GetInteractor()->GetShiftKey()==0) )
+ {
+ this->vtkInteractorStyleImage::OnMouseWheelBackward();
+ }
+}