gee_path_insert.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 GEE_PATH_INSERT_H
00021 #define GEE_PATH_INSERT_H
00022 
00023 #include <gee_operator.h>
00024 
00025 #include <gee_path.h>
00026 
00027 class GEE_PathInsert : public GEE_Operator
00028 {
00029 public:
00030   GEE_PathInsert(GEE_id_t id = -1);
00031   virtual ~GEE_PathInsert();
00032 
00033   virtual bool act(GEE_World *, const GEE_TimeStamp &);
00034 
00035   virtual bool read(GEE_Io *);
00036   virtual bool write(GEE_Io *);
00037   virtual const char * type() { return "GEE_PathInsert"; }
00038 
00039   GEE_Path3D & path() { return m_path; }
00040 
00041   static GEE_Operator * create();
00042 
00043   void setPathId(GEE_id_t id) { m_pathId = id; }
00044   GEE_id_t pathId() const { return m_pathId; }
00045 protected:
00046 
00047   GEE_id_t   m_pathId;
00048   GEE_Path3D m_path;
00049 };
00050 
00051 #endif

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