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

PickModeMoveFragment Class Reference

PickMode subclass for moving fragments (no forces applied). More...

#include <PickModeMove.h>

Inheritance diagram for PickModeMoveFragment:

List of all members.

Public Methods

PickModeMoveFragment ()

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 fragments (no forces applied).

Definition at line 85 of file PickModeMove.h.


Constructor & Destructor Documentation

PickModeMoveFragment::PickModeMoveFragment ( ) [inline]

Definition at line 91 of file PickModeMove.h.


Member Function Documentation

void PickModeMoveFragment::rotate ( DrawMolecule * ,
int tag,
const float * ,
const Quat &
) [protected, virtual]

Implements PickModeMove.

Definition at line 189 of file PickModeMove.C.

References BaseMolecule::atom_fragment, Residue::atoms, DrawMolecule::current, Quat::multpoint3, n, Fragment::num, Timestep::pos, BaseMolecule::residue, vec_add, and vec_sub.

void PickModeMoveFragment::translate ( DrawMolecule * ,
int tag,
const float *
) [protected, virtual]

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

Implements PickModeMove.

Definition at line 208 of file PickModeMove.C.

References BaseMolecule::atom_fragment, Residue::atoms, DrawMolecule::current, n, Fragment::num, Timestep::pos, BaseMolecule::residue, and vec_add.


The documentation for this class was generated from the following files:
Generated on Tue Nov 18 02:49:50 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /