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

| Public Methods | |
| SpringTool (int id, VMDApp *, Displayable *) | |
| virtual void | do_event () | 
| Subclasses should override this method to perform tool-specific actions every display loop. More... | |
| virtual int | isgrabbing () | 
| True iff the tool is grabbing something. More... | |
| virtual void | setspringscale (float sc) | 
| const char * | type_name () const | 
| return the name of this tool. Must be unique to all Tool subclasses! More... | |
| Protected Methods | |
| virtual void | start_tug () | 
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. | 
| 
 | 
| 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. | 
| 
 | 
| True iff the tool is grabbing something. 
 Reimplemented from Tool. Definition at line 22 of file SpringTool.h. | 
| 
 | 
| 
 Reimplemented from Tool. Definition at line 24 of file SpringTool.h. References Tool::setspringscale. | 
| 
 | 
| 
 Definition at line 32 of file SpringTool.h. Referenced by do_event. | 
| 
 | 
| return the name of this tool. Must be unique to all Tool subclasses! 
 Implements Tool. Definition at line 29 of file SpringTool.h. | 
 1.2.14 written by Dimitri van Heesch,
 © 1997-2002
1.2.14 written by Dimitri van Heesch,
 © 1997-2002