00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
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
00047 virtual CoorDataState next(Molecule *m);
00048 };
00049
00050 #endif
00051