#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <math.h>
#include <string.h>
#include "molfile_plugin.h"
Go to the source code of this file.
Compounds | |
struct | am_t |
Defines | |
#define | BUFSZ 1024 |
Functions | |
char * | get_next_noncomment_line (char *buf, int bufsz, FILE *f) |
long | find_data_offset (FILE *f) |
int | amira_readvar_int (am_t *am, char *varname, int *val) |
int | amira_readvar_float (am_t *am, char *varname, float *val) |
int | amira_check_trimesh (am_t *am) |
void * | open_file_read (const char *filepath, const char *filetype, int *natoms) |
void | close_file_read (void *v) |
int | read_volumetric_metadata (void *v, int *nsets, molfile_volumetric_t **metadata) |
int | read_volumetric_data (void *v, int set, float *datablock, float *colorblock) |
int | read_rawgraphics (void *v, int *nelem, const molfile_graphics_t **data) |
VMDPLUGIN_API int | VMDPLUGIN_init (void) |
VMDPLUGIN_API int | VMDPLUGIN_register (void *v, vmdplugin_register_cb cb) |
VMDPLUGIN_API int | VMDPLUGIN_fini (void) |
Variables | |
molfile_plugin_t | plugin |
|
Definition at line 40 of file amiraplugin.C. Referenced by find_data_offset, and open_file_read. |
|
Definition at line 114 of file amiraplugin.C. References amira_readvar_int, am_t::hastrimesh, am_t::headerbuf, am_t::ntriangles, and am_t::nvertices. Referenced by open_file_read. |
|
Definition at line 100 of file amiraplugin.C. References am_t::headerbuf. |
|
Definition at line 86 of file amiraplugin.C. References am_t::headerbuf. Referenced by amira_check_trimesh. |
|
Definition at line 214 of file amiraplugin.C. References am_t::f, and am_t::vol. Referenced by VMDPLUGIN_init. |
|
Definition at line 69 of file amiraplugin.C. References BUFSZ. Referenced by open_file_read. |
|
Definition at line 61 of file amiraplugin.C. |
|
Definition at line 134 of file amiraplugin.C. References amira_check_trimesh, BUFSZ, am_t::dataoffset, am_t::f, find_data_offset, am_t::hastrimesh, am_t::headerbuf, am_t::isbinary, am_t::islittleendian, am_t::nsets, and am_t::vol. Referenced by VMDPLUGIN_init. |
|
Definition at line 241 of file amiraplugin.C. References BUFFLEN, calcNormals, molfile_graphics_t::data, MOLFILE_COLOR, MOLFILE_ERROR, MOLFILE_NORMS, MOLFILE_TRIANGLE, MOLFILE_TRICOLOR, nextNoncommentLine, and molfile_graphics_t::type. Referenced by VMDPLUGIN_init. |
|
Definition at line 234 of file amiraplugin.C. References MOLFILE_ERROR. Referenced by VMDPLUGIN_init. |
|
Definition at line 224 of file amiraplugin.C. References am_t::nsets, and am_t::vol. Referenced by VMDPLUGIN_init. |
|
Definition at line 487 of file amiraplugin.C. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
Definition at line 482 of file amiraplugin.C. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 461 of file amiraplugin.C. |