Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

PickModeForceResidue Class Reference

PickMode subclass to apply a force to a single residue. More...

#include <PickModeForce.h>

Inheritance diagram for PickModeForceResidue:

PickModeForce PickMode List of all members.

Public Methods

 PickModeForceResidue ()
virtual void pick_molecule_start (DrawMolecule *, DisplayDevice *, int btn, int tag, const int *cell, int dim, const float *pos)
 called for start, moving, and end of pick point. Last argument represents scaled [0,1] coordinates for 2-D and transformed position of pointer for 3-D. XXX should be pure virtual; needed for Query pick mode. More...

virtual void pick_molecule_move (DrawMolecule *, DisplayDevice *, int tag, int dim, const float *pos)

Detailed Description

PickMode subclass to apply a force to a single residue.

Definition at line 54 of file PickModeForce.h.


Constructor & Destructor Documentation

PickModeForceResidue::PickModeForceResidue   [inline]
 

Definition at line 56 of file PickModeForce.h.


Member Function Documentation

void PickModeForceResidue::pick_molecule_move DrawMolecule  ,
DisplayDevice  ,
int    tag,
int    dim,
const float *    pos
[virtual]
 

Reimplemented from PickMode.

Definition at line 110 of file PickModeForce.C.

References BaseMolecule::atom_residue, Residue::atoms, DrawMolecule::current, FORCE_SCALE, PickModeForce::get_force, PickModeForce::mytag, and Timestep::pos.

void PickModeForceResidue::pick_molecule_start DrawMolecule   m,
DisplayDevice  ,
int    btn,
int    tag,
const int *    cell,
int    dim,
const float *    pos
[virtual]
 

called for start, moving, and end of pick point. Last argument represents scaled [0,1] coordinates for 2-D and transformed position of pointer for 3-D. XXX should be pure virtual; needed for Query pick mode.

Reimplemented from PickMode.

Definition at line 92 of file PickModeForce.C.

References BaseMolecule::atom_residue, Residue::atoms, Mouse::B_MIDDLE, Mouse::B_RIGHT, PickModeForce::mytag, and zeroforce.


The documentation for this class was generated from the following files:
Generated on Tue Apr 23 04:25:49 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002