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

DrawForce.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: DrawForce.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.26 $       $Date: 2019/01/17 21:20:59 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *
00019  * Another Child Displayable component for a remote molecule; this displays
00020  * and stores the information about the interactive forces being applied to
00021  * the molecule.  If no forces are being used, this draws nothing.
00022  *
00023  * The force information is retrieved from the Atom list in the parent
00024  * molecule.  No forces are stored here.
00025  *
00026  ***************************************************************************/
00027 #ifndef DRAWFORCE_H
00028 #define DRAWFORCE_H
00029 
00030 #include "Displayable.h"
00031 #include "DispCmds.h"
00032 
00033 class DrawMolecule;
00034 
00036 class DrawForce : public Displayable {
00037 private:
00038   DrawMolecule *mol;               
00039   DispCmdColorIndex cmdColorIndex; 
00040   DispCmdCone cmdCone;             
00041   void create_cmdlist(void);       
00042   int needRegenerate;              
00043   int colorCat;                    
00044 
00045 protected:
00046   virtual void do_color_changed(int);
00047 
00048 public:
00049   DrawForce(DrawMolecule *);       
00050   virtual void prepare();          
00051 };
00052 
00053 #endif
00054 

Generated on Thu Mar 28 02:43:07 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002