Main Page   Alphabetical List   Compound List   File List   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_fini (void)
VMDPLUGIN_API int VMDPLUGIN_register (void *v, vmdplugin_register_cb cb)

Variables

molfile_plugin_t plugin


Function Documentation

void close_file_read void *    v [static]
 

Definition at line 495 of file raster3dplugin.C.

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

Referenced by VMDPLUGIN_register.

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

Definition at line 46 of file raster3dplugin.C.

Referenced by read_rawgraphics.

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

Definition at line 37 of file raster3dplugin.C.

Referenced by read_rawgraphics.

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

Definition at line 22 of file raster3dplugin.C.

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

Referenced by VMDPLUGIN_register.

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

Definition at line 54 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_SUCCESS, MOLFILE_TRIANGLE, MOLFILE_TRICOLOR, MOLFILE_TRINORM, next_elem, molfile_graphics_t::size, molfile_graphics_t::style, and molfile_graphics_t::type.

Referenced by VMDPLUGIN_register.

VMDPLUGIN_API int VMDPLUGIN_fini void   
 

Definition at line 521 of file raster3dplugin.C.

References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS.

VMDPLUGIN_API int VMDPLUGIN_init void   
 

Definition at line 520 of file raster3dplugin.C.

References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS.

VMDPLUGIN_API int VMDPLUGIN_register void *    v,
vmdplugin_register_cb    cb
 

Definition at line 522 of file raster3dplugin.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.


Variable Documentation

molfile_plugin_t plugin [static]
 

Initial value:

 {
  vmdplugin_ABIVERSION,  
  MOLFILE_PLUGIN_TYPE,   
  "raster3d",            
  "Raster3d Scene File", 
  "Justin Gullingsrud",  
  0,                     
  1,                     
  VMDPLUGIN_THREADSAFE,  
  "r3d"                  
}

Definition at line 508 of file raster3dplugin.C.


Generated on Wed Mar 22 13:15:34 2006 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002