Blender  V2.59
SCA_2DFilterActuator.h
Go to the documentation of this file.
00001 /*
00002  * SCA_2DFilterActuator.h
00003  *
00004  * $Id: SCA_2DFilterActuator.h 37446 2011-06-13 11:36:25Z blendix $
00005  *
00006  * ***** BEGIN GPL LICENSE BLOCK *****
00007  *
00008  * This program is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU General Public License
00010  * as published by the Free Software Foundation; either version 2
00011  * of the License, or (at your option) any later version.
00012  *
00013  * This program is distributed in the hope that it will be useful,
00014  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016  * GNU General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU General Public License
00019  * along with this program; if not, write to the Free Software Foundation,
00020  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
00021  *
00022  * The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
00023  * All rights reserved.
00024  *
00025  * ***** END GPL LICENSE BLOCK *****
00026  */
00027 
00032 #ifndef __SCA_2DFILETRACTUATOR_H__
00033 #define __SCA_2DFILETRACTUATOR_H__
00034 
00035 #include "RAS_IRasterizer.h"
00036 #include "SCA_IActuator.h"
00037 #include "SCA_IScene.h"
00038 
00039 class SCA_2DFilterActuator : public SCA_IActuator
00040 {
00041     Py_Header;
00042 
00043 private:
00044         vector<STR_String> m_propNames;
00045         RAS_2DFilterManager::RAS_2DFILTER_MODE m_type;
00046         short m_disableMotionBlur;
00047         float m_float_arg;
00048         int   m_int_arg;
00049         STR_String      m_shaderText;
00050         RAS_IRasterizer* m_rasterizer;
00051         SCA_IScene* m_scene;
00052 
00053 public:
00054 
00055     SCA_2DFilterActuator(
00056         class SCA_IObject* gameobj,
00057         RAS_2DFilterManager::RAS_2DFILTER_MODE type,
00058                 short flag,
00059                 float float_arg,
00060                 int int_arg,
00061                 RAS_IRasterizer* rasterizer,
00062                 SCA_IScene* scene);
00063 
00064         void    SetShaderText(const char *text);
00065     virtual ~SCA_2DFilterActuator();
00066     virtual bool Update();
00067 
00068     virtual CValue* GetReplica();
00069 };
00070 #endif