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 #ifndef PICKMODEADDBOND_H 00010 #define PICKMODEADDBOND_H 00011 00012 #include "PickMode.h" 00013 class Molecule; 00014 class DisplayDevice; 00015 class VMDApp; 00016 00018 class PickModeAddBond: public PickMode { 00019 private: 00020 float pPos[3]; 00021 00024 int haveItems, needName; 00025 00026 int molids[2]; 00027 int atmids[2]; 00028 int atom; 00029 00030 protected: 00031 VMDApp *app; 00032 00033 public: 00034 PickModeAddBond(VMDApp *); 00035 virtual void pick_molecule_start(DrawMolecule *, DisplayDevice *, 00036 int, int, const int *cell, int, const float *); 00037 virtual void pick_molecule_end (DrawMolecule *, DisplayDevice *); 00038 }; 00039 00040 #endif 00041