ImageSequence.H

Go to the documentation of this file.
00001 /**************************************************************
00002  *  Name: Devon Michael Penney (dmp)
00003  *  File: ImageSequence.H
00004  *  Asgn: VRG3D-UI
00005  *  Date: Mon Nov 20 22:10:16 EST 2006
00006  **************************************************************/
00007 
00008 #ifndef ImageSequence_Header
00009 #define ImageSequence_Header
00010 
00011 #include <VRG3D.H>
00012 class ImageSequence {
00013 
00014 public:
00015 
00016   ImageSequence(std::string dir);
00017   virtual ~ImageSequence();
00018   void loadImages();
00019   void flushImages();
00020   TextureRef getCurrImage();
00021   void setCurrImage(int i);
00022 
00023 protected:
00024 
00025 private:
00026   Array<std::string> files;
00027   Array<TextureRef> textures;
00028   int currImage;
00029   bool loaded;
00030 
00031 };
00032 
00033 #endif

Generated on Mon Nov 20 23:11:03 2006 for VRG3D-UI by  doxygen 1.4.6