Fltk_Contour widget


The Fltk_Contour is an "attempt" to develop an easy to use 2D and 3D scientific data visualization widget for the FLTK library.

Fltk_Contour: (version 5.3) 25-11-2011

This is my attempt to develop an easy scientific data visualization widget for the FLTK library. I am developing and improving the code day to day. The widget is an OpenGL based contour visualizer for Linux, which allow you to built 2D and 3D graphs of contour and colour maps of scattered data sets. There is not a good documentation but it is easy to use if your familiar with FLTK. The input data are plain text XYZ files. Two examples, one with the topography data map of Poland with 5902 data and another with the sampled temperature on a silicon wafer, are provided. Feel free to use this code distributed under the GNU, GPL's, FLTK licences.

so you need something like:

X Y Z
22.79167 54.12500 195.01
22.87500 54.12500 186.48
22.95833 54.12500 178.26
22.04167 54.04167 145.43
22.12500 54.04167 149.76
22.20833 54.04167 143.56
22.29167 54.04167 155.24
22.37500 54.04167 166.12
22.45833 54.04167 175.07

an so on....

Download Fltk_Contour 5.3

Fltk_Contour Screenshots: (old version 4.4)

The image of the temperature colormap on a silicon wafer and the topographic data of Poland.

An example with the topographic data of Poland with 5902 data.

(old versions)

From right to left and form up to down: the first one is an screenshot of the entire desktop, the next one is a colour map, down there is a contour map, in the middle the input data are displayed one a contour map and the last one is a three-dimensional colour map.

FMesh:

You can also find and very early version (0.1.0) of the FMesh program. FMesh is a tool to visualize and manipulate 2D and in the future 3D scattered data. The code will be available in the Sourceforge project.

http://sourceforge.net/projects/fmesh/

the fmesh project is a out of date use flkt_contour instead

Features:

  • Support comments in the head of the input data files
  • New palette support and palette selection
  • Nearest neighbour interpolation improved.
  • Added new example wafer.txt with thermal data on a silicon wafer.
  • New faster palette
  • Curvature criteria for mesh generation
  • Optimization of the interpolation methods
  • graphics 2D and 3D are independent
  • Submesh cut and save

Actual problems:

Send me any problem, feature and also improvements to eetorres@gmail.com

The guidelines to compile it with MSVC are:


1) Create a new empty project and add the source files (*.cxx) files from the /src directory.

2) From /test just add let's say gl_3d_test.cxx or gl_2d_test.cxx, you may now that you can also put two project in one main project so you can compile both at the same time.

3) You also will need to add the head files (*.h) which are in /include/CL /include/msmvtl and of course gl_3d_test.h or gl_2d_test.h.

4) You need the FLTK library installed.

5) Set some paths in your compiler (do it carefully), so you must add the path for the directory /include to the MSVC to allow the head files to find each other.

6) Check the makeinclude file so you can check some settings that you will need to get the successful compilation.

I hope somebody would like to send me any MSVC project or improvement to the code. I would like to add it in to the project so more people can use it too, this is the philosophy of the free software!