Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members 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 139 of file DispCmds.h.


Member Function Documentation

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

Definition at line 144 of file DispCmds.h.

References numspheres.

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

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

Definition at line 105 of file DispCmds.C.

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


Member Data Documentation

int DispCmdSphereArray::numspheres

Definition at line 158 of file DispCmds.h.

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

int DispCmdSphereArray::sphereres

Definition at line 159 of file DispCmds.h.

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


The documentation for this struct was generated from the following files:
Generated on Mon Nov 17 02:48:35 2025 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002

AltStyle によって変換されたページ (->オリジナル) /