Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

pbeqplugin.C File Reference

#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <math.h>
#include <string.h>
#include "molfile_plugin.h"
#include "endianswap.h"

Go to the source code of this file.

Compounds

struct  pbeq_t

Functions

void * open_pbeq_read (const char *filepath, const char *filetype, int *natoms)
int read_pbeq_metadata (void *v, int *nsets, molfile_volumetric_t **metadata)
int read_pbeq_data (void *v, int set, float *datablock, float *colorblock)
void close_pbeq_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


Function Documentation

void close_pbeq_read void *    v [static]
 

Definition at line 290 of file pbeqplugin.C.

References pbeq_t::fd, and pbeq_t::vol.

Referenced by VMDPLUGIN_init.

void* open_pbeq_read const char *    filepath,
const char *    filetype,
int *    natoms
[static]
 

Definition at line 62 of file pbeqplugin.C.

References molfile_volumetric_t::dataname, pbeq_t::fd, molfile_volumetric_t::has_color, MOLFILE_NUMATOMS_NONE, pbeq_t::nclx, pbeq_t::ncly, pbeq_t::nclz, pbeq_t::ndata, pbeq_t::nsets, molfile_volumetric_t::origin, pbeq_t::swap, swap4_aligned, swap8_aligned, pbeq_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.

int read_pbeq_data void *    v,
int    set,
float *    datablock,
float *    colorblock
[static]
 

Definition at line 233 of file pbeqplugin.C.

References pbeq_t::fd, MOLFILE_ERROR, pbeq_t::nclx, pbeq_t::ncly, pbeq_t::nclz, pbeq_t::ndata, pbeq_t::swap, and swap4_aligned.

Referenced by VMDPLUGIN_init.

int read_pbeq_metadata void *    v,
int *    nsets,
molfile_volumetric_t **    metadata
[static]
 

Definition at line 224 of file pbeqplugin.C.

References pbeq_t::nsets, and pbeq_t::vol.

Referenced by VMDPLUGIN_init.

VMDPLUGIN_API int VMDPLUGIN_fini void   
 

Definition at line 327 of file pbeqplugin.C.

References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS.

VMDPLUGIN_API int VMDPLUGIN_init void   
 

Definition at line 304 of file pbeqplugin.C.

References molfile_plugin_t::close_file_read, close_pbeq_read, molfile_plugin_t::filename_extension, MOLFILE_PLUGIN_TYPE, molfile_plugin_t::open_file_read, open_pbeq_read, read_pbeq_data, read_pbeq_metadata, molfile_plugin_t::read_volumetric_data, molfile_plugin_t::read_volumetric_metadata, vmdplugin_ABIVERSION, VMDPLUGIN_API, VMDPLUGIN_SUCCESS, and VMDPLUGIN_THREADSAFE.

VMDPLUGIN_API int VMDPLUGIN_register void *    v,
vmdplugin_register_cb    cb
 

Definition at line 322 of file pbeqplugin.C.

References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS.


Variable Documentation

molfile_plugin_t plugin [static]
 

Definition at line 302 of file pbeqplugin.C.


Generated on Mon Jan 20 02:56:43 2020 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002