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_OPERATOR_FLASH_H 00021 #define VEE_OPERATOR_FLASH_H 00022 00023 #include <vee_operator.h> 00024 00025 class VEE_OperatorFlash : public VEE_Operator 00026 { 00027 public: 00028 VEE_OperatorFlash(); 00029 virtual ~VEE_OperatorFlash(); 00030 00031 virtual void operate(VEE_Object *, float); 00032 virtual VEE_Operator * clone() const; 00033 00034 void set(float frequency, float minValue, float maxValue) 00035 { m_frequency = frequency; m_min = minValue; m_max = maxValue; } 00036 00037 protected: 00038 float m_frequency; 00039 float m_min, m_max; 00040 00041 }; 00042 00043 #endif