#include <PickModeAddBond.h>
Inheritance diagram for PickModeAddBond:
Public Methods | |
PickModeAddBond (VMDApp *) | |
virtual void | pick_molecule_start (DrawMolecule *, DisplayDevice *, int, int, const int *cell, int, const float *) |
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. More... | |
virtual void | pick_molecule_end (DrawMolecule *, DisplayDevice *) |
Protected Attributes | |
VMDApp * | app |
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. |
|
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. |
|
Reimplemented from PickMode. Definition at line 31 of file PickModeAddBond.h. Referenced by pick_molecule_end, and pick_molecule_start. |