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

PickModeMoveMolecule Class Reference

PickMode subclass for moving whole molecules (no forces applied). More...

#include <PickModeMove.h>

Inheritance diagram for PickModeMoveMolecule:

PickModeMove PickMode List of all members.

Public Methods

 PickModeMoveMolecule ()

Protected Methods

virtual void translate (DrawMolecule *, int tag, const float *)
 subclasses figure out which atoms are to be translated or rotated. More...

virtual void rotate (DrawMolecule *, int tag, const float *, const Quat &)

Detailed Description

PickMode subclass for moving whole molecules (no forces applied).

Definition at line 96 of file PickModeMove.h.


Constructor & Destructor Documentation

PickModeMoveMolecule::PickModeMoveMolecule   [inline]
 

Definition at line 102 of file PickModeMove.h.


Member Function Documentation

void PickModeMoveMolecule::rotate DrawMolecule  ,
int    tag,
const float *   ,
const Quat  
[protected, virtual]
 

Implements PickModeMove.

Definition at line 223 of file PickModeMove.C.

References DrawMolecule::current, Quat::multpoint3, BaseMolecule::nAtoms, Timestep::pos, vec_add, and vec_sub.

void PickModeMoveMolecule::translate DrawMolecule  ,
int    tag,
const float *   
[protected, virtual]
 

subclasses figure out which atoms are to be translated or rotated.

Implements PickModeMove.

Definition at line 234 of file PickModeMove.C.

References DrawMolecule::current, BaseMolecule::nAtoms, Timestep::pos, and vec_add.


The documentation for this class was generated from the following files:
Generated on Fri Dec 6 02:47:16 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002