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

FaderEffect.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 FaderEffect_Header
00009 #define FaderEffect_Header
00010 
00011 #include <DrawObj.H>
00012 #include <IS3D.H>
00013 #include "Word.H"
00014 #include "Effect.H"
00015 
00016 using namespace std;
00017 
00024 namespace cavewriting {
00025 
00026 
00027 class FaderEffect : public Effect {
00028 
00029 public:
00030 
00031   FaderEffect(Array<Word*>& words, 
00032     double startTime, double duration = 100.0,
00033     double startAlpha = 1.0, double endAlpha = 0.0,
00034         bool startPaused = true);
00035   static FaderEffect* fromXML(xercesc::DOMElement * node, bool startPaused = true); 
00036   virtual ~FaderEffect();
00037 
00038   virtual void animate(); 
00039 protected:
00040   double _startAlpha;
00041   double _endAlpha;
00042 private:
00043 
00044 };
00045 }
00046 
00047 #endif

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