#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "molfile_plugin.h"
#include "endianswap.h"
#include "fortread.h"
Go to the source code of this file.
Compounds | |
struct | grid_t |
Functions | |
void * | open_grid_read (const char *filepath, const char *filetype, int *natoms) |
int | read_grid_metadata (void *v, int *nsets, molfile_volumetric_t **metadata) |
int | read_grid_data (void *v, int set, float *datablock, float *colorblock) |
void | close_grid_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 196 of file gridplugin.C. References grid_t::fd, and grid_t::vol. Referenced by VMDPLUGIN_init. |
|
Definition at line 64 of file gridplugin.C. References molfile_volumetric_t::dataname, grid_t::fd, fortread_4, molfile_volumetric_t::has_color, MOLFILE_NUMATOMS_NONE, molfile_volumetric_t::origin, grid_t::swap, swap4_aligned, grid_t::vol, molfile_volumetric_t::xaxis, molfile_volumetric_t::xsize, molfile_volumetric_t::yaxis, molfile_volumetric_t::ysize, molfile_volumetric_t::zaxis, and molfile_volumetric_t::zsize. Referenced by VMDPLUGIN_init. |
|
Definition at line 162 of file gridplugin.C. References grid_t::fd, fortread_4, MOLFILE_ERROR, grid_t::swap, grid_t::vol, molfile_volumetric_t::xsize, molfile_volumetric_t::ysize, and molfile_volumetric_t::zsize. Referenced by VMDPLUGIN_init. |
|
Definition at line 153 of file gridplugin.C. References grid_t::vol. Referenced by VMDPLUGIN_init. |
|
Definition at line 233 of file gridplugin.C. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
Definition at line 228 of file gridplugin.C. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 208 of file gridplugin.C. |