Frapper
1.0a
Main Page
Namespaces
Classes
Files
File List
File Members
plugins
nodes
Compositing
Tridelity
TridelityNode.h
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
#ifndef TRIDELITYNODE_H
12
#define TRIDELITYNODE_H
13
14
#include "
CompositorNode.h
"
15
#include "
InstanceCounterMacros.h
"
16
17
namespace
TridelityNode {
18
using namespace
Frapper;
19
23
class
TridelityNode
:
public
CompositorNode
24
{
25
26
Q_OBJECT
27
ADD_INSTANCE_COUNTER
28
29
public
:
// constructors and destructors
30
37
TridelityNode
(
const
QString &name,
ParameterGroup
*parameterRoot );
38
46
virtual
~
TridelityNode
();
47
48
protected
:
// functions
49
56
virtual
void
notifyMaterialRender(Ogre::uint32 pass_id, Ogre::MaterialPtr &mat);
57
58
void
SetupTextures();
59
60
Ogre::TexturePtr CreateLookupTexture();
61
62
public
:
63
64
private
slots:
65
66
70
void
processOutputImage ();
71
75
void
redrawTriggered ();
76
77
private
:
// members
78
82
Ogre::CompositorInstance *m_compositors[2];
83
84
Ogre::PixelFormat
m_pixelFormat
;
85
Ogre::TexturePtr
m_lookupTexture
;
86
NumberParameter
*
m_resX
;
87
NumberParameter
*
m_resY
;
88
89
static
const
int
lookupX
;
90
static
const
int
lookupY
;
91
static
const
int
lookupML[5][15];
92
static
const
int
lookupMV[5][15];
93
94
int
m_screenType
;
95
96
};
97
98
}
// namespace TridelityNode
99
#endif
Generated on Tue Sep 18 2012 11:43:03 for Frapper by
1.8.2