Frapper  1.0a
AqtFilterBilateralSmoothNode.h
Go to the documentation of this file.
1 /*
2 -----------------------------------------------------------------------------
3 This source file is part of the “aQtree” cooperation project between the Institute of Animation, Brainpets GbR and University of Konstanz.
4 Copyright (c) 2008-2009 Filmakademie Baden-Wuerttemberg, Institute of Animation & University of Konstanz and brainpets GbR
5 
6 www.aQtree.de
7 
8 aQtree nodes function in FRAPPER, the framework application developed at the Institute of Animation.
9 FRAPPER
10 research.animationsinstitut.de
11 sourceforge.net/projects/frapper
12 Copyright (c) 2008-2009 Filmakademie Baden-Wuerttemberg, Institute of Animation
13 
14 This program is free software; you can redistribute it and/or modify it under
15 the terms of the GNU Lesser General Public License as published by the Free Software
16 Foundation; version 2.1 of the License.
17 
18 This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
19 
20 You should have received a copy of the GNU Lesser General Public License along with
21 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
22 Place - Suite 330, Boston, MA 02111-1307, USA, or go to
23 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
24 -----------------------------------------------------------------------------
25 */
26 
36 
37 #ifndef AQTFILTERBILATERALSMOOTHNODE_H
38 #define AQTFILTERBILATERALSMOOTHNODE_H
39 
40 #include "CompositorNode.h"
41 
42 namespace AqtFilterBilateralSmoothNode {
43 using namespace Frapper;
44 
49 {
50 
51  Q_OBJECT
52 
53 public: // constructors and destructors
54 
61  AqtFilterBilateralSmoothNode ( const QString &name, ParameterGroup *parameterRoot );
62 
70  virtual ~AqtFilterBilateralSmoothNode ();
71 
72 protected: // functions
73 
80  virtual void notifyMaterialRender(Ogre::uint32 pass_id, Ogre::MaterialPtr &mat);
81 
82 private slots:
83 
87  void processOutputImage ();
88 
93  void invalidateCache ();
94 
95 };
96 
97 } // namespace AqtFilterBilateralSmoothNode
98 
99 #endif