#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <math.h>
#include <string.h>
#include "molfile_plugin.h"
#include "endianswap.h"
#include "fortread.h"
Go to the source code of this file.
Compounds | |
struct | fs4_t |
Defines | |
#define | M_PI 3.14159265358979323846 |
Functions | |
void * | open_fs4_read (const char *filepath, const char *filetype, int *natoms) |
int | read_fs4_metadata (void *v, int *nsets, molfile_volumetric_t **metadata) |
int | read_fs4_data (void *v, int set, float *dstBlock, float *colorblock) |
void | close_fs4_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 | |
molfile_plugin_t | plugin |
|
Definition at line 46 of file fs4plugin.C. Referenced by open_fs4_read. |
|
Definition at line 298 of file fs4plugin.C. References fs4_t::fd, and fs4_t::vol. Referenced by VMDPLUGIN_init. |
|
Definition at line 59 of file fs4plugin.C. References molfile_volumetric_t::dataname, fs4_t::f, fs4_t::fd, fortread_4, molfile_volumetric_t::has_color, fs4_t::m, M_PI, MOLFILE_NUMATOMS_NONE, fs4_t::nsets, molfile_volumetric_t::origin, fs4_t::s, fs4_t::scale, fs4_t::swap, swap4_aligned, fs4_t::vol, fs4_t::x, molfile_volumetric_t::xaxis, molfile_volumetric_t::xsize, fs4_t::y, molfile_volumetric_t::yaxis, molfile_volumetric_t::ysize, fs4_t::z, molfile_volumetric_t::zaxis, and molfile_volumetric_t::zsize. Referenced by VMDPLUGIN_init. |
|
Definition at line 252 of file fs4plugin.C. References fs4_t::f, fs4_t::fd, fortread_4, fs4_t::m, MOLFILE_ERROR, fs4_t::s, fs4_t::scale, fs4_t::swap, fs4_t::vol, molfile_volumetric_t::xsize, molfile_volumetric_t::ysize, and molfile_volumetric_t::zsize. Referenced by VMDPLUGIN_init. |
|
Definition at line 242 of file fs4plugin.C. References fs4_t::nsets, and fs4_t::vol. Referenced by VMDPLUGIN_init. |
|
Definition at line 335 of file fs4plugin.C. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
Definition at line 330 of file fs4plugin.C. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 310 of file fs4plugin.C. |