Turn is a listing of the c++ program and a printout of the image. See Writing a VTK Program, Running a VTK Program and Turning in a PROGRAM for help.
All of the VTK material can be found in ~juell/vtk312 on the sod cluster.
An example of showing text is alphaFreq.cxx. Be sure to
run the program to see how it works.
To run this program, you will need to supply a file with text in it.
e.g.
alphaFreq some-file
Examples of displaying an object with a texture map can be found in TPlane.cxx. I have copied TPlane.cxx to temp.cxx and changed the image reference to a local image file (s-s55.ppm).