[vtkusers] Use mouse to zoom and modify X and Y range in a vtkXYPlotActor

Rodrigo Valiña Gutiérrez rodrigo.valina at usc.es
Tue Apr 27 12:48:25 EDT 2010


I am creating a vtkXYPlotActor to show some series of 2D data.

Now I wanted to allow user to interactively zoom in and out, with the
mouse, and to select a concrete X-Y range to display. Is there any
simple way ? or will I have to put some wx controls to allow user type
the ranges ?

ParaView can be a reference, it allows zooming with the mouse weel
(e.g. when creating a 2D plot with the PlotOverLine filter).



More information about the vtkusers mailing list