Description
Assignment:
- Download skeleton code vtk
- Download data file vtk
- Compile and run and make sure it runs correctly
You will do a series of seven tasks to learn VTK. Each time you complete a task, you should make a copy of your source. You will be handing in your source code for each task. They should be named proj7A.cxx, proj7B.cxx, proj7C.cxx, … proj7G.cxx. What to upload? A tarball with 8 files: proj7A.cxx-proj7G.cxx + one screenshot showing proj7F.cxx working.
What are the seven tasks?:
- Make the visualization window be 768×768 when the program is first
- Add a contour filter to the pipeline, with isovalues at 4 & 4.
- Remove the contour filter and instead slice by Z=0
- Modify the vtkLookupTable so that it smoothly interpolates from blue at the minimum to red at the maximum, with purple in
- Modify your program to have both a contour and a slice You will need to have two networks.
- Add two Place the slice in the left renderer and the contour in the right.
- Modify your program to iterate over Start with 1.0 and add 0.01 all the way up to 6 (a total of 500 isovalues). Render each new value. This will make an animation.



