00001 /* 00002 * Copyright (c) 2000, University of Amsterdam, The Netherlands. 00003 * All rights reserved. 00004 * 00005 * Author(s): 00006 * 00007 * Dennis Koelma (koelma@wins.uva.nl) 00008 * Marc Navarro (mnavarro@wins.uva.nl) 00009 * 00010 */ 00011 00012 00013 #ifndef HxImageSeqDXMedia_H 00014 #define HxImageSeqDXMedia_H 00015 00016 #include "HxString.h" 00017 #include "HxImageRep.h" 00018 #include "HxImageSeqData.h" 00019 00020 00023 class HxImageSeqDXMedia : public HxImageSeqData { 00024 00025 public: 00027 HxImageSeqDXMedia(HxString fileName, int bufSize); 00028 00030 virtual ~HxImageSeqDXMedia(); 00031 00033 virtual int valid(); 00034 00036 virtual int frameWidth(); 00037 00039 virtual int frameHeight(); 00040 00042 virtual int frameDepth(); 00043 00045 virtual int nrFrames(); 00046 00051 virtual void getRgb2d(int fn, int* pixels, 00052 HxString displayMode); 00053 00058 virtual void getRgbPixels2d(int fn, int* pixels, 00059 HxString displayMode, 00060 int resWidth, int resHeight, 00061 HxGeoIntType gi); 00062 00065 virtual HxImageRep frame2HxImageRep(int); 00066 00067 private: 00068 00069 void getRgbPixels2d(int fn, int* pixels); 00070 00071 void* _handle; 00072 HxSizes _sizes; 00073 }; 00074 00075 #endif