#include <DispCmds.h>
Public Methods | |
void | getpointers (float *&cnv, int *&f) const |
retrieve pointers to data following DispCmd in the display list float * cnv : array of colors, normals, vertices int * f : facet vertex index array. More... | |
void | getpointers (float *&c, float *&n, float *&v) const |
retrieve pointers to data following DispCmd in the display list float *cnv : arrays of colors, normals, vertices. More... | |
void | getpointers (unsigned char *&c, float *&n, float *&v) const |
void | getpointers (unsigned char *&c, signed char *&n, float *&v) const |
void | getpointers (float *&n, float *&v) const |
retrieve pointers to data following DispCmd in the display list float *nv : arrays of normals, vertices. More... | |
void | getpointers (signed char *&n, float *&v) const |
Static Public Methods | |
void | putdata (const float *vertices, const float *normals, const float *colors, int num_facets, VMDDisplayList *) |
void | putdata (const float *vertices, const float *normals, const unsigned char *colors, int num_facets, VMDDisplayList *) |
void | putdata (const float *vertices, const char *normals, const unsigned char *colors, int num_facets, VMDDisplayList *) |
void | putdata (const float *vertices, const float *normals, const float *colors, int num_verts, const int *facets, int num_facets, int enablestrips, VMDDisplayList *) |
Public Attributes | |
int | pervertexcolors |
mesh contains per-vertex colors. More... | |
int | pervertexnormals |
mesh contains per-vertex colors. More... | |
int | numverts |
number of vertices in mesh. More... | |
int | numfacets |
number of facets. More... |
Definition at line 288 of file DispCmds.h.
|
Definition at line 374 of file DispCmds.h. |
|
retrieve pointers to data following DispCmd in the display list float *nv : arrays of normals, vertices.
Definition at line 369 of file DispCmds.h. |
|
Definition at line 361 of file DispCmds.h. |
|
Definition at line 355 of file DispCmds.h. |
|
retrieve pointers to data following DispCmd in the display list float *cnv : arrays of colors, normals, vertices.
Definition at line 349 of file DispCmds.h. |
|
retrieve pointers to data following DispCmd in the display list float * cnv : array of colors, normals, vertices int * f : facet vertex index array.
Definition at line 342 of file DispCmds.h. References numverts. Referenced by putdata, and FileRenderer::render. |
|
Definition at line 536 of file DispCmds.C. References VMDDisplayList::append, DTRIMESH_C4F_N3F_V3F, getpointers, NULL, numfacets, numverts, pervertexcolors, pervertexnormals, and DispCmdTriStrips::putdata. |
|
Definition at line 491 of file DispCmds.C. References VMDDisplayList::append, DTRIMESH_C4U_N3B_V3F, getpointers, n, NULL, numfacets, numverts, pervertexcolors, and pervertexnormals. |
|
Definition at line 448 of file DispCmds.C. References VMDDisplayList::append, DTRIMESH_C4U_N3F_V3F, getpointers, n, NULL, numfacets, numverts, pervertexcolors, and pervertexnormals. |
|
Definition at line 378 of file DispCmds.C. References VMDDisplayList::append, cross_prod, DTRIMESH_C3F_N3F_V3F, getpointers, n, NULL, numfacets, numverts, pervertexcolors, pervertexnormals, vec_normalize, and vec_sub. |
|
number of facets.
Definition at line 382 of file DispCmds.h. Referenced by putdata, and FileRenderer::render. |
|
number of vertices in mesh.
Definition at line 381 of file DispCmds.h. Referenced by getpointers, putdata, and FileRenderer::render. |
|
mesh contains per-vertex colors.
Definition at line 379 of file DispCmds.h. Referenced by putdata, and FileRenderer::render. |
|
mesh contains per-vertex colors.
Definition at line 380 of file DispCmds.h. Referenced by putdata, and FileRenderer::render. |