vee_operator_texture_loop.h

Go to the documentation of this file.
00001 /* -*- C++ -*- */
00002 
00003 /* COPYRIGHT
00004  *
00005  * This file is part of the Visual Effects Engine - VEE
00006  *
00007  * Read the "VEE-LICENSE" file for the license.
00008  *
00009  * Authors & Copyright:   
00010  *
00011  * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 
00012  * Janne Kontkanen 2001-2004
00013  *
00014  * Additional copyrights: Tekes 2003-2004
00015  *
00016  * firstname.lastname@hut.fi
00017  *
00018  */
00019 
00020 #ifndef VEE_OPERATOR_TEXTURE_LOOP_H
00021 #define VEE_OPERATOR_TEXTURE_LOOP_H
00022 
00023 #include <vee_operator.h>
00024 #include <vee_reference_object.h>
00025 #include <vee_value_curve.h>
00026 
00027 #include <vector>
00028 
00029 class VEE_OperatorTextureLoop : public VEE_Operator
00030 {
00031 public:
00032   VEE_OperatorTextureLoop();
00033   virtual ~VEE_OperatorTextureLoop();
00034   virtual void operate(VEE_Object *, float);
00035   virtual VEE_Operator * clone() const;
00036 
00037   void addTexture(int t);
00038   void setTimeScale(VEE_TimeScale scale) { m_timeScale = scale; }
00039   void setLoopTime(float time) { m_loopTime = time; }
00040     
00041 protected:
00042   
00043   VEE_TimeScale m_timeScale;
00044   float         m_loopTime;
00045   float         m_time;
00046   VEE_ReferenceObject<std::vector<int> > m_textures;
00047 
00048 };
00049 
00050 #endif

Generated on Mon Mar 12 21:09:01 2007 for VEE - The Visual Effects Engine by  doxygen 1.4.6