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: GeometryBond.h,v $ 00013 * $Author: johns $ $Locker: $ $State: Exp $ 00014 * $Revision: 1.25 $ $Date: 2019/01/17 21:20:59 $ 00015 * 00016 *************************************************************************** 00017 * DESCRIPTION: 00018 * 00019 * Measures the distance between two atoms, and draws a marker for the bond 00020 * into the display list for a given Displayable. 00021 * 00022 ***************************************************************************/ 00023 #ifndef GEOMETRYBOND_H 00024 #define GEOMETRYBOND_H 00025 00026 #include "GeometryMol.h" 00027 00029 class GeometryBond : public GeometryMol { 00030 public: 00032 GeometryBond(int *, int *, const int *cell, MoleculeList *, CommandQueue *, Displayable *); 00033 00034 // public virtual routines 00035 virtual float calculate(void); 00036 virtual void create_cmd_list(); 00037 virtual void set_pick(void); 00038 }; 00039 00040 #endif 00041