//
// _vtkInteractorScrollZ = new vtkInteractorScrollZ();
// AddInteractorStyleMaracas(_vtkInteractorScrollZ);
+ //
+ //_vtkInteractorZoomCamera = interactorZoomcamera;
+ //AddInteractorStyleMaracas(_vtkInteractorZoomCamera);
+ //
+ //
////////////
}
//---------------------------------------------------------------------------
AddInteractorStyleMaracas(_manualinteractorwindowlevel);
}
+
+//---------------------------------------------------------------------------
+void vtkInteractorStyleBaseView2D::SetInteractorZoomCamera(vtkInteractorZoomCamera* interactorZoomcamera)
+{
+ _vtkInteractorZoomCamera = interactorZoomcamera;
+ AddInteractorStyleMaracas(_vtkInteractorZoomCamera);
+}
+
+
//---------------------------------------------------------------------------
void vtkInteractorStyleBaseView2D::OnRightButtonDown() // virtual
{
vtkInteractorStyleBaseView::OnRightButtonDown();
- if ((GetInteractor()->GetControlKey()==1) && (GetInteractor()->GetShiftKey()==0) ){
+ if ((GetInteractor()->GetControlKey()==1) && (GetInteractor()->GetShiftKey()==0) )
+ {
this->vtkInteractorStyleImage::OnRightButtonDown();
}
}
vtkInteractorStyleBaseView::OnRightButtonUp();
this->vtkInteractorStyleImage::OnRightButtonUp();
}
+
//---------------------------------------------------------------------------
void vtkInteractorStyleBaseView2D::OnMouseMove () // virtual
{
vtkInteractorStyleBaseView::OnMouseMove();
this->vtkInteractorStyleImage::OnMouseMove();
}
+
//---------------------------------------------------------------------------
void vtkInteractorStyleBaseView2D::OnLeftButtonDown() // virtual
{
this->vtkInteractorStyleImage::OnLeftButtonDown();
}
}
+
//---------------------------------------------------------------------------
void vtkInteractorStyleBaseView2D::OnLeftButtonUp () // virtual
{
this->vtkInteractorStyleImage::OnLeftButtonUp();
}
+
//---------------------------------------------------------------------------
void vtkInteractorStyleBaseView2D::OnMiddleButtonDown () // virtual
{
this->vtkInteractorStyleImage::OnLeftButtonDown();
}
}
+
//---------------------------------------------------------------------------
void vtkInteractorStyleBaseView2D::OnMiddleButtonUp () // virtual
{