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

PickModeMoveRep Class Reference

PickMode subclass for moving a selected rep's atoms (no forces applied). More...

#include <PickModeMove.h>

Inheritance diagram for PickModeMoveRep:

PickModeMove PickMode List of all members.

Public Methods

 PickModeMoveRep ()

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 a selected rep's atoms (no forces applied).

Definition at line 107 of file PickModeMove.h.


Constructor & Destructor Documentation

PickModeMoveRep::PickModeMoveRep   [inline]
 

Definition at line 113 of file PickModeMove.h.


Member Function Documentation

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

Implements PickModeMove.

Definition at line 243 of file PickModeMove.C.

References DrawMolItem::atomSel, DrawMolecule::component, DrawMolecule::components, DrawMolecule::current, DrawMolecule::highlighted_rep, Quat::multpoint3, n, AtomSel::num_atoms, AtomSel::on, Timestep::pos, vec_add, and vec_sub.

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

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

Implements PickModeMove.

Definition at line 267 of file PickModeMove.C.

References DrawMolItem::atomSel, DrawMolecule::component, DrawMolecule::components, DrawMolecule::current, DrawMolecule::highlighted_rep, n, AtomSel::num_atoms, AtomSel::on, Timestep::pos, and vec_add.


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