vee_operator_volume.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_OPERATOR_VOLUME_H
00021 #define VEE_OPERATOR_VOLUME_H
00022 
00023 #include <vee_clonable_pointer.h>
00024 #include <vee_operator.h>
00025 #include <vee_volume.h>
00026 
00027 class VEE_OperatorVolume : public VEE_Operator
00028 {
00029 public:
00030   VEE_OperatorVolume();
00031   ~VEE_OperatorVolume();
00032   
00033   virtual bool setValue(const char *, VEE_Value *);
00034   virtual void operate (VEE_Object *, float);
00035   virtual VEE_Operator * clone () const;
00036 
00037   void setVolume(VEE_Volume * vol);
00038   void setId(const std::string & id) { m_id = id; }
00039 
00040 protected:
00041   VEE_ClonablePointer<VEE_Volume> m_volume;
00042 
00043   std::string m_id;
00044 };
00045 
00046 #endif

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