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

raster3dplugin.C File Reference

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

Go to the source code of this file.

Compounds

struct  handle_t

Functions

void * open_file_read (const char *filepath, const char *filetype, int *natoms)
void next_elem (int &n, int &max, molfile_graphics_t *&graphics)
int get_line (int &line, char *buf, int len, FILE *f)
int read_rawgraphics (void *v, int *nelem, const molfile_graphics_t **gdata)
void close_file_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_file_read void *    v [static]
 

Definition at line 489 of file raster3dplugin.C.

References handle_t::fd, and handle_t::graphics.

Referenced by VMDPLUGIN_init.

int get_line int &    line,
char *    buf,
int    len,
FILE *    f
[static]
 

Definition at line 55 of file raster3dplugin.C.

Referenced by read_rawgraphics.

void next_elem int &    n,
int &    max,
molfile_graphics_t *&    graphics
[static]
 

Definition at line 46 of file raster3dplugin.C.

Referenced by read_rawgraphics.

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

Definition at line 31 of file raster3dplugin.C.

References handle_t::fd, and handle_t::graphics.

Referenced by VMDPLUGIN_init.

int read_rawgraphics void *    v,
int *    nelem,
const molfile_graphics_t **    gdata
[static]
 

Definition at line 107 of file raster3dplugin.C.

References molfile_graphics_t::data, handle_t::fd, get_line, handle_t::graphics, MOLFILE_COLOR, MOLFILE_CYLINDER, MOLFILE_ERROR, MOLFILE_NORMS, MOLFILE_SPHERE, MOLFILE_TRIANGLE, MOLFILE_TRICOLOR, MOLFILE_TRINORM, next_elem, molfile_graphics_t::size, molfile_graphics_t::style, and molfile_graphics_t::type.

Referenced by VMDPLUGIN_init.

VMDPLUGIN_API int VMDPLUGIN_fini void   
 

Definition at line 526 of file raster3dplugin.C.

References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS.

VMDPLUGIN_API int VMDPLUGIN_init void   
 

Definition at line 504 of file raster3dplugin.C.

References close_file_read, molfile_plugin_t::close_file_read, molfile_plugin_t::filename_extension, MOLFILE_PLUGIN_TYPE, open_file_read, molfile_plugin_t::open_file_read, read_rawgraphics, molfile_plugin_t::read_rawgraphics, vmdplugin_ABIVERSION, VMDPLUGIN_API, VMDPLUGIN_SUCCESS, and VMDPLUGIN_THREADSAFE.

VMDPLUGIN_API int VMDPLUGIN_register void *    v,
vmdplugin_register_cb    cb
 

Definition at line 521 of file raster3dplugin.C.

References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS.


Variable Documentation

molfile_plugin_t plugin [static]
 

Definition at line 502 of file raster3dplugin.C.


Generated on Thu Dec 5 03:07:49 2024 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002