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_GROUP_AROUND_PATH_H 00021 #define GEE_GROUP_AROUND_PATH_H 00022 00023 #include <gee_erase_around_path.h> 00024 00025 class GEE_Group; 00026 00027 class GEE_GroupAroundPath : public GEE_EraseAroundPath 00028 { 00029 public: 00030 GEE_GroupAroundPath(GEE_id_t pathId = -1); 00031 virtual ~GEE_GroupAroundPath(); 00032 00033 virtual bool stop(GEE_World *, const GEE_TimeStamp &); 00034 00035 virtual bool read(GEE_Io *); 00036 virtual bool write(GEE_Io *); 00037 00038 virtual const char * type(); 00039 static GEE_Operator * create(); 00040 00041 protected: 00042 virtual void doWork(GEE_World *); 00043 VEE_RefPtr<GEE_Geometry> m_group; 00044 GEE_Group *m_groupPtr; 00045 GEE_id_t m_groupId; 00046 }; 00047 00048 #endif