#include <P_PinchTool.h>
Inheritance diagram for PinchTool:
Public Methods | |
PinchTool (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 () |
Definition at line 16 of file P_PinchTool.h.
|
Definition at line 16 of file P_PinchTool.C. |
|
Subclasses should override this method to perform tool-specific actions every display loop.
Reimplemented from Tool. Definition at line 24 of file P_PinchTool.C. References dot_prod, Tool::forceoff, Tool::forcescale, Tool::let_go, Matrix4::multpoint3d, Tool::orientation, Tool::position, Tool::sendforce, Tool::setplaneconstraint, start_tug, Tool::target, TARGET_TUG, Tool::tug, vec_add, vec_scale, and vec_sub. |
|
True iff the tool is grabbing something.
Reimplemented from Tool. Definition at line 20 of file P_PinchTool.h. |
|
Reimplemented from Tool. Definition at line 22 of file P_PinchTool.h. References Tool::setspringscale. |
|
Definition at line 30 of file P_PinchTool.h. Referenced by do_event. |
|
return the name of this tool. Must be unique to all Tool subclasses!
Implements Tool. Definition at line 27 of file P_PinchTool.h. |