#include <stdio.h>
#include <math.h>
#include <string.h>
#include "molfile_plugin.h"
#include "endianswap.h"
Go to the source code of this file.
Compounds | |
struct | grasp_t |
Defines | |
#define | TRASH fread(trash, 4, 1, infile) |
Functions | |
int | is_little_endian (void) |
void * | open_file_read (const char *filepath, const char *filetype, int *natoms) |
int | read_rawgraphics (void *v, int *nelem, const molfile_graphics_t **data) |
void | close_file_read (void *v) |
VMDPLUGIN_API int | VMDPLUGIN_init (void) |
VMDPLUGIN_API int | VMDPLUGIN_fini (void) |
VMDPLUGIN_API int | VMDPLUGIN_register (void *v, vmdplugin_register_cb cb) |
Variables | |
molfile_plugin_t | plugin |
|
|
|
Definition at line 243 of file graspplugin.C. References grasp_t::fd, and grasp_t::graphics. Referenced by VMDPLUGIN_register. |
|
Definition at line 30 of file graspplugin.C. Referenced by read_rawgraphics. |
|
Definition at line 40 of file graspplugin.C. References grasp_t::fd, and grasp_t::graphics. Referenced by VMDPLUGIN_register. |
|
Definition at line 55 of file graspplugin.C. References molfile_graphics_t::data, grasp_t::fd, grasp_t::graphics, is_little_endian, MOLFILE_ERROR, MOLFILE_NORMS, MOLFILE_SUCCESS, MOLFILE_TRINORM, swap2_aligned, swap4_aligned, and molfile_graphics_t::type. Referenced by VMDPLUGIN_register. |
|
Definition at line 267 of file graspplugin.C. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
Definition at line 266 of file graspplugin.C. References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS. |
|
Definition at line 268 of file graspplugin.C. References close_file_read, molfile_plugin_t::close_file_read, open_file_read, molfile_plugin_t::open_file_read, read_rawgraphics, molfile_plugin_t::read_rawgraphics, VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS. |
|
Initial value: { vmdplugin_ABIVERSION, MOLFILE_PLUGIN_TYPE, "grasp", "GRASP", "Justin Gullingsrud, John Stone", 0, 5, VMDPLUGIN_THREADSAFE, "srf,grasp" } Definition at line 254 of file graspplugin.C. |