[vtk-developers] vtkInteractorStyleRubberBand3D::OnMouseWheelForward/Backward crashing
Jeff Baumes
jeff.baumes at kitware.com
Fri Mar 7 16:10:54 EST 2008
This is now fixed. Thanks for bringing it up.
Jeff
On 2/29/08, Goldman, Jon <jgoldma at sandia.gov> wrote:
> Hi,
>
> 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
>
> _______________________________________________
> vtk-developers mailing list
> vtk-developers at vtk.org
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
--
Jeff Baumes, Ph.D.
R&D Engineer, Kitware Inc.
(518) 371-3971 x132
jeff.baumes at kitware.com
More information about the vtk-developers
mailing list