Frapper  1.0a
GeometryBlurNode.h
Go to the documentation of this file.
1 /*
2 -----------------------------------------------------------------------------
3 Copyright (c) 2008-2009 Filmakademie Baden-Wuerttemberg, Institute of Animation
4 
5 This program is free software; you can redistribute it and/or modify it under
6 the terms of the GNU Lesser General Public License as published by the Free Software
7 Foundation; version 2.1 of the License.
8 
9 This program is distributed in the hope that it will be useful, but WITHOUT
10 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11 FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
12 
13 You should have received a copy of the GNU Lesser General Public License along with
14 this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15 Place - Suite 330, Boston, MA 02111-1307, USA, or go to
16 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html
17 -----------------------------------------------------------------------------
18 */
19 
29 
30 #ifndef GEOMETRYBLURNODE_H
31 #define GEOMETRYBLURNODE_H
32 
33 #include "CompositorNode.h"
34 #include "InstanceCounterMacros.h"
35 
36 namespace GeometryBlurNode {
37 using namespace Frapper;
38 
43 {
44 
45  Q_OBJECT
47 
48 public: // constructors and destructors
49 
56  GeometryBlurNode ( const QString &name, ParameterGroup *parameterRoot );
57 
65  virtual ~GeometryBlurNode ();
66 
67 protected: // functions
68 
75  virtual void notifyMaterialRender(Ogre::uint32 pass_id, Ogre::MaterialPtr &mat);
76 
77 public:
81  void redrawTriggered ();
82 
83 private slots:
84 
88  void processOutputImage ();
89 
90 };
91 
92 } // namespace GeometryBlurNode
93 
94 #endif