<div class="gmail_quote">On Mon, Mar 8, 2010 at 4:06 PM, 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;">
Hey Marcus,<br>
<br>
Thanks for filling us in on the new Charts progress.<br>
<br>
I was going to try playing around with it today, but I tend to do my prototyping in Python and I found that with (today's) CVS VTK I couldn't access any of the new charts API classes.<br>
<br>
Are they not wrapped in Python, or is it likely I'm just doing something wrong?<br>
<br></blockquote><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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div><div></div><div class="h5"><br>
On Feb 16, 2010, at 1:33 PM, Marcus D. Hanwell wrote:<br>
<br>
> Hi,<br>
><br>
> I wanted to give a summary of the progress made with charts in VTK and<br>
> ParaView. Over the last couple of weeks I have been working on integrating the<br>
> new VTK/OpenGL based charts into ParaView. I have the necessary proxies and<br>
> filters in place so that you can now select the columns of the table to be<br>
> plotted. This work is all in VTK/ParaView CVS head.<br>
><br>
> <a href="http://www.vtk.org/Wiki/VTK/Charts/ChartAPI#Newer_Screenshot_in_ParaView" target="_blank">http://www.vtk.org/Wiki/VTK/Charts/ChartAPI#Newer_Screenshot_in_ParaView</a><br>
><br>
> I have been working on achieving feature parity with the existing line charts.<br>
> So the vtkChartXY class now contains functions to add and manage the plots.<br>
> The axes can automatically calculate "pretty numbers" to be used for tick<br>
> locations/marks. I have also added line stippling in addition to the coloring,<br>
> and the mouse interaction features (using vtkContextScene) allow zooming and<br>
> panning as you would expect.<br>
><br>
> You can also select the X column to be used, or use the index of the array.<br>
> This is all exposed in the ParaView interface under the XY Chart<br>
> (EXPERIMENTAL) view type. I am currently adding some facilities to choose<br>
> colors automatically and place a legend on the chart. This is all exposed in<br>
> the VTK API, and it is possible to do more in that API than can is currently<br>
> exposed in the ParaView GUI.<br>
><br>
> The classes in VTK/Charts, specifically vtkChart* and vtkPlot* expose much of<br>
> this functionality. Mouse interaction is now handled by the vtkContextScene<br>
> class, with panning and zomming support already present.<br>
><br>
> Selection support will require some additional hooks, but is something I hope<br>
> to add in soon. Work on a new Mark API should help us to generalize how<br>
> multiple arrays can be mapped onto plots in charts (such as color, mark size,<br>
> etc).<br>
><br>
> I would appreciate feedback on this work as it currently stands. I will be<br>
> working away to flash out the holes I see for ParaView and a general line chart<br>
> display. I will also be fixing bugs, adding tests, and hopefully exposing a few<br>
> of the new features in the ParaView GUI (such as scientific style axes - at the<br>
> origin as you pan around).<br>
><br>
> Thanks,<br>
><br>
> Marcus<br></div></div></blockquote></div>