VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dox
build
vtk6-uph7e7
vtk6-6.2.0+dfsg1
Rendering
OpenGL2
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 "vtkRenderingOpenGL2Module.h"
// For export macro
55
#include "
vtkImageProcessingPass.h
"
56
57
class
vtkOpenGLRenderWindow
;
58
class
vtkDepthPeelingPassLayerList;
// Pimpl
59
class
vtkFrameBufferObject
;
60
class
vtkTextureObject
;
61
namespace
vtkgl
62
{
63
class
CellBO;
64
}
65
66
class
VTKRENDERINGOPENGL2_EXPORT
vtkGaussianBlurPass
:
public
vtkImageProcessingPass
67
{
68
public
:
69
static
vtkGaussianBlurPass
*New();
70
vtkTypeMacro
(
vtkGaussianBlurPass
,
vtkImageProcessingPass
);
71
void
PrintSelf(ostream& os,
vtkIndent
indent);
72
73
//BTX
75
77
virtual
void
Render(
const
vtkRenderState
*
s
);
78
//ETX
80
83
void
ReleaseGraphicsResources(
vtkWindow
*
w
);
84
85
protected
:
87
vtkGaussianBlurPass
();
88
90
virtual
~
vtkGaussianBlurPass
();
91
93
94
vtkFrameBufferObject
*FrameBufferObject;
95
vtkTextureObject
*Pass1;
// render target for the scene
96
vtkTextureObject
*Pass2;
// render target for the horizontal pass
98
99
// Structures for the various cell types we render.
100
vtkgl::CellBO
*
BlurProgram
;
101
102
bool
Supported;
103
bool
SupportProbed;
104
105
private
:
106
vtkGaussianBlurPass
(
const
vtkGaussianBlurPass
&);
// Not implemented.
107
void
operator=(
const
vtkGaussianBlurPass
&);
// Not implemented.
108
};
109
110
#endif
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:37
vtkgl::CellBO
Definition:
vtkglVBOHelper.h:90
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition:
vtkSetGet.h:632
vtkImageProcessingPass
Convenient class for post-processing passes. render pass.
Definition:
vtkImageProcessingPass.h:39
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:33
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:39
vtkgl::w
GLubyte GLubyte GLubyte GLubyte w
Definition:
vtkgl.h:12054
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkgl
Definition:
vtkgl.h:11267
vtkFrameBufferObject
internal class which encapsulates OpenGL frame buffer object. Not to be used directly.
Definition:
vtkFrameBufferObject.h:46
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:39
vtkGaussianBlurPass::BlurProgram
vtkgl::CellBO * BlurProgram
Definition:
vtkGaussianBlurPass.h:100
vtkgl::s
GLdouble s
Definition:
vtkgl.h:11594
vtkImageProcessingPass.h
vtkGaussianBlurPass
Implement a post-processing Gaussian blur render pass.
Definition:
vtkGaussianBlurPass.h:61
Generated by
1.8.11