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_VALUE_GUI_VECTOR3_H 00021 #define VEE_VALUE_GUI_VECTOR3_H 00022 00023 #include <vee_value_gui.h> 00024 00025 #include <vee_parameters.h> 00026 00027 class VEE_HasValues; 00028 00029 class VEE_ValueGuiVector3 : public VEE_ValueGui 00030 { 00031 Q_OBJECT 00032 00033 public: 00034 VEE_ValueGuiVector3(QObject * parent = 0, 00035 const char * name = 0); 00036 00037 virtual ~VEE_ValueGuiVector3(); 00038 00039 virtual void build(VEE_ValueWindow *host, 00040 VEE_HasValues *target, 00041 const VEE_ParameterVector3 ¶meter); 00042 00043 virtual void bangValue(); 00044 00045 public slots: 00046 00047 void setValue1(double); 00048 void getValue1(double *); 00049 void setValue2(double); 00050 void getValue2(double *); 00051 void setValue3(double); 00052 void getValue3(double *); 00053 00054 protected: 00055 00056 void setValue(int, double); 00057 void getValue(int, double *); 00058 00059 VEE_ParameterVector3 m_value; 00060 }; 00061 00062 #endif