Bases: object
Please do not directly call this class constructor. Use the viewer or getCurrentViewer function instead.
Check if the viewer has been closed
comp – Returns True if the VMD viewer has closed
Adds some default settings and representations for creating movies with Tachyon in VMD
Renders the current VMD scene into a file.
outfile (str) – File to which to render image
renderer (('TachyonInternal', 'tachyon', 'snapshot')) – Which renderer to use
resolution (tuple) – X,Y resolution of the output image i.e. (1920, 1080). Only used with the renderer=’tachyon’ option.
aasamples (int) – Number of anti-aliasing samples. Only used with the renderer=’tachyon’ option.
skylight (float) – Add a skylight. Only used with the renderer=’tachyon’ option.
tachyon (str) – Path to tachyon renderer executable. Only used with the renderer=’tachyon’ option.
convert (bool) – Attempts to convert the image to the datatype of the outfile extension
trim (bool) – Trims the whitespace of the image
Modify representations for the top molecule in VMD
mode (str ('protein', 'ligand')) – If set to ‘protein’, it will show a single conformation of the protein with sequence coloring If set to ‘ligand’, it will show all ligands in the specified color and the protein in teal
sel (str) – Atom selection string for the ligand mode. See more here
color (int) – Color for the ligand. Use color numbers of VMD
Get the handle to the current molecular viewer
dispdev (str, ('win', 'text', 'cave', 'caveforms', 'none')) – Specify the type of graphical display to use. The possible display devices include: win: a standard graphics display window. text: do not provide any graphics display window. cave: use the CAVE virtual environment for display, forms are disabled. caveforms: use the CAVE virtual environment for display and with forms enabled. This is useful with -display machine:0 for remote display of the forms when the CAVE uses the local screen.
viewer – Returns a handle to the current viewer
VMD
object