[vtk-developers] Charts in VTK and ParaView
Eric E. Monson
emonson at cs.duke.edu
Tue Mar 9 11:22:39 EST 2010
Cool. I got it to work on my end, too and was able to run my translated version of TestLinePlot. I'll take a look at the changes you made and see if they match up with mine. I'll also let you know how all the charts stuff works for me once I play around a bit more.
The only thing I have found a bit awkward so far is getting zoomed back out to see all of my data once I have done a zoom in on a region of a plot (using the rubber band). If I then use the scroll wheel to zoom out, the plot keeps the same aspect ratio, which is sometimes quite distorted, and then I need to do another rubber-band zoom to try to get all the plots to re-fill the axes. The old charting I guess limited the scroll-wheel zoom out to the extent of the data on each axis, so once one dimension filled its axis range, the other would keep going until it filled it, too. This was probably fine, but I guess I'm used to Matlab where there is a separate zoom tool, and if you're using it you can double-click and it will do a reset of both axes to their natural ranges to show the whole data extent.
The other big thing I'm looking forward to is selections working with Charts. I have a big project just starting where seeing and making selections in charts will be important. I know you're working on it, but just be sure to let us know when it's up and running! :) (As an additional note on this, I kind of like how they did the new parallel coordinates view where there are separate interaction modes (or, I guess then call them "inspect modes") for manipulating axes and data selection.)
Thanks for the help and all the good work,
On Mar 9, 2010, at 10:50 AM, Marcus D. Hanwell wrote:
> Hi Eric,
> I committed some improvements, now from the build directory I can run vtkpython and import vtk.charts. There is probably more to do still, and I would appreciate feedback on how well this is working. I may not have caught all of the install rules, and need to look into doing the same for Tcl and Java. I thought more of this was automated...
> The changes were made in VTK/Wrapping/Python, and are in HEAD now.
> On Tue, Mar 9, 2010 at 10:13 AM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> Hey Marcus,
> Okay, I'm seeing it more clearly now. (It was probably too late in the afternoon yesterday...) It looks like it's wrapped, but just not installed along with the other python libraries in the VTK module.
> I'll play around with it and see if I can get it up and running. Let me know if you or someone else gets it working there.
> On Mar 9, 2010, at 9:49 AM, Marcus D. Hanwell wrote:
>> Hi Eric,
>> I will look into this, I know that they are wrapped in Python, but I think there is a little bit of Python code I need to add in order to make it follow the same semantics as other modules. How are you trying to import the module in Python?
>> They are also exposed in ParaView (both marked experimental in the views right now).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtk-developers