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

DispCmdTriStrips Struct Reference

draw a set of triangle strips. More...

#include <DispCmds.h>

List of all members.


Public Methods

void getpointers (float *&cnv, int *&f, int *&vertsperstrip) const
float * cnv; array of colors, normals, vertices int * f; facet vertex index array int * vertsperstrip; array of vertex count per strip index. More...


Static Public Methods

void putdata (const float *vertices, const float *normals, const float *colors, int num_verts, const int *verts_per_strip, int num_strips, const unsigned int *strip_data, const int num_strip_verts, int double_sided_lighting, VMDDisplayList *dobj)

Public Attributes

int numverts
number of vertices in mesh. More...

int numstrips
total number of strips. More...

int numstripverts
total number of vertices in strip data array. More...

int doublesided
whether or not we need double-sided lighting. More...


Detailed Description

draw a set of triangle strips.

Definition at line 387 of file DispCmds.h.


Member Function Documentation

void DispCmdTriStrips::getpointers ( float *& cnv,
int *& f,
int *& vertsperstrip
) const [inline]

float * cnv; array of colors, normals, vertices int * f; facet vertex index array int * vertsperstrip; array of vertex count per strip index.

Definition at line 402 of file DispCmds.h.

References numstripverts, and numverts.

Referenced by putdata, and FileRenderer::render.

void DispCmdTriStrips::putdata ( const float * vertices,
const float * normals,
const float * colors,
int num_verts,
const int * verts_per_strip,
int num_strips,
const unsigned int * strip_data,
const int num_strip_verts,
int double_sided_lighting,
) [static]

Definition at line 674 of file DispCmds.C.

References VMDDisplayList::append, doublesided, DTRISTRIP, getpointers, NULL, numstrips, numstripverts, and numverts.

Referenced by DispCmdTriMesh::putdata.


Member Data Documentation

int DispCmdTriStrips::doublesided

whether or not we need double-sided lighting.

Definition at line 424 of file DispCmds.h.

Referenced by putdata.

int DispCmdTriStrips::numstrips

total number of strips.

Definition at line 422 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

int DispCmdTriStrips::numstripverts

total number of vertices in strip data array.

Definition at line 423 of file DispCmds.h.

Referenced by getpointers, and putdata.

int DispCmdTriStrips::numverts

number of vertices in mesh.

Definition at line 421 of file DispCmds.h.

Referenced by getpointers, putdata, 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 によって変換されたページ (->オリジナル) /