

The QT/VTK combination was the basis for our simple visualization program, capVTE. Luckily for us, VTK ships with a built-in support for both QT and Java. But in order to develop an interactive end-user program, you’ll need to incorporate VTK within the GUI of your application. Such an approach may be sufficient for simple console-based applications.

VTK provides a simple graphical window that can be used for plotting and interacting with the data (rotation, panning, zoom, etc.). The actual data processing and plotting is performed within the VTK library. In order to add visualization to your program, you simply need to provide the algorithm to build the pipeline. Along the way, in the pipeline, various operations are applied to obtain the output of interest. The pipeline starts at one end with the source data and ends at the other end with an actor that correspond to the data’s visual representation. VTK is built on the concept of a visualization pipeline. It is the engine that does the actual work. The Visualization Toolkit is an amazing collection of C++ classes for processing and visualizing data. For instance, you may be developing your own simulation software and would like to bundle the solver with a simple visualization output that will allow the user to study the results in real-time. However, sometimes these options may not be quite adequate. The free alternatives include VisIt from Livermore, and Paraview from Kitware, Inc., the creators of the Visualization Toolkit, VTK. Of the commercial kind, a popular program is Tecplot.

There are both commercial and open-source solutions for performing data visualization. We can easily visualize the plume by plotting the isosurface of some critical minimum value. But we may only be interested in the shape of the plume. The simulation grid may consist of millions of nodes and on each node we will have a value corresponding to the local plume density. For example, consider a CAD/flow simulation of a rocket plume. Scientific visualization is the art of converting these numbers into a graphical format that can be understood and aid us in obtaining a new understanding about some physical problem. These numbers correspond to the results at various spatial locations. By itself, such a result is rather meaningless.
#JAVA VISUALIZER ECLIPSE FULL#
The typical output from a simulation code is a large file full of numbers. We will use The Visualization Toolkit ( VTK) for the actual data analysis and rendering and Java Swing libraries for a simple GUI that will allow us to modify the plotted output.
#JAVA VISUALIZER ECLIPSE HOW TO#
In this post we’ll show you how to develop a simple Java application for visualizing scientific data.
