SciVisFall2007/Assignment 0

From VistrailsWiki
Revision as of 22:14, 7 September 2007 by Csilva (talk | contribs) (→‎Problem 1)
Jump to navigation Jump to search

This is your first assignment for CS 5630/6630.

In order to do this assignment, you will need VisTrails 1.0 beta. This version is available on the Windows XP machines in the CADE lab. Alternatively, you can install it on your home machine. If you would like to use this version of VisTrails under Mac OS X and/or Linux, please contact the teaching staff for further instructions. (We will give you the code, and you will have to build it from source; this can take substantial time, so we greatly encourage you to use the binary versions given above.)

The purpose of this initial assignment is to make sure you familiarize yourself with basic concepts of the VisTrails system, VTK, and matplotlib. As you work on it, we encourage you to read the available documentation on those tools (links available from the class wiki).

Here is the initial vistrail file hw0.vt that you should use for completing your work. You should use this vistrails to do your assignment. Remember what you talk in class regarding submitting "showing your work", you should submit the complete vistrail file that you used for solving the problems. More details below.


Problem 1

Find node "spx" in the hw0.vt vistrail. You will need to modify that pipeline to compute isosurfaces of the data. You can do that by adding a single "vtkContourFilter" to the pipepline. You will need to remove the connection between the "vtkUnstructuredGridReader" module and the "vtkDataSetMapper" module. The "vtkContourFilter" module needs an specific isosurface value. To do this, you will need to use the "SetValue" method. That method has two variables: "Integer" and "Float". You should set the "Integer" to zero; and the "Float" to "0.3". (You can browse the VTK documentation for "vtkContourFilter" here: [1].)

When you are able to execute this pipeline, you should see an yellow isosurface. You should tag this version as "Problem 1". (To tag the version, you will need to switch into the "History" view.)

Problem 2

Problem 3

Problem 4