VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Rendering
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 "
vtkImageProcessingPass.h
"
55
56
class
vtkOpenGLRenderWindow
;
57
class
vtkDepthPeelingPassLayerList;
// Pimpl
58
class
vtkShaderProgram2
;
59
class
vtkShader2
;
60
class
vtkFrameBufferObject
;
61
class
vtkTextureObject
;
62
63
class
VTK_RENDERING_EXPORT
vtkGaussianBlurPass
:
public
vtkImageProcessingPass
64
{
65
public
:
66
static
vtkGaussianBlurPass
*
New
();
67
vtkTypeMacro(
vtkGaussianBlurPass
,
vtkImageProcessingPass
);
68
void
PrintSelf
(ostream& os,
vtkIndent
indent);
69
70
//BTX
72
74
virtual
void
Render
(
const
vtkRenderState
*s);
75
//ETX
77
80
void
ReleaseGraphicsResources
(
vtkWindow
*w);
81
82
protected
:
84
vtkGaussianBlurPass
();
85
87
virtual
~
vtkGaussianBlurPass
();
88
90
91
vtkFrameBufferObject
*
FrameBufferObject
;
92
vtkTextureObject
*
Pass1
;
// render target for the scene
93
vtkTextureObject
*
Pass2
;
// render target for the horizontal pass
94
vtkShaderProgram2
*
BlurProgram
;
// blur shader
96
97
bool
Supported
;
98
bool
SupportProbed
;
99
100
private
:
101
vtkGaussianBlurPass
(
const
vtkGaussianBlurPass
&);
// Not implemented.
102
void
operator=(
const
vtkGaussianBlurPass
&);
// Not implemented.
103
};
104
105
#endif
Generated on Wed May 30 2012 13:22:21 for VTK by
1.8.1