Blender V2.61 - r43446

SCA_2DFilterActuator.h

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