Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vmd.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr
00003  *cr            (C) Copyright 1995-2011 The Board of Trustees of the
00004  *cr                        University of Illinois
00005  *cr                         All Rights Reserved
00006  *cr
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  * RCS INFORMATION:
00011  *
00012  *      $RCSfile: vmd.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.7 $       $Date: 2010/12/16 04:08:58 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *
00019  * Main program interface header.
00020  *
00021  ***************************************************************************/
00022 
00023 #ifndef VMD_H_
00024 #define VMD_H_
00025 
00026 // This header file contains all the functions exported by the VMD library
00027 // for various VMD implementations; e.g. standalong executable, Python 
00028 // module, etc.
00029 
00030 #include "VMDApp.h"
00031 
00032 // Perform various one-time startup operations prior to creating a
00033 // VMDApp instance.  Reads the command line arguments, processes environnment
00034 // variables, and prepares a set startup operations that will be carried
00035 // out by VMDreadStartup.  Upon return, *argc will be set to the number of 
00036 // unprocessed arguments that should be passed to VMDinit, including argv[0]
00037 // (the path to the executable) and argv will hold the arguments themselves.
00038 extern int VMDinitialize(int *argc, char ***argv);
00039 
00040 // Return the display type name that was chosen by VMDinitialize()
00041 extern const char *VMDgetDisplayTypeName();
00042 
00043 // Return the display location and display size that were chosen by
00044 // VMDinitialize()
00045 extern void VMDgetDisplayFrame(int *loc, int *size);
00046 
00047 // read various default settings defined in scripts/vmd/.  Should be done
00048 // after a successful VMDinitialize, but before VMDreadStartup().
00049 void VMDreadInit(VMDApp *app);
00050  
00051 // Get the unprocessed command line arguments 
00052 // Read startup files (.vmdrc, -e files), and load molecules specified on
00053 // the command line.  Must be called _after_ calling VMDinitialize()
00054 extern void VMDreadStartup(VMDApp *);
00055 
00056 // Shut down VMD properly, after all VMDApp instances have been deleted
00057 extern void VMDshutdown();
00058 
00059 // check for Fltk events, if available.
00060 extern void VMDupdateFltk();
00061 
00062 #endif

Generated on Sat May 26 01:48:33 2012 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002