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

biomoccaplugin.C File Reference

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

Go to the source code of this file.

Compounds

struct  biomocca_t

Functions

void * open_biomocca_read (const char *filepath, const char *filetype, int *natoms)
int read_biomocca_metadata (void *v, int *nsets, molfile_volumetric_t **metadata)
int read_biomocca_data (void *v, int set, float *datablock, float *colorblock)
void close_biomocca_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


Function Documentation

void close_biomocca_read void *    v [static]
 

Definition at line 154 of file biomoccaplugin.C.

References biomocca_t::fd, and biomocca_t::vol.

Referenced by VMDPLUGIN_init.

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

Definition at line 53 of file biomoccaplugin.C.

References molfile_volumetric_t::dataname, biomocca_t::fd, molfile_volumetric_t::has_color, MOLFILE_NUMATOMS_NONE, biomocca_t::nsets, molfile_volumetric_t::origin, biomocca_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_biomocca_data void *    v,
int    set,
float *    datablock,
float *    colorblock
[static]
 

Definition at line 128 of file biomoccaplugin.C.

References biomocca_t::fd, MOLFILE_ERROR, biomocca_t::vol, molfile_volumetric_t::xsize, molfile_volumetric_t::ysize, and molfile_volumetric_t::zsize.

Referenced by VMDPLUGIN_init.

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

Definition at line 119 of file biomoccaplugin.C.

References biomocca_t::nsets, and biomocca_t::vol.

Referenced by VMDPLUGIN_init.

VMDPLUGIN_API int VMDPLUGIN_fini void   
 

Definition at line 187 of file biomoccaplugin.C.

References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS.

VMDPLUGIN_API int VMDPLUGIN_init void   
 

Definition at line 168 of file biomoccaplugin.C.

References close_biomocca_read, molfile_plugin_t::close_file_read, molfile_plugin_t::filename_extension, MOLFILE_PLUGIN_TYPE, open_biomocca_read, molfile_plugin_t::open_file_read, read_biomocca_data, read_biomocca_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 189 of file biomoccaplugin.C.

References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS.


Variable Documentation

molfile_plugin_t plugin [static]
 

Definition at line 166 of file biomoccaplugin.C.


Generated on Mon Oct 7 03:09:29 2024 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002