Kitware Source Issue 21
Total Page:16
File Type:pdf, Size:1020Kb
SOFTWARE DEVELOPER’S QUARTERLY Issue 21 • April 2012 Editor’s Note ........................................................................... 1 PARAVIEW 3.14 RELEASED In late February, Kitware and the ParaView team released Recent Releases ..................................................................... 1 ParaView 3.14. This release features usability enhancements, improvements to the Plugin framework, new panels, and ParaView in Immersive Environments .................................. 3 more than 100 other resolved issues. Teaching Open Source .......................................................... 4 ParaView 3.14 features a redesigned Find Data dialog and Color Editor. The updated Find Data dialog makes it possible ParaView Query Selection Framework................................. 7 to use complex queries to select elements, including combin- ing multiple test cases with Boolean operations. The Color Ginkgo CADx: Open Source DICOM CADx Environment .... 8 Editor, used to edit lookup tables or color tables for scalar mapping, now enables independent editing of the color and Code Review, Topic Branches and VTK ................................. 9 opacity functions. Video Analysis on Business Intelligence, ParaView’s charting capabilities have been extended with a Studies in Computational Intelligence ............................... 11 new scatter plot matrix view and the ability to visualize mul- tiple dimensions of data in one compact form. This improved The Visible Patient ............................................................... 12 view enables users to more easily discern patterns in small scatterplots and change the focus of the plots. CDash Undergoes Second Major Release ........................... 13 With this release, netcdf4 has been updated to 4.1.2, and How CMake Plays Music ...................................................... 16 ParaView can now handle large netcdf files that rely on hdf5 data storage. Kitware News ....................................................................... 17 The Kitware Source contains articles related to the develop- ment of Kitware products in addition to software updates, news, and other content relevant to the open-source com- munity. In this issue, Aashish Chaudhary, Nikhil Shetty, and Bill Sherman discuss using ParaView in immersive environ- ments; Luis Ibáñez talks about teaching open-source; Kyle Lutz introduces ParaView’s new query selection framework; Carlos Ruiz, Javier Velasco, and Diego Morate explain Ginkgo CADx; Marcus Hanwell describes code review and topic branches in VTK; Eran Swears presents his work in video analysis on business intelligence data; Charles Marion, Pat Marion, Luc Soler, Johan Moreau, and Julien Jomier intro- duce the Visible Patient; Julien Jomier and Jean-Christophe Fillion-Robin explore new additions to CDash; and Andrea Galeazzi explains how to make CMake play music. The Source is part of a suite of products and services offered ParaView showing various vehicle characteristics such as MPG, to assist developers in getting the most out of Kitware’s acceleration, and weight in a scatter plot matrix view. open-source tools. Project websites include links to free resources such as: mailing lists, documentation, FAQs, and There are several usability enhancements in ParaView 3.14. Wikis. Kitware supports its open-source projects with text- To simplify the process of working with many views simul- books, consulting services, support contracts, and training taneously, ParaView now supports creating multiple tabs courses. For more information, please visit www.kitware.com. for placing views, which enables rapid switching of views laid out on a tile-display by simply switching the active tab. The view layout framework has also been improved, and PARAVIEW IN IMMERSIVE now allows users to change the layout of views using Python. Other usability improvements include the ability ENVIRONMENTS to easily copy values such as ranges, bounds, etc. from the information tab, statistics inspector, and spreadsheet view, The ubiquity of immersive systems is increasing. The avail- to the clipboard; a new search feature using Ctrl+F to find ability of low-cost virtual reality (VR) systems [5] coupled items in variables, lists and trees within the selected widget; with a growing population of researchers accustomed to and dockable inspector panels such as the information or newer interface styles makes this an opportune time to properties tab. help domain science researchers cross the bridge to utilizing immersive interfaces. The next logical step is for scientists, To improve memory management on clusters, there is a new engineers, doctors, etc. to incorporate immersive visualiza- Memory Inspector panel. This panel makes it easier for users tion into their exploration and analysis workflows; however, running on large clusters to identify and debug memory- from past experience, we know that having access to related issues by providing a mechanism to track the memory equipment is not sufficient. There are also several software used on all the nodes. hurdles to overcome. The first hurdle is simply the lack of In the 3.14 release, the Plugin framework has been extended available usable software. Two other hurdles more specific to enable developers to provide documentation for their to immersive visualization are: subdued immersion (e.g. the plugins, which shows up in the default application help software might only provide a stereoscopic view, or might window accessible from the Tools menu. provide stereo with simple head tracking but no wand); and lack of integration with existing desktop workflows (e.g. a This release also includes two new experimental features, desktop computational fluid dynamics (CFD) workflow may collaboration and multi-servers support. With collabora- require data conversions to operate with an immersive tool). tive support, users will be able to connect multiple clients to the same server (pvserver) for collaborative visualization. ParaView is a community based, multi-platform, open-source Support for multi-servers enables the ParaView client to data analysis and visualization tool that scales from laptop connect to multiple remote servers at the same time to build to high performance supercomputers. ParaView has gained separate pipelines on the connected servers using the same immense popularity amongst the scientific community as client. These are both experimental features and should be a universal visualization system. Early on we decided to considered as 'alpha'. integrate support for immersive environments directly into ParaView, rather than linking to an external library. We felt The new binaries are available on the ParaView download that there were sufficient components in ParaView’s design page, and the updated online documentation is available that could be extended to support immersive rendering and on the wiki. As always, we rely on your feedback to make interactions, and that limiting dependencies would make ParaView better. We encourage you to leave feedback and our efforts more impactful and sustainable for the long term. vote for new features, and get involved with the community through the mailing list. ARCHITECTURE The Visualization Toolkit (VTK) is a freely available, open- CDASH 2.0.2 RELEASED source software system for visualization, image processing, Early March marked the release of CDash 2.0.2. CDash is the and computer graphics. However, VTK is not an end-user open-source, web-based software testing server that aggre- application. Using VTK requires writing code to produce gates, analyzes, and displays the results of software testing interesting results, which may not be trivial to a general processes submitted from clients around the world, convey- user. ParaView provides a user friendly environment via its ing the state of a software system and allowing continuous graphical user interface, allowing researchers immediate improvements in its quality. The main CDash server for opportunities for performing visualization tasks. At a very open-source projects now hosts more than 30 projects and high level, the overall ParaView architecture is represented my.cdash.org hosts more than 380 projects including KDE, in Figure 1. Amarok, and Lapack dashboards. The 2.0.2 release has several enhancements and adds new features to the software. To make CDash more user-friendly, there is an improved and simplified layout. This coincides with improved user administration, better management of asynchronous submissions and improved security features. There is also new support for PostGresQL9, and improved log rotation. The full list of updates is available in the change log on the CDash website. To download the current release, please visit the CDash download page. For an interactive demo of the new fea- tures, and for a preview of what is in the pipeline for CDash, visit the CDash webinar page at www.cdash.com/webinars. Figure 1: High-level overview of the ParaView architecture. If you are interested in using CDash for your software project, Kitware hosts a CDash server that enables you to The Server Manager is the layer responsible for exchanging quickly setup a new project for free. To get started with your data and information between the client and the servers. As own CDash dashboard, please visit http://my.cdash.org/. the name suggests, the Data Server is responsible for reading 2 raw data, filtering, and writing out data which then can be These are sufficient for monoscopic rendering, but most rendered by the Render