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

PickMode Class Reference

Pick mode management class. More...

#include <PickMode.h>

Inheritance diagram for PickMode:

List of all members.

Public Methods

PickMode (VMDApp *app)
virtual ~PickMode ()
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_move (DrawMolecule *, DisplayDevice *, int, int, const float *)
virtual void pick_molecule_end (DrawMolecule *, DisplayDevice *)
virtual void pick_graphics (int molid, int tag, int btn, DisplayDevice *d)

Protected Methods

PickMode ()

Protected Attributes

VMDApp * app

Detailed Description

Pick mode management class.

Definition at line 29 of file PickMode.h.


Constructor & Destructor Documentation

PickMode::PickMode ( ) [inline, protected]

Definition at line 32 of file PickMode.h.

PickMode::PickMode ( VMDApp * app ) [inline]

Definition at line 34 of file PickMode.h.

virtual PickMode::~PickMode ( ) [inline, virtual]

Definition at line 35 of file PickMode.h.


Member Function Documentation

virtual void PickMode::pick_graphics ( int molid,
int tag,
int btn,
) [inline, virtual]

Reimplemented in PickModeMolLabel.

Definition at line 50 of file PickMode.h.

Referenced by MoleculeGraphics::pick_start.

virtual void PickMode::pick_molecule_end ( DrawMolecule * ,
) [inline, virtual]

Reimplemented in PickModeAddBond.

Definition at line 48 of file PickMode.h.

Referenced by DrawMolItem::pick_end.

virtual void PickMode::pick_molecule_move ( DrawMolecule * ,
int ,
int ,
const float *
) [inline, virtual]

Reimplemented in PickModeCenter.

Definition at line 45 of file PickMode.h.

Referenced by DrawMolItem::pick_move.

virtual void PickMode::pick_molecule_start ( DrawMolecule * ,
int ,
int ,
const int * cell,
int ,
const float *
) [inline, 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 in PickModeAddBond.

Definition at line 41 of file PickMode.h.

Referenced by DrawMolItem::pick_start.


Member Data Documentation

VMDApp* PickMode::app [protected]

Reimplemented in PickModeAddBond.

Definition at line 31 of file PickMode.h.


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

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