#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <math.h>
#include <string.h>
#include "molfile_plugin.h"
#include "largefiles.h"
#include "vmdconio.h"
Go to the source code of this file.
Compounds | |
struct | dx_t |
Defines | |
#define | THISPLUGIN plugin |
#define | LINESIZE 2040 |
Functions | |
char * | dxgets (char *s, int n, FILE *stream) |
void * | open_dx_read (const char *filepath, const char *filetype, int *natoms) |
int | read_dx_metadata (void *v, int *nsets, molfile_volumetric_t **metadata) |
int | read_binary_dx_data (dx_t *dx, int set, float *datablock) |
int | read_dx_data (void *v, int set, float *datablock, float *colorblock) |
void | close_dx_read (void *v) |
void * | open_dx_write (const char *filepath, const char *filetype, int natoms) |
void | close_dx_write (void *v) |
int | write_dx_data (void *v, molfile_volumetric_t *metadata, float *datablock, float *colorblock) |
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 | dxplugin |
|
Definition at line 83 of file dxplugin.C. Referenced by open_dx_read, and read_dx_data. |
|
Definition at line 80 of file dxplugin.C. |
|
Definition at line 331 of file dxplugin.C. References dx_t::fd, and dx_t::vol. Referenced by VMDPLUGIN_init. |
|
Definition at line 352 of file dxplugin.C. Referenced by VMDPLUGIN_init. |
|
Definition at line 94 of file dxplugin.C. Referenced by open_dx_read, and read_dx_data. |
|
Definition at line 114 of file dxplugin.C. References molfile_volumetric_t::dataname, dxgets, dx_t::fd, molfile_volumetric_t::has_color, dx_t::isBinary, LINESIZE, MOLFILE_NUMATOMS_NONE, dx_t::nsets, molfile_volumetric_t::origin, dx_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 340 of file dxplugin.C. Referenced by VMDPLUGIN_init. |
|
Definition at line 228 of file dxplugin.C. References dx_t::fd, MOLFILE_ERROR, dx_t::vol, molfile_volumetric_t::xsize, molfile_volumetric_t::ysize, and molfile_volumetric_t::zsize. Referenced by read_dx_data. |
|
Definition at line 255 of file dxplugin.C. References molfile_volumetric_t::dataname, dxgets, dx_t::fd, dx_t::isBinary, LINESIZE, MOLFILE_ERROR, read_binary_dx_data, dx_t::vol, molfile_volumetric_t::xsize, molfile_volumetric_t::ysize, and molfile_volumetric_t::zsize. Referenced by VMDPLUGIN_init. |
|
Definition at line 219 of file dxplugin.C. References dx_t::nsets, and dx_t::vol. Referenced by VMDPLUGIN_init. |
|
Definition at line 485 of file dxplugin.C. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
|
Definition at line 480 of file dxplugin.C. References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 373 of file dxplugin.C. References molfile_volumetric_t::dataname, molfile_volumetric_t::origin, 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 455 of file dxplugin.C. |