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

CoorPluginData.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *cr
00003  *cr            (C) Copyright 1995-2011 The Board of Trustees of the
00004  *cr                        University of Illinois
00005  *cr                         All Rights Reserved
00006  *cr
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  * RCS INFORMATION:
00011  *
00012  *      $RCSfile: CoorPluginData.h,v $
00013  *      $Author: johns $        $Locker:  $             $State: Exp $
00014  *      $Revision: 1.14 $       $Date: 2010/12/16 04:08:10 $
00015  *
00016  ***************************************************************************
00017  * DESCRIPTION:
00018  *  CoorPluginData: Uses a MolFilePlugin to load a coordinate file. 
00019  ***************************************************************************/
00020 #ifndef COOR_PLUGIN_DATA_H
00021 #define COOR_PLUGIN_DATA_H
00022 
00023 #include "utilities.h"
00024 #include "WKFUtils.h"
00025 #include "CoorData.h"
00026 
00027 class Molecule;
00028 class MolFilePlugin;
00029 
00031 class CoorPluginData : public CoorData {
00032 protected:
00033   MolFilePlugin *plugin;
00034   int is_input;
00035   int begFrame, frameSkip, endFrame, recentFrame;
00036   wkf_timerhandle tm;
00037   int kbytesperframe, totalframes;
00038   int *selection; 
00039 
00040 public:
00041   CoorPluginData(const char *nm, Molecule *m, MolFilePlugin *,
00042     int is_input, int firstframe=-1, int framestride=-1, int lastframe=-1,
00043     const int *sel = NULL);
00044   ~CoorPluginData();
00045 
00046   // read/write next coordinate set.  Return state 
00047   virtual CoorDataState next(Molecule *m);
00048 };
00049 
00050 #endif
00051 

Generated on Wed May 16 01:49:08 2012 for VMD (current) by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002