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

DispCmdPickPointIndexArray Struct Reference

Create an array of indexed points which may be picked and their associated tags. More...

#include <DispCmds.h>

List of all members.

Public Methods

void putdata (int num, int numsel, int *onoff, VMDDisplayList *)
 Create the pick point list from an atom selection. In the case where all indices are enabled, the implementation doesn't store the array, for increased memory efficiency. In the case where only some indices are selected, an explicit list is constructed. More...

void putdata (int num, int *indices, VMDDisplayList *)
 Create the pick point list from an existing array of pick point indices. More...

void getpointers (int *&tags) const

Public Attributes

int numpicks
int allselected


Detailed Description

Create an array of indexed points which may be picked and their associated tags.

Definition at line 419 of file DispCmds.h.


Member Function Documentation

void DispCmdPickPointIndexArray::getpointers int *&    tags const [inline]
 

Definition at line 429 of file DispCmds.h.

References NULL.

Referenced by DisplayDevice::pick, putdata, and FileRenderer::render.

void DispCmdPickPointIndexArray::putdata int    num,
int   indices,
VMDDisplayList  
 

Create the pick point list from an existing array of pick point indices.

Definition at line 814 of file DispCmds.C.

References allselected, VMDDisplayList::append, DPICKPOINT_IARRAY, getpointers, NULL, num, and numpicks.

void DispCmdPickPointIndexArray::putdata int    num,
int    numsel,
int   onoff,
VMDDisplayList  
 

Create the pick point list from an atom selection. In the case where all indices are enabled, the implementation doesn't store the array, for increased memory efficiency. In the case where only some indices are selected, an explicit list is constructed.

Definition at line 766 of file DispCmds.C.

References allselected, VMDDisplayList::append, DPICKPOINT_IARRAY, getpointers, NULL, num, and numpicks.


Member Data Documentation

int DispCmdPickPointIndexArray::allselected
 

Definition at line 440 of file DispCmds.h.

Referenced by DisplayDevice::pick, putdata, and FileRenderer::render.

int DispCmdPickPointIndexArray::numpicks
 

Definition at line 439 of file DispCmds.h.

Referenced by DisplayDevice::pick, putdata, and FileRenderer::render.


The documentation for this struct was generated from the following files:
Generated on Thu Jul 24 01:28:06 2008 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002