#include <PickModeForce.h>
Inheritance diagram for PickModeForceFragment:
Public Methods | |
PickModeForceFragment () | |
virtual void | pick_molecule_start (DrawMolecule *, DisplayDevice *, int btn, int tag, const int *cell, int dim, const float *pos) |
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_move (DrawMolecule *, DisplayDevice *, int tag, int dim, const float *pos) |
Definition at line 65 of file PickModeForce.h.
|
Definition at line 67 of file PickModeForce.h. |
|
Reimplemented from PickMode. Definition at line 152 of file PickModeForce.C. References BaseMolecule::atom_fragment, Residue::atoms, DrawMolecule::current, FORCE_SCALE, PickModeForce::get_force, PickModeForce::mytag, Fragment::num, Timestep::pos, and BaseMolecule::residue. |
|
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 129 of file PickModeForce.C. References BaseMolecule::atom_fragment, Residue::atoms, Mouse::B_MIDDLE, Mouse::B_RIGHT, PickModeForce::mytag, Fragment::num, BaseMolecule::residue, and zeroforce. |