#include <PickModeAddBond.h>
Inheritance diagram for PickModeAddBond:
List of all members.
Definition at line 18 of file PickModeAddBond.h.
Definition at line 38 of file PickModeAddBond.C.
Reimplemented from PickMode.
Definition at line 59 of file PickModeAddBond.C.
References BaseMolecule::add_bond, app, BaseMolecule::atom, ATOMNORMAL, MolAtom::bonded, BaseMolecule::BONDS, MolAtom::bonds, MolAtom::bondTo, DrawMolecule::force_recalc, BaseMolecule::id, VMDApp::label_add, MAXATOMBONDS, DrawMolItem::MOL_REGEN, NULL, and BaseMolecule::set_dataset_flag.
[virtual]
called for start, moving, and end of pick point. Last argument represents scaled [0,1] coordinates for 2-D and transformed position of pointer for 3-D. XXX should be pure virtual; needed for Query pick mode.
Reimplemented from PickMode.
Definition at line 47 of file PickModeAddBond.C.
References app, VMDApp::commandQueue, BaseMolecule::id, CommandQueue::runcommand, DisplayDevice::SHIFT, and DisplayDevice::shift_state.
[protected]
Reimplemented from PickMode.
Definition at line 31 of file PickModeAddBond.h.
Referenced by pick_molecule_end, and pick_molecule_start.