Module MMTK.Visualization_win32

This module provides visualization of chemical objects and animated visualization of normal modes and sequences of configurations, including trajectories. Visualization depends on external visualization programs. On Unix systems, these programs are defined by environment variables. Under Windows NT, the system definitions for files with extension "pdb" and "wrl" are used.

A viewer for PDB files can be defined by the environment variable PDBVIEWER. For showing a PDB file, MMTK will execute a command consisting of the value of this variable followed by a space and the name of the PDB file.

A viewer for VRML files can be defined by the environment variable VRMLVIEWER. For showing a VRML file, MMTK will execute a command consisting of the value of this variable followed by a space and the name of the VRML file.

Since there is no standard for launching viewers for animation, MMTK supports only two programs: VMD and XMol. MMTK detects these programs by inspecting the value of the environment PDBVIEWER. This value must be the file name of the executable, and must give "vmd" or "xmol" after stripping off an optional directory specification.


Functions


Class Viewable: Any viewable chemical object

This class is a mix-in class that defines a general visualization method for all viewable objects, i.e. chemical objects (atoms, molecules, etc.), collections, and universes.

Methods: