CMP 161 -- Programming Assignment 2
Due date:
Midnight, SAT, 2/10/2007
Objectives:
Learn how to write Vtk code and graphical user interface
to study a data set with a variety of Vtk visualization modules.
To Do:
-
Write a Vtk program that allows the user to visualize the
CT head data in the levoy directory.
Try it out on the smaller data set first i.e. headsmall.den.
-
Here's an
example
of a similar exercise.
-
Provide a GUI that allows the user
to explore the data using different methods
(e.g. volume rendering, cutting planes, isosurfaces, etc.)
and adjust corresponding parameters
(e.g. transfer functions, orientations, threshold, etc).
You do not need to implement all of these.
The minimum requirement is to have a direct volume renderer.
-
Everything beyond the DVR and corresponding GUI for the transfer functions
are considered bonus work, and should be documented in your README file.
Some additional items that you can include are:
multiple isosurface;
pseudo-colored cutting planes;
contouring on the cut planes;
etc.
-
Likewise, if your program can also read/load other scalar volumetric data set
aside from the levoy data, please document that as well;
and be sure to point it out in your documentation and demo.
-
You can meet the requirements of this program in a number of ways:
-
Write an fltk + Vtk code.
-
Write a Tcl + Vtk code.
-
Write an fltk + OpenGL.
-
Others -- but be aware that it may delay the
grading of your program, and that you may have
to demo your program in person.
-
The bottom line is that you must be able to demo your program to our grader
using equipment in BE 109, or your own laptop, mac, supercomputer, or cellphone, or cellphone
that you bring along.
Useful Links:
Items To Submit:
-
Html page with description and images of your
project's output.
Make sure your links are all local
and relative to your submit directory.
-
Also make sure you have well documented code,
makefile, README file, user guide, etc.
-
Do NOT include the data files in your submission.
Grading:
To expedite grading, all submitted programs will be graded on Monday,
February 12 from 11am to 2 pm.
Be sure to demonstrate your program to our grader during this period.
If for some reason, you cannot make it during this time, be sure
to contact Alisa to make alternate arrangements before 2/7/2007.
This program nominally accounts for 5% of your final grade. We must
be able to compile/test your code. Make sure that code and accompanying
make/project files, etc. must be tested for successful compilation at least on
the PCs in the lab.
Also be sure to
include a README in your submission as to which platform to use.
Programs turned in at least a full day early will earn 1% bonus credit. Late
programs will be charged 1% late points. In addition, late programs will not
be accepted 24 hours past due date. Late programs and reports will not be
accepted for the final project. The bonus credits may be accumulated up to a
total of 50% toward program and final project credits. Programs are graded 80%
for functionality and correctness and 20% for style, readability,
documentation/writeup, and efficiency. Additional points may also be earned
for extra features.
Submission:
Create and submit a subdirectory called "prog2". It should contain
all the files you have to make your program compile/run. Include the other
items to be submitted in this directory as well. Submission must be done using
the submit utility from CATS.
-
To submit use: submit cmps161-ap.w07 prog2 files
-
To verify submission use: peek cmps161-ap.w07 prog2
These commands should work from any cats machine, but if there is a problem
try from unix.ic.
Last modified
Tuesday, 22-Jan-2019 09:42:16 PST.