vee_has_values.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_HAS_VALUES_H
00021 #define VEE_HAS_VALUES_H
00022 
00023 #include <vee_color.h> 
00024 #include <vee_vector3.h> 
00025 #include <vee_matrix3.h> 
00026 
00027 class VEE_Value;
00028 
00029 class VEE_HasValues
00030 {
00031 public:
00032   VEE_HasValues() {}
00033   virtual ~VEE_HasValues() {}
00034 
00035   virtual bool setValue(const char *, VEE_Value *);
00036 
00037   bool setValueInt(const char *, int);
00038   bool setValueFloat(const char *, float);
00039   bool setValueVector3(const char *, const VEE_Vector3 &);
00040   bool setValueVector3f(const char *, float , float , float);
00041   bool setValueMatrix3(const char *, const VEE_Matrix3 &);
00042   bool setValueRgba(const char *, const VEE_Rgba &);
00043   bool setValueRgbaf(const char *id, float r, float g, float b, float a)
00044   { return setValueRgba(id, VEE_Rgba(r, g, b, a)); }
00045   bool setValueRgbatf(const char *id, 
00046           float r, float g, float b, float a, float t)
00047   { return setValueRgba(id, VEE_Rgba(r, g, b, a, t)); }
00048 
00049 };
00050 
00051 #endif

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