![]()
|
VTK Usage NotesEnvironment VariablesThe environment variables necessary to use VTK-4.2 are automatically loaded into your BASH shell. On the SGI, these variables are appended to CLASSPATH and LD_LIBRARYN32_PATH; on the Linux cluster, CLASSPATH and LD_LIBRARY_PATH. VTK-4.4 is installed on the SGI. You will need to manually change your environment variables to use version 4.4. Writing a VTK ApplicationVTK programs can be written in C++, Java, Python, or Tcl. All language bindings are available on the Linux cluster; only Java bindings are installed on the SGI. For simple example code to help get you started with VTK, see Example VTK Code. There are many other examples included in the source distribution of VTK, available at www.vtk.org. Implementing Stereo Mode
The following excerpt of Java code provides an example on how to implement stereo mode in your VTK applications. Modify it as necessary for other languages and to suit your needs.
Saving Snapshots
Additional Help
|
|
Copyright © 2008, Texas A&M University.
All rights reserved.
|