vee_particle2.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_PARTICLE2_H
00021 #define VEE_PARTICLE2_H
00022 
00023 #include <vee_particle.h>
00024 #include <vee_operator_list.h>
00025 
00028 class VEE_Particle2 : public VEE_Particle
00029 {
00030 public:
00031   VEE_Particle2();
00032   VEE_Particle2(const VEE_Vector3 &location,  const VEE_Vector3 &velocity, 
00033     float ageLimit = 1e+10)
00034     : VEE_Particle(location, velocity, ageLimit, 0) {}
00035 
00036   virtual ~VEE_Particle2();
00037 
00038   virtual bool setValue(const char *, VEE_Value *);
00039   virtual VEE_Object *clone() const;
00040   virtual void update(float dt);
00041 
00042   void appendSelfOperator(VEE_Operator *o) { m_slist.appendOperator(o); }
00043   void appendSelfOperator2(VEE_Operator *o, const char * name) 
00044   { m_slist.appendOperator(o, name); }
00045 
00046 protected:
00047   VEE_OperatorList m_slist;
00048 };
00049 
00050 #endif

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