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

PickModeCenter Class Reference

PickMode subclass to define the molecule's centering/global translation. More...

#include <PickModeCenter.h>

Inheritance diagram for PickModeCenter:

PickMode List of all members.

Public Methods

 PickModeCenter (VMDApp *)
virtual void pick_molecule_start (DrawMolecule *, DisplayDevice *, int, int, const int *, int, const float *)
 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, int, const float *)
virtual void pick_molecule_end (DrawMolecule *, DisplayDevice *)

Detailed Description

PickMode subclass to define the molecule's centering/global translation.

Definition at line 30 of file PickModeCenter.h.


Constructor & Destructor Documentation

PickModeCenter::PickModeCenter VMDApp  
 

Definition at line 28 of file PickModeCenter.C.


Member Function Documentation

void PickModeCenter::pick_molecule_end DrawMolecule  ,
DisplayDevice  
[virtual]
 

Reimplemented from PickMode.

Definition at line 49 of file PickModeCenter.C.

References DrawMolecule::active, Displayable::change_center, DrawMolecule::current, Timestep::get_transform_from_cell, mat, MoleculeList::molecule, VMDApp::moleculeList, Matrix4::multpoint3d, MoleculeList::num, and Timestep::pos.

void PickModeCenter::pick_molecule_move DrawMolecule  ,
DisplayDevice  ,
int   ,
int   ,
const float *   
[virtual]
 

Reimplemented from PickMode.

Definition at line 38 of file PickModeCenter.C.

void PickModeCenter::pick_molecule_start DrawMolecule  ,
DisplayDevice  ,
int   ,
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 30 of file PickModeCenter.C.


The documentation for this class was generated from the following files:
Generated on Wed Apr 24 02:45:07 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002