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

DispCmdWireMesh Struct Reference

draw a wire mesh consisting of vertices, facets, colors, normals etc. More...

#include <DispCmds.h>

List of all members.


Public Methods

void getpointers (float *&cnv, int *&l) const

Static Public Methods

void putdata (const float *vertices, const float *normals, const float *colors, int num_verts, const int *lines, int num_lines, VMDDisplayList *)

Public Attributes

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

int numlines
total number of lines. More...


Detailed Description

draw a wire mesh consisting of vertices, facets, colors, normals etc.

Definition at line 429 of file DispCmds.h.


Member Function Documentation

void DispCmdWireMesh::getpointers ( float *& cnv,
int *& l
) const [inline]

Parameters:
cnv array of colors, normals, vertices
l line vertex index array

Definition at line 437 of file DispCmds.h.

References numverts.

Referenced by putdata, and FileRenderer::render.

void DispCmdWireMesh::putdata ( const float * vertices,
const float * normals,
const float * colors,
int num_verts,
const int * lines,
int num_lines,
) [static]

Definition at line 734 of file DispCmds.C.

References VMDDisplayList::append, DWIREMESH, getpointers, NULL, numlines, and numverts.


Member Data Documentation

int DispCmdWireMesh::numlines

total number of lines.

Definition at line 447 of file DispCmds.h.

Referenced by putdata, and FileRenderer::render.

int DispCmdWireMesh::numverts

number of vertices in mesh.

Definition at line 446 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 によって変換されたページ (->オリジナル) /