#include <stdio.h>#include <math.h>#include <string.h>#include "molfile_plugin.h"#include "endianswap.h"#include "ply.h"#include "ply.c"Go to the source code of this file.
Compounds | |
| struct | Face |
| struct | ply_t |
| plugin data handle. More... | |
| struct | Vertex |
Typedefs | |
| typedef Vertex | Vertex |
| typedef Face | Face |
Functions | |
| void * | open_file_read (const char *filepath, const char *filetype, int *natoms) |
| int | read_rawgraphics (void *v, int *nelem, const molfile_graphics_t **data) |
| void | close_file_read (void *v) |
| VMDPLUGIN_API int | VMDPLUGIN_init (void) |
| VMDPLUGIN_API int | VMDPLUGIN_register (void *v, vmdplugin_register_cb cb) |
| VMDPLUGIN_API int | VMDPLUGIN_fini (void) |
Variables | |
| PlyProperty | vert_props [] |
| PlyProperty | face_props [] |
| molfile_plugin_t | plugin |
|
|
|
|
|
|
|
|
Definition at line 264 of file plyplugin.C. References ply_t::fd, and ply_t::graphics. Referenced by VMDPLUGIN_init. |
|
||||||||||||||||
|
Definition at line 73 of file plyplugin.C. References ply_t::fd, and ply_t::graphics. Referenced by VMDPLUGIN_init. |
|
||||||||||||||||
|
Definition at line 90 of file plyplugin.C. References Vertex::b, molfile_graphics_t::data, PlyFile::elems, equal_strings, ply_t::fd, free_ply, Vertex::g, get_element_ply, get_other_element_ply, get_other_properties_ply, ply_t::graphics, ply_t::has_normals, MOLFILE_ERROR, MOLFILE_TRIANGLE, PlyProperty::name, PlyElement::nprops, PlyFile::num_elem_types, Face::nverts, ply_t::per_vertex_color, PlyElement::props, Vertex::r, read_ply, setup_element_read_ply, setup_property_ply, molfile_graphics_t::type, Face::verts, Vertex::x, Vertex::y, and Vertex::z. Referenced by VMDPLUGIN_init. |
|
|
Definition at line 301 of file plyplugin.C. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
||||||||||||
|
Definition at line 296 of file plyplugin.C. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
|
Initial value: {
{"vertex_indices", Int32, Int32, offsetof(Face,verts),
1, Uint8, Uint8, offsetof(Face,nverts)},
{"vertex_index", Int32, Int32, offsetof(Face,verts),
1, Uint8, Uint8, offsetof(Face,nverts)},
}Definition at line 54 of file plyplugin.C. |
|
|
Definition at line 277 of file plyplugin.C. |
|
|
Initial value: {
{"x", Float32, Float32, offsetof(Vertex,x), 0, 0, 0, 0},
{"y", Float32, Float32, offsetof(Vertex,y), 0, 0, 0, 0},
{"z", Float32, Float32, offsetof(Vertex,z), 0, 0, 0, 0},
{"r", Float32, Float32, offsetof(Vertex,r), 0, 0, 0, 0},
{"g", Float32, Float32, offsetof(Vertex,g), 0, 0, 0, 0},
{"b", Float32, Float32, offsetof(Vertex,b), 0, 0, 0, 0},
{"nx", Float32, Float32, offsetof(Vertex,nx), 0, 0, 0, 0},
{"ny", Float32, Float32, offsetof(Vertex,ny), 0, 0, 0, 0},
{"nz", Float32, Float32, offsetof(Vertex,nz), 0, 0, 0, 0},
}Definition at line 42 of file plyplugin.C. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002