VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
OpenGL
vtkGaussianBlurPass.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkGaussianBlurPass.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
51
#ifndef __vtkGaussianBlurPass_h
52
#define __vtkGaussianBlurPass_h
53
54
#include "vtkRenderingOpenGLModule.h"
// For export macro
55
#include "
vtkImageProcessingPass.h
"
56
57
class
vtkOpenGLRenderWindow
;
58
class
vtkDepthPeelingPassLayerList;
// Pimpl
59
class
vtkShaderProgram2
;
60
class
vtkShader2
;
61
class
vtkFrameBufferObject
;
62
class
vtkTextureObject
;
63
64
class
VTKRENDERINGOPENGL_EXPORT
vtkGaussianBlurPass
:
public
vtkImageProcessingPass
65
{
66
public
:
67
static
vtkGaussianBlurPass
*
New
();
68
vtkTypeMacro(
vtkGaussianBlurPass
,
vtkImageProcessingPass
);
69
void
PrintSelf
(ostream& os,
vtkIndent
indent);
70
71
//BTX
73
75
virtual
void
Render
(
const
vtkRenderState
*s);
76
//ETX
78
81
void
ReleaseGraphicsResources
(
vtkWindow
*w);
82
83
protected
:
85
vtkGaussianBlurPass
();
86
88
virtual
~
vtkGaussianBlurPass
();
89
91
92
vtkFrameBufferObject
*
FrameBufferObject
;
93
vtkTextureObject
*
Pass1
;
// render target for the scene
94
vtkTextureObject
*
Pass2
;
// render target for the horizontal pass
95
vtkShaderProgram2
*
BlurProgram
;
// blur shader
97
98
bool
Supported
;
99
bool
SupportProbed
;
100
101
private
:
102
vtkGaussianBlurPass
(
const
vtkGaussianBlurPass
&);
// Not implemented.
103
void
operator=(
const
vtkGaussianBlurPass
&);
// Not implemented.
104
};
105
106
#endif
Generated on Thu May 24 2012 22:22:36 for VTK by
1.8.1