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

P_CmdTool.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr                                                                       
00003  *cr            (C) Copyright 1995-2019 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: P_CmdTool.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.37 $       $Date: 2019/01/17 21:21:00 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  * This is Paul's new Tracker code -- pgrayson@ks.uiuc.edu
00019  *
00020  ***************************************************************************/
00021 
00022 #include "Command.h"
00023 #include "Matrix4.h"
00024 
00026 class CmdToolCreate : public Command {
00027  public:
00028   CmdToolCreate(const char *thetype, int theargc, const char **theUSL);
00029   ~CmdToolCreate();
00030   char **USL;
00031   int argc;
00032   char *type;
00033  protected:
00034   virtual void create_text();
00035 };
00036 
00037 
00039 class CmdToolChange : public Command {
00040  public:
00041   CmdToolChange(const char *thetype, int thenum);
00042   ~CmdToolChange();
00043   int num;
00044   char *type;
00045  protected:
00046   virtual void create_text();
00047 };
00048 
00049 
00051 class CmdToolDelete : public Command {
00052  public:
00053   CmdToolDelete(int thenum);
00054   int num;
00055  protected:
00056   virtual void create_text();
00057 };
00058 
00059 
00061 class CmdToolScale : public Command {
00062  public:
00063   CmdToolScale(float thescale, int thenum);
00064   int num;
00065   float scale;
00066  protected:
00067   virtual void create_text();
00068 };
00069 
00070 
00072 class CmdToolScaleForce : public Command {
00073  public:
00074   CmdToolScaleForce(float thescale, int thenum);
00075   int num;
00076   float scale;
00077  protected:
00078   virtual void create_text();
00079 };
00080 
00081 
00083 class CmdToolScaleSpring : public Command {
00084  public:
00085   CmdToolScaleSpring(float thescale, int thenum);
00086   int num;
00087   float scale;
00088  protected:
00089   virtual void create_text();
00090 };
00091 
00092 
00094 class CmdToolOffset : public Command {
00095  public:
00096   CmdToolOffset(float *theoffset, int thenum);
00097   int num;
00098   float offset[3];
00099  protected:
00100   virtual void create_text();
00101 };
00102 
00103 
00105 class CmdToolRep : public Command {
00106 public:
00107   CmdToolRep(int thetoolnum, int themolid, int therepnum);
00108   int toolnum;
00109   int molid;
00110   int repnum;  
00111 protected:
00112   virtual void create_text();
00113 };
00114 
00115 
00117 class CmdToolAddDevice : public Command {
00118  public:
00119   CmdToolAddDevice(const char *thename, int thenum);
00120   char *name;
00121   int num;
00122  protected:
00123   virtual void create_text();
00124   virtual ~CmdToolAddDevice();
00125 };
00126 
00127 
00129 class CmdToolDeleteDevice : public Command {
00130  public:
00131   CmdToolDeleteDevice(const char *thename, int thenum);
00132   char *name;
00133   int num;
00134  protected:
00135   virtual void create_text();
00136   virtual ~CmdToolDeleteDevice();
00137 };
00138 
00139 
00141 class CmdToolCallback : public Command {
00142 public:
00143   // turn it on (true) or off (false)
00144   // thenum is the tool number
00145   CmdToolCallback(int the_on);
00146   int on;
00147 
00148  protected:
00149   void create_text(void);
00150 };

Generated on Thu Apr 18 02:45:22 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002