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

Pickable Class Reference

contains data which may be selected with a pointer in a DisplayDevice. More...

#include <Pickable.h>

Inheritance diagram for Pickable:

Displayable Axes DisplayColor DisplayRocker DrawForce DrawMolecule DrawMolItem DrawTool FPS GeometryList GeometryMol MoleculeGraphics Stage VMDTitle List of all members.

Public Methods

 Pickable ()
virtual ~Pickable ()
virtual VMDDisplayListpick_cmd_list ()
 return our list of draw commands with picking draw commands in them. More...

virtual int pickable_on ()
 return whether the pickable object is being displayed. More...

virtual void pick_start (PickMode *, DisplayDevice *, int, int, const int *cell, int, const float *)
 For 2D version: x & y are 0 ... 1, represent 'relative, scaled' coords. For 3D version: x,y,z are transformed position of pointer. More...

virtual void pick_move (PickMode *, DisplayDevice *, int, int, const float *)
virtual void pick_end (PickMode *, DisplayDevice *)

Detailed Description

contains data which may be selected with a pointer in a DisplayDevice.

Definition at line 39 of file Pickable.h.


Constructor & Destructor Documentation

Pickable::Pickable   [inline]
 

Definition at line 41 of file Pickable.h.

virtual Pickable::~Pickable   [inline, virtual]
 

Definition at line 42 of file Pickable.h.


Member Function Documentation

virtual VMDDisplayList* Pickable::pick_cmd_list void    [inline, virtual]
 

return our list of draw commands with picking draw commands in them.

Reimplemented in Displayable.

Definition at line 45 of file Pickable.h.

Referenced by PickList::pick_check.

virtual void Pickable::pick_end PickMode  ,
DisplayDevice  
[inline, virtual]
 

Reimplemented in DrawMolItem.

Definition at line 62 of file Pickable.h.

Referenced by PickList::pick_end.

virtual void Pickable::pick_move PickMode  ,
DisplayDevice  ,
int   ,
int   ,
const float *   
[inline, virtual]
 

Reimplemented in Axes.

Definition at line 60 of file Pickable.h.

Referenced by PickList::pick_move.

virtual void Pickable::pick_start PickMode  ,
DisplayDevice  ,
int   ,
int   ,
const int *    cell,
int   ,
const float *   
[inline, virtual]
 

For 2D version: x & y are 0 ... 1, represent 'relative, scaled' coords. For 3D version: x,y,z are transformed position of pointer.

Reimplemented in DrawMolItem.

Definition at line 56 of file Pickable.h.

Referenced by PickList::pick_start.

virtual int Pickable::pickable_on void    [inline, virtual]
 

return whether the pickable object is being displayed.

Reimplemented in Displayable.

Definition at line 48 of file Pickable.h.

Referenced by PickList::pick_check.


The documentation for this class was generated from the following file:
Generated on Fri Mar 29 02:47:56 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002