vtkInteractorStyleRubberBand3D::OnMouseWheelForward/Backward crashing
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
I sent this email to vtk developers, but thought it would be good to log an "official" bug.
I checked out VTK source from the trunk today and built, and this view-based python script was crashing when I moved the mouse wheel back and forth:
from vtk import * source = vtkSphereSource() view = vtkRenderView() surfaceRep = vtkSurfaceRepresentation() surfaceRep.SetInputConnection(source.GetOutputPort()) view.AddRepresentation(surfaceRep) window = vtkRenderWindow() window.SetSize(600, 600) view.SetupRenderWindow(window) window.GetInteractor().Start()
It looks like this call is missing from the beginning of vtkInteractorStyleRubberBand3D::OnMouseWheelForward() and vtkInteractorStyleRubberBand3D::OnMouseWheelBackward() methods:
this->FindPokedRenderer(
this->Interactor->GetEventPosition()[0],
this->Interactor->GetEventPosition()[1]);
-Jon