Main Page   Class Overview   Pixels   Images   Geometry   Quick Index  

HxImageSeqData.h

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  *  TatHieu Nguyen  (tat@wins.uva.nl)
00009  *  Thang Pham      (vietp@wins.uva.nl)
00010  *
00011  */
00012 
00013 
00014 #ifndef HxImageSeqData_H
00015 #define HxImageSeqData_H
00016 
00017 #include "HxString.h"
00018 #include "HxImageRep.h"
00019 
00020 #include <list>
00021 
00022 class HxImageSeqData : public HxRcObject {
00023 
00024 public:
00025                             HxImageSeqData(int bufsize);
00026 
00027     virtual                 ~HxImageSeqData();
00028 
00029                             // identity of the sequence
00030     int                     ident() const;
00031 
00032                             // frame width
00033     virtual int             frameWidth() = 0;
00034 
00035                             // frame height
00036     virtual int             frameHeight() = 0;
00037 
00038                             // frame depth
00039     virtual int             frameDepth() = 0;
00040 
00041                             // number of frames
00042     virtual int             nrFrames() = 0;
00043 
00044     HxImageRep              getFrame(int fn);
00045 
00046     virtual void            getRgb2d(int fn, int* pixels, 
00047                                 HxString displayMode);
00048 
00049     virtual void            getRgbPixels2d(int nr, int* pixels, 
00050                                 HxString displayMode,
00051                                 int resWidth, int resHeight,
00052                                 HxGeoIntType gi);
00053     
00054 
00055     virtual HxImageRep      frame2HxImageRep(int) = 0;
00056 
00057 private:
00058     static int              _nr;
00059     int                     _ident;
00060     int                     _bufsize;
00061     int                     current;
00062     int                     size;
00063     std::list<HxImageRep>   buffer;
00064 };
00065 
00066 #endif

Generated on Tue Jan 8 13:59:13 2002 for C++Reference by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001