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

FadeInOutEffect.H

Go to the documentation of this file.
00001 /**************************************************************
00002  *  Name: Sascha Becker (sab)
00003  *  File: FaderEffect.H
00004  *  Asgn: cavewriting
00005  *  Date: Thu Dec 30 13:07:10 EST 2004
00006  **************************************************************/
00007 
00008 #ifndef FadeInOutEffect_Header
00009 #define FadeInOutEffect_Header
00010 
00011 #include <DrawObj.H>
00012 #include <IS3D.H>
00013 #include "Word.H"
00014 #include "Effect.H"
00015 
00016 using namespace std;
00017 
00026 namespace cavewriting {
00027 
00028 
00029 class FadeInOutEffect : public Effect {
00030 
00031 public:
00032 
00033   FadeInOutEffect(Array<Word*>& words, 
00034           double startTime, double duration = 10.0, bool startPaused = true, 
00035           double fadeInDuration = 1.0, double pauseDuration = 3.0, double fadeOutDuration = 1.0
00036           );
00037   static FadeInOutEffect* fromXML(xercesc::DOMElement * node, bool startPaused = true); 
00038   virtual ~FadeInOutEffect();
00039 
00040   virtual void animate(); 
00041 
00042 protected:
00043 
00044   double _fadeInDuration;
00045   double _pauseDuration; 
00046   double _fadeOutDuration; 
00047 
00048 private:
00049 
00050 };
00051 }
00052 
00053 #endif

Generated on Sun Apr 17 13:34:27 2005 for cavewriting by  doxygen 1.4.0