#include <GeometrySpring.h>
Inheritance diagram for GeometrySpring:

Public Methods | |
| GeometrySpring (int *, int *, MoleculeList *, CommandQueue *, float thek, Displayable *) | |
| constructor: molecule id's, atom indices, molecule list, spring constant. More... | |
| virtual float | calculate (void) |
| recalculate the value of this geometry, and return it. More... | |
| virtual void | create_cmd_list () |
| draw the geometry marker. More... | |
| virtual void | set_pick (void) |
| use the TCL variables. More... | |
| ~GeometrySpring () | |
| void | prepare () |
| specific preparations, called by draw_prepare, supplied by derived class. More... | |
Definition at line 28 of file GeometrySpring.h.
|
||||||||||||||||||||||||||||
|
constructor: molecule id's, atom indices, molecule list, spring constant.
Definition at line 32 of file GeometrySpring.C. References NULL. |
|
|
Definition at line 123 of file GeometrySpring.C. |
|
|
recalculate the value of this geometry, and return it.
Reimplemented from GeometryMol. Definition at line 46 of file GeometrySpring.C. References GeometryMol::geomValue, norm, GeometryMol::normal_atom_coord, vec_add, vec_scale, and vec_sub. |
|
|
draw the geometry marker.
Implements GeometryMol. Definition at line 87 of file GeometrySpring.C. References Displayable::cmdList, GeometryMol::display_line, GeometryMol::display_string, GeometryMol::geomValue, midpoint, Displayable::reset_disp_list, GeometryMol::transformed_atom_coord, and GeometryMol::valuePos. |
|
|
specific preparations, called by draw_prepare, supplied by derived class.
Reimplemented from Displayable. Definition at line 67 of file GeometrySpring.C. References Molecule::addForce, GeometryMol::comIndex, MoleculeList::mol_from_id, GeometryMol::molList, GeometryMol::objIndex, and vec_scale. |
|
|
use the TCL variables.
Reimplemented from GeometryMol. Definition at line 112 of file GeometrySpring.C. References GeometryMol::comIndex, GeometryMol::geomValue, GeometryMol::objIndex, GeometryMol::set_pick_selection, and GeometryMol::set_pick_value. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002