#include <SpringTool.h>
Inheritance diagram for SpringTool:
List of all members.
A SpringTool is just like a TugTool, except that when you release the button, a GeometrySpring is added between the atom you were pulling and the atom you were near
Definition at line 18 of file SpringTool.h.
Definition at line 17 of file SpringTool.C.
[virtual]
Subclasses should override this method to perform tool-specific actions every display loop.
Reimplemented from Tool.
Definition at line 52 of file SpringTool.C.
References UIObject::app, Tool::dtool, Tool::forceoff, Tool::forcescale, get_nearby_atom, Tool::get_targeted_atom, Tool::getTargetScale, Tool::is_targeted, VMDApp::label_add, Tool::let_go, NULL, Tool::position, Displayable::scale, start_tug, Tool::target, TARGET_TUG, Tool::tool_location_update, vec_add, vec_scale, and vec_sub.
[inline, virtual]
True iff the tool is grabbing something.
Reimplemented from Tool.
Definition at line 22 of file SpringTool.h.
[inline, virtual]
Reimplemented from Tool.
Definition at line 24 of file SpringTool.h.
References Tool::setspringscale.
[inline, protected, virtual]
[inline, virtual]
return the name of this tool. Must be unique to all Tool subclasses!
Implements Tool.
Definition at line 29 of file SpringTool.h.