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

DispCmdSphereArray Struct Reference

draw spheres from the specified position, radii, and color arrays. More...

#include <DispCmds.h>

List of all members.

Public Methods

void getpointers (float *&centers, float *&radii, float *&colors) const

Static Public Methods

void putdata (const float *centers, const float *radii, const float *colors, int num_spheres, int sphere_res, VMDDisplayList *dobj)

Public Attributes

int numspheres
int sphereres


Detailed Description

draw spheres from the specified position, radii, and color arrays.

Definition at line 86 of file DispCmds.h.


Member Function Documentation

void DispCmdSphereArray::getpointers float *&    centers,
float *&    radii,
float *&    colors
const [inline]
 

Definition at line 90 of file DispCmds.h.

References numspheres.

Referenced by putdata, PSDisplayDevice::render, OpenGLRenderer::render, and FileRenderer::render.

void DispCmdSphereArray::putdata const float *    centers,
const float *    radii,
const float *    colors,
int    num_spheres,
int    sphere_res,
VMDDisplayList   dobj
[static]
 

Definition at line 95 of file DispCmds.C.

References VMDDisplayList::append, DSPHEREARRAY, getpointers, NULL, numspheres, and sphereres.


Member Data Documentation

int DispCmdSphereArray::numspheres
 

Definition at line 104 of file DispCmds.h.

Referenced by getpointers, putdata, PSDisplayDevice::render, OpenGLRenderer::render, and FileRenderer::render.

int DispCmdSphereArray::sphereres
 

Definition at line 105 of file DispCmds.h.

Referenced by putdata, PSDisplayDevice::render, OpenGLRenderer::render, and FileRenderer::render.


The documentation for this struct was generated from the following files:
Generated on Sun May 27 01:59:47 2012 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002