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

molemeshplugin.C File Reference

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

Go to the source code of this file.

Compounds

struct  graphics_list
struct  pmesh_t

Typedefs

typedef graphics_list molfile_graphics_list

Functions

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_register (void *v, vmdplugin_register_cb cb)
VMDPLUGIN_API int VMDPLUGIN_fini (void)

Variables

molfile_plugin_t plugin


Typedef Documentation

typedef struct graphics_list molfile_graphics_list
 


Function Documentation

void close_file_read void *    v [static]
 

Definition at line 294 of file molemeshplugin.C.

References pmesh_t::fd, and pmesh_t::graphics.

Referenced by VMDPLUGIN_init.

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

Definition at line 60 of file molemeshplugin.C.

References pmesh_t::fd, and pmesh_t::graphics.

Referenced by VMDPLUGIN_init.

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

Definition at line 75 of file molemeshplugin.C.

References molfile_graphics_t::data, pmesh_t::fd, graphics_list::gItem, pmesh_t::graphics, MOLFILE_ERROR, MOLFILE_TRIANGLE, graphics_list::next, and molfile_graphics_t::type.

Referenced by VMDPLUGIN_init.

VMDPLUGIN_API int VMDPLUGIN_fini void   
 

Definition at line 330 of file molemeshplugin.C.

References VMDPLUGIN_API, and VMDPLUGIN_SUCCESS.

VMDPLUGIN_API int VMDPLUGIN_init void   
 

Definition at line 308 of file molemeshplugin.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 325 of file molemeshplugin.C.

References VMDPLUGIN_API, vmdplugin_register_cb, and VMDPLUGIN_SUCCESS.


Variable Documentation

molfile_plugin_t plugin [static]
 

Definition at line 306 of file molemeshplugin.C.


Generated on Mon Nov 4 03:10:56 2024 for VMD Plugins (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002