Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

ImageSequenceMovieFile.h

Go to the documentation of this file.
00001 // This is oxl/oxp/ImageSequenceMovieFile.h
00002 #ifndef ImageSequenceMovieFile_h_
00003 #define ImageSequenceMovieFile_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 //  ImageSequenceMovieFile is a subclass of MovieFileInterface that
00010 //  reads from a sequence of images.
00011 //
00012 // \author
00013 //     Andrew W. Fitzgibbon, Oxford RRG, 31 Dec 98
00014 //
00015 //-----------------------------------------------------------------------------
00016 
00017 #include <oxp/MovieFileInterface.h>
00018 
00019 struct ImageSequenceMovieFilePrivates;
00020 
00021 //: subclass of MovieFileInterface that reads from a sequence of images
00022 class ImageSequenceMovieFile : public MovieFileInterface
00023 {
00024   ImageSequenceMovieFilePrivates* p;
00025  public:
00026   ImageSequenceMovieFile(char const* filepattern, int frame_index_to_search_for_extension);
00027   ~ImageSequenceMovieFile();
00028 
00029   int GetLength();
00030   int GetSizeX(int);
00031   int GetSizeY(int);
00032   int GetBitsPixel();
00033   bool IsInterlaced();
00034   bool HasFrame(int);
00035   vil1_image GetImage(int);
00036 
00037   bool GetFrame(int frame_index, void* buffer);
00038   bool GetField(int field_index, void* buffer);
00039 };
00040 
00041 #endif // ImageSequenceMovieFile_h_

Generated on Thu Jan 10 14:46:06 2008 for contrib/oxl/oxp by  doxygen 1.4.4