#include <Surf.h>
Public Methods | |
| Surf () | |
| int | compute (float probe_r, int num_points, float *r, float *x, float *y, float *z) |
| return 1 on success, 0 on fail takes the probe radius and the array of x,y,z,r values. More... | |
| void | clear () |
| free up triangle mesh memory. More... | |
Public Attributes | |
| int | numtriangles |
| number of triangles in the facet list. More... | |
| ResizeArray< float > | v |
| vertices. More... | |
| ResizeArray< float > | n |
| normals. More... | |
| ResizeArray< int > | f |
| facets. More... | |
| ResizeArray< int > | ind |
| facet-to-atom index map. More... | |
Definition at line 28 of file Surf.h.
|
|
|
|
|
free up triangle mesh memory.
Definition at line 156 of file Surf.C. References ResizeArray< int >::clear, ResizeArray< float >::clear, f, ind, n, numtriangles, and v. Referenced by DrawMolItem::change_rep. |
|
||||||||||||||||||||||||||||
|
return 1 on success, 0 on fail takes the probe radius and the array of x,y,z,r values.
Definition at line 35 of file Surf.C. References ResizeArray< int >::append, ResizeArray< float >::append3x3, f, ind, n, NULL, num, numtriangles, tri_degenerate, v, vmd_delete_file, VMD_FILENAME_MAX, vmd_getuid, vmd_random, vmd_system, vmd_tempfile, and z. |
|
|
facets.
|
|
|
facet-to-atom index map.
|
|
|
normals.
|
|
|
number of triangles in the facet list.
|
|
|
vertices.
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002