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_TEXTURE_AROUND_PATH_H 00021 #define GEE_TEXTURE_AROUND_PATH_H 00022 00023 #include <gee_erase_around_path.h> 00024 00025 class GEE_TextureAroundPath : public GEE_EraseAroundPath 00026 { 00027 public: 00028 GEE_TextureAroundPath(GEE_id_t pathId = -1, 00029 float radiusNorm = 1.0f, 00030 float exaggerateRadius = 0.0f, 00031 bool useNapra = false); 00032 virtual ~GEE_TextureAroundPath(); 00033 00034 virtual bool read(GEE_Io *); 00035 virtual bool write(GEE_Io *); 00036 00037 virtual const char * type(); 00038 static GEE_Operator * create(); 00039 00040 void setTextureName(const std::string name) 00041 { m_texName = name; m_texId = -1; } 00042 00043 protected: 00044 virtual void doWork(GEE_World *); 00045 std::string m_texName; 00046 int m_texId; 00047 }; 00048 00049 #endif