2011 Summer Project Week Breakout Session VTKCharts
Goal
In this session we will present the the 2D charts available in VTK. There are a wide range of charts, such as line plots, scatter plots, bar graphs, pie charts, 2D histograms and parallel coordinates. The charts are built on top of a feature rich 2D API, and 2D scene. They feature full interaction, OpenGL accelerated rendering, legends, tool tips and pipeline integration. They are already used in several projects, including ParaView.
Content
- Demo of current functionality in VTK
- Hands-on tutorial - using the charts in an application
- Advanced interaction and chart matrices
- Linked selections
- Future directions
- Discussion/Q&A
Primer
See VTK charts Source article for some background, although many new features are present in VTK 5.8 that will be shown during the breakout session.
Examples of VTK Charts in Use
The VTK charts are used heavily in ParaView for the analysis of large data sets. They have also been used in various other projects to visualize a large array of different types of data. Shown below is a Qt application with three linked chart widgets. The top two charts (scatter plot and parallel coordinates) control a linked selection showing various fields in a table. The bottom scatter plot shows only the selected subset of the data. Individual data points can be clicked on, and an event is generated giving application developers access to the table row of the clicked point. Note that tool tips can also display custom strings for each point, in this case a unique identifier for each chemical in a database.