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

moviecapture.h

Go to the documentation of this file.
00001 // moviecapture.h
00002 //
00003 // Copyright (C) 2001, Chris Laurel <claurel@shatters.net>
00004 //
00005 // This program is free software; you can redistribute it and/or
00006 // modify it under the terms of the GNU General Public License
00007 // as published by the Free Software Foundation; either version 2
00008 // of the License, or (at your option) any later version.
00009 
00010 #ifndef _MOVIECAPTURE_H_
00011 #define _MOVIECAPTURE_H_
00012 
00013 #include <string>
00014 
00015 
00016 class MovieCapture
00017 {
00018  public:
00019     MovieCapture() {};
00020     virtual ~MovieCapture() {};
00021 
00022     virtual bool start(const std::string& filename,
00023                        int width, int height,
00024                        float fps) = 0;
00025     virtual bool end() = 0;
00026     virtual bool captureFrame() = 0;
00027 
00028     virtual int getFrameCount() const = 0;
00029     virtual int getWidth() const = 0;
00030     virtual int getHeight() const = 0;
00031     virtual float getFrameRate() const = 0;
00032 };
00033 
00034 #endif // _MOVIECAPTURE_H_
00035 

Generated on Sat Jan 14 22:30:31 2006 for Celestia by  doxygen 1.4.1