00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef PICK_MODE_H__
00022 #define PICK_MODE_H__
00023
00024 class DisplayDevice;
00025 class DrawMolecule;
00026 class VMDApp;
00027
00029 class PickMode {
00030 protected:
00031 VMDApp* app;
00032 PickMode() : app(0) {}
00033 public:
00034 PickMode(VMDApp* app) : app(app) {}
00035 virtual ~PickMode() {}
00036
00041 virtual void pick_molecule_start(DrawMolecule *, DisplayDevice *,
00042 int , int ,
00043 const int *cell, int ,
00044 const float * ) {}
00045 virtual void pick_molecule_move (DrawMolecule *, DisplayDevice *,
00046 int , int ,
00047 const float * ) {}
00048 virtual void pick_molecule_end (DrawMolecule *, DisplayDevice *) {}
00049
00050 virtual void pick_graphics(int molid, int tag, int btn, DisplayDevice *d) {}
00051
00052
00053 };
00054
00055 #endif
00056