#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include "molfile_plugin.h"
#include "unit_conversion.h"
#include "periodic_table.h"
#include "vmdconio.h"
Go to the source code of this file.
Compounds | |
struct | cube_box |
struct | cube_t |
Defines | |
#define | M_PI_2 1.57079632679489661922 |
#define | THISPLUGIN plugin |
Functions | |
int | cube_readbox (cube_box *box, float *x, float *y, float *z) |
void | cube_buildrotmat (cube_t *cube, float *o, float *a, float *b) |
void | close_cube_read (void *v) |
void * | open_cube_read (const char *filepath, const char *filetype, int *natoms) |
int | read_cube_structure (void *v, int *optflags, molfile_atom_t *atoms) |
int | read_cube_timestep (void *v, int natoms, molfile_timestep_t *ts) |
int | read_cube_metadata (void *v, int *nsets, molfile_volumetric_t **metadata) |
int | read_cube_data (void *v, int set, float *datablock, float *colorblock) |
int | VMDPLUGIN_init (void) |
int | VMDPLUGIN_register (void *v, vmdplugin_register_cb cb) |
int | VMDPLUGIN_fini (void) |
Variables | |
const float | bohr = BOHR_TO_ANGS |
|
Definition at line 34 of file cubeplugin.C. Referenced by cube_readbox. |
|
Definition at line 39 of file cubeplugin.C. |
|
Definition at line 555 of file cubeplugin.C. References cube_t::datacache, cube_t::fd, cube_t::file_name, VMDCON_INFO, and cube_t::vol. Referenced by open_cube_read, and VMDPLUGIN_init. |
|
Definition at line 102 of file cubeplugin.C. References cube_t::origin, and cube_t::rotmat. Referenced by open_cube_read. |
|
Definition at line 66 of file cubeplugin.C. References cube_box::A, cube_box::alpha, cube_box::B, cube_box::beta, cube_box::C, cube_box::gamma, and M_PI_2. Referenced by open_cube_read. |
|
|
Definition at line 480 of file cubeplugin.C. References cube_t::datacache, cube_t::datapos, cube_t::fd, MOLFILE_ERROR, cube_t::nsets, VMDCON_INFO, cube_t::vol, molfile_volumetric_t::xsize, molfile_volumetric_t::ysize, and molfile_volumetric_t::zsize. Referenced by VMDPLUGIN_init. |
|
Definition at line 471 of file cubeplugin.C. References cube_t::nsets, and cube_t::vol. Referenced by VMDPLUGIN_init. |
|
|
Definition at line 406 of file cubeplugin.C. References cube_box::A, molfile_timestep_t::A, cube_box::alpha, molfile_timestep_t::alpha, cube_box::B, molfile_timestep_t::B, cube_box::beta, molfile_timestep_t::beta, bohr, cube_t::box, cube_box::C, molfile_timestep_t::C, cube_t::coord, molfile_timestep_t::coords, cube_t::crdpos, cube_t::fd, cube_t::file_name, cube_box::gamma, molfile_timestep_t::gamma, MOLFILE_EOF, MOLFILE_ERROR, cube_t::numatoms, cube_t::origin, and cube_t::rotmat. Referenced by VMDPLUGIN_init. |
|
Definition at line 600 of file cubeplugin.C. References VMDPLUGIN_SUCCESS. |
|
Definition at line 575 of file cubeplugin.C. References close_cube_read, MOLFILE_PLUGIN_TYPE, open_cube_read, read_cube_data, read_cube_metadata, read_cube_structure, read_cube_timestep, vmdplugin_ABIVERSION, VMDPLUGIN_SUCCESS, and VMDPLUGIN_THREADSAFE. |
|
Definition at line 595 of file cubeplugin.C. References vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Definition at line 42 of file cubeplugin.C. Referenced by open_cube_read, and read_cube_timestep. |