gee_insert_particle.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 CRYSTAL_INSERT_PARTICLE_H
00021 #define CRYSTAL_INSERT_PARTICLE_H
00022 
00023 #include <gee_operator.h>
00024 #include <gee_param_writer.h>
00025 #include <gee_particle_object.h>
00026 
00030 class GEE_InsertParticle : public GEE_Operator
00031 {
00032 public:
00033   GEE_InsertParticle();
00034   virtual ~GEE_InsertParticle();
00035   
00036   virtual bool act(GEE_World *, const GEE_TimeStamp &);
00037 
00038   virtual bool read(GEE_Io *);
00039   virtual bool write(GEE_Io *);
00040   virtual const char * type();
00041 
00042   static GEE_Operator * create();
00043 
00044   GEE_ParticleData & particle() { return m_particle; }
00045 
00046 protected:
00047   GEE_ParticleData m_particle;
00048 
00049   GEE_ParamWriter  m_writer;
00050 
00051   GEE_id_t         m_objId;
00052 };
00053 
00054 #endif

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