Horus Doc || C++ Reference || Class Overview   Pixels   Images   Detector   Geometry   Registry || Doxygen's quick Index  

HxImageSeqMDC.h

00001 /*
00002  *  Copyright (c) 2002, University of Amsterdam, The Netherlands.
00003  *  All rights reserved.
00004  *
00005  *  Author(s):
00006  *
00007  *  Dennis Koelma   (koelma@wins.uva.nl)
00008  *  Ioannis Patras  (yiannis@wins.uva.nl)
00009  *
00010  */
00011 
00012 
00013 #ifndef HxImageSeqMDC_H
00014 #define HxImageSeqMDC_H
00015 
00016 #include "HxString.h"
00017 #include "HxImageRep.h"
00018 #include "HxImageSeqData.h"
00019 #include "cmpvdeco.h"
00020 
00021 
00024 class HxImageSeqMDC : public HxImageSeqData {
00025 
00026 public:
00028                         HxImageSeqMDC(HxString fileName, int bufSize);
00029 
00031     virtual             ~HxImageSeqMDC();
00032 
00034     virtual int         valid();
00035 
00037     virtual int         frameWidth();
00038 
00040     virtual int         frameHeight();
00041 
00043     virtual int         frameDepth();
00044 
00046     virtual int         nrFrames();
00047 
00052     virtual void        getRgb2d(int fn, int* pixels, 
00053                             HxString displayMode);
00054 
00059     virtual void        getRgbPixels2d(int fn, int* pixels, 
00060                             HxString displayMode,
00061                             int resWidth, int resHeight,
00062                             HxGeoIntType gi);
00063 
00066     virtual HxImageRep  frame2HxImageRep(int);
00067 
00068 private:
00069 
00070     void                getRgbPixels2d(int fn, int* pixels);
00071 
00072     CMpvDecoder         _mpvDecoder;
00073     int                 _valid;
00074     BYTE*               _pnOutBuf;
00075     HxSizes             _sizes;
00076     int                 _nrFrames;
00077 };
00078 
00079 #endif

Generated on Tue Feb 3 14:18:36 2004 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001