#include <P_TugTool.h>
Inheritance diagram for TugTool:
Public Methods | |
TugTool (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 () |
This is a tool for use with running MD simulations. It allows the user to grab atoms and pull them around, by sending forces to UIVR.
Definition at line 27 of file P_TugTool.h.
|
Definition at line 27 of file P_TugTool.C. |
|
Subclasses should override this method to perform tool-specific actions every display loop.
Reimplemented from Tool. Definition at line 35 of file P_TugTool.C. References Tool::dtool, Tool::forceoff, Tool::forcescale, Tool::getTargetScale, Tool::is_targeted, Tool::let_go, 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 31 of file P_TugTool.h. |
|
Reimplemented from Tool. Definition at line 33 of file P_TugTool.h. References Tool::setspringscale. |
|
Definition at line 40 of file P_TugTool.h. Referenced by do_event. |
|
return the name of this tool. Must be unique to all Tool subclasses!
Implements Tool. Definition at line 38 of file P_TugTool.h. |