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

DispCmdPickPointArray 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 firstsel, int *on, float *coords, 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, float *coords, VMDDisplayList *)
 Create the pick point list from an existing array of pick point indices. More...

void getpointers (float *&coords, int *&tags) const

Public Attributes

int numpicks
int allselected
int firstindex


Detailed Description

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

Definition at line 554 of file DispCmds.h.


Member Function Documentation

void DispCmdPickPointArray::getpointers float *&    coords,
int *&    tags
const [inline]
 

Definition at line 565 of file DispCmds.h.

References NULL, and numpicks.

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

void DispCmdPickPointArray::putdata int    num,
int *    indices,
float *    coords,
VMDDisplayList  
 

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

Definition at line 1086 of file DispCmds.C.

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

void DispCmdPickPointArray::putdata int    num,
int    numsel,
int    firstsel,
int *    on,
float *    coords,
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 1023 of file DispCmds.C.

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


Member Data Documentation

int DispCmdPickPointArray::allselected
 

Definition at line 579 of file DispCmds.h.

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

int DispCmdPickPointArray::firstindex
 

Definition at line 580 of file DispCmds.h.

Referenced by DisplayDevice::pick, and putdata.

int DispCmdPickPointArray::numpicks
 

Definition at line 578 of file DispCmds.h.

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


The documentation for this struct was generated from the following files:
Generated on Sat Dec 14 02:47:41 2024 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002