Hi Eric,<br><br><div class="gmail_quote">On Tue, Mar 9, 2010 at 11:22 AM, Eric E. Monson <span dir="ltr"><<a href="mailto:emonson@cs.duke.edu">emonson@cs.duke.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Hey Marcus,<div><br></div><div>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. </div>
</div></blockquote><div><br></div><div>That is great - if there are further changes I should make I would appreciate you letting me know.</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div><br></div><div>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.</div>
</div></blockquote><div><br></div><div>I would love to add a translated version of the test line plot to the Python tests for the Charts module, if you are willing to contribute it I will add it as an extra test. I was going to add a double click event that did just what you suggested, but to my surprise could not find such an event in vtkCommand... I would like a double click event, and a hover event. I would also like to be able to change the cursor to convey some level of context. If you have any pointers on any of these I would appreciate it. In ParaView there is a button to zoom back out, but I agree having a mouse event would be ideal.<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><br></div><div>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.)</div>
</div></blockquote><div><br></div><div>Yes, selection is an important area. I will certainly let you know once I have this in a better state. I have some initial code in the line plots, but it requires more work. I will add in the bits you spotted to the CMakeLists and get it committed shortly.</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div style="word-wrap:break-word"><div><br></div><div>Thanks for the help and all the good work,</div></div></blockquote>
<div><br></div><div>I really appreciate the feedback, and having another pair of eyes looking over the Python wrapping is great.</div><div><br></div><div>Thanks,</div><div><br></div><div>Marcus</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div>On Mar 9, 2010, at 10:50 AM, Marcus D. Hanwell wrote:</div><div class="im"><div><div><br><blockquote type="cite">Hi Eric,<div><br></div><div>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...</div>

<div><br></div><div>The changes were made in VTK/Wrapping/Python, and are in HEAD now.</div><div><br></div><div>Marcus<br><br><div class="gmail_quote">On Tue, Mar 9, 2010 at 10:13 AM, Eric E. Monson <span dir="ltr"><<a href="mailto:emonson@cs.duke.edu" target="_blank">emonson@cs.duke.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hey Marcus,<div><br></div><div>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. </div>

<div><br></div><div>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.</div><div><br></div><div>Thanks,</div><div>-Eric</div><div><div>
<br></div><div><br><div><div>On Mar 9, 2010, at 9:49 AM, Marcus D. Hanwell wrote:</div><br><blockquote type="cite"><div class="gmail_quote"><div>Hi Eric,</div><div> </div><div>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?</div>


<div><br></div><div>They are also exposed in ParaView (both marked experimental in the views right now).</div><div><br></div><div>Thanks,</div><div><br></div><div>Marcus</div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">



<div><div></div></div></blockquote></div></blockquote></div></div></div></div></blockquote></div><br>
</div>
</blockquote></div><br></div></div></div></blockquote></div><br><br clear="all"><br>-- <br>Marcus D. Hanwell, Ph.D.<br>R&D Engineer, Kitware Inc.<br>(518) 881-4937<br>