[vtkusers] Problem with zoom, using vtkOpenGLCamera and vtkImagePlaneWidget
Sebastien Jourdain
sebastien.jourdain at kitware.com
Thu Jun 24 12:48:17 EDT 2010
A ResetCamera seems to be called on your 2D view when an update is
done on your cut. Hope this could give you some clue on what is going
on.
Seb
2010/6/24 Álvaro González Lorente <sapito_verbenero at hotmail.com>:
> Hello,
> I am using vtkImagePlaneWidget to cut a volume in a 3D space, displaying the
> cut in other 2D view window too. Everytime time I move this plane, I capture
> the event and update the cut information by calling a procedure I have
> implemented. Everything works fine, except for the following thing: if I
> zoom the view of the volume cut in my 2D window with the mouse scroll wheel,
> and then move the plane again, I lose the zoom view, going back to the
> original position of the camera.
> Could anyone tell me how could I avoid losing the zoomed view while moving
> the plane? Do I need to change some flag in the vtkOpenGLCamera I am using?
> Is it maybe related to the wxpython GUI I am using?
> Regards, and thanks in advance
>
>
> ________________________________
> Disfruta de Hotmail y Messenger en tu móvil con YOIGO. ¡Hazlo ya!
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
More information about the vtkusers
mailing list