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

PickModeUser Class Reference

PickMode subclass to add bonds between two atoms. More...

#include <PickModeUser.h>

Inheritance diagram for PickModeUser:

PickMode List of all members.

Public Methods

 PickModeUser (VMDApp *)
virtual void pick_molecule_start (DrawMolecule *, DisplayDevice *, int, int, const int *cell, 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_end (DrawMolecule *, DisplayDevice *)

Protected Attributes

VMDAppapp

Detailed Description

PickMode subclass to add bonds between two atoms.

Definition at line 18 of file PickModeUser.h.


Constructor & Destructor Documentation

PickModeUser::PickModeUser VMDApp  
 

Definition at line 35 of file PickModeUser.C.


Member Function Documentation

void PickModeUser::pick_molecule_end DrawMolecule  ,
DisplayDevice  
[virtual]
 

Reimplemented from PickMode.

Definition at line 55 of file PickModeUser.C.

References BaseMolecule::id.

void PickModeUser::pick_molecule_start DrawMolecule   mol,
DisplayDevice   d,
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 43 of file PickModeUser.C.

References app, VMDApp::commandQueue, BaseMolecule::id, CommandQueue::runcommand, DisplayDevice::SHIFT, and DisplayDevice::shift_state.


Member Data Documentation

VMDApp* PickModeUser::app [protected]
 

Definition at line 31 of file PickModeUser.h.

Referenced by pick_molecule_start.


The documentation for this class was generated from the following files:
Generated on Wed Oct 8 01:27:31 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002