VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
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
=========================================================================*/
48
#ifndef vtkGaussianBlurPass_h
49
#define vtkGaussianBlurPass_h
50
51
#include "
vtkRenderingOpenGLModule.h
"
// For export macro
52
#include "
vtkImageProcessingPass.h
"
53
54
class
vtkOpenGLRenderWindow
;
55
class
vtkDepthPeelingPassLayerList;
// Pimpl
56
class
vtkShaderProgram2
;
57
class
vtkShader2
;
58
class
vtkFrameBufferObject
;
59
class
vtkTextureObject
;
60
61
class
VTKRENDERINGOPENGL_EXPORT
vtkGaussianBlurPass
:
public
vtkImageProcessingPass
62
{
63
public
:
64
static
vtkGaussianBlurPass
*
New
();
65
vtkTypeMacro(
vtkGaussianBlurPass
,
vtkImageProcessingPass
);
66
void
PrintSelf
(ostream& os,
vtkIndent
indent);
67
68
//BTX
70
72
virtual
void
Render
(
const
vtkRenderState
*s);
73
//ETX
75
78
void
ReleaseGraphicsResources
(
vtkWindow
*w);
79
80
protected
:
82
vtkGaussianBlurPass
();
83
85
virtual
~
vtkGaussianBlurPass
();
86
88
89
vtkFrameBufferObject
*
FrameBufferObject
;
90
vtkTextureObject
*
Pass1
;
// render target for the scene
91
vtkTextureObject
*
Pass2
;
// render target for the horizontal pass
92
vtkShaderProgram2
*
BlurProgram
;
// blur shader
94
95
bool
Supported
;
96
bool
SupportProbed
;
97
98
private
:
99
vtkGaussianBlurPass
(
const
vtkGaussianBlurPass
&);
// Not implemented.
100
void
operator=(
const
vtkGaussianBlurPass
&);
// Not implemented.
101
};
102
103
#endif
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:37
vtkShader2
GLSL Shader.
Definition:
vtkShader2.h:61
vtkGaussianBlurPass::SupportProbed
bool SupportProbed
Definition:
vtkGaussianBlurPass.h:96
vtkGaussianBlurPass::Supported
bool Supported
Definition:
vtkGaussianBlurPass.h:95
vtkGaussianBlurPass::BlurProgram
vtkShaderProgram2 * BlurProgram
Definition:
vtkGaussianBlurPass.h:92
vtkImageProcessingPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w)
vtkImageProcessingPass
Convenient class for post-processing passes. render pass.
Definition:
vtkImageProcessingPass.h:39
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:36
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:39
vtkShaderProgram2
GLSL Program.
Definition:
vtkShaderProgram2.h:67
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
VTKRENDERINGOPENGL_EXPORT
#define VTKRENDERINGOPENGL_EXPORT
Definition:
vtkRenderingOpenGLModule.h:15
vtkGaussianBlurPass::Pass1
vtkTextureObject * Pass1
Definition:
vtkGaussianBlurPass.h:90
vtkRenderingOpenGLModule.h
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
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
vtkGaussianBlurPass::FrameBufferObject
vtkFrameBufferObject * FrameBufferObject
Definition:
vtkGaussianBlurPass.h:89
vtkGaussianBlurPass::Pass2
vtkTextureObject * Pass2
Definition:
vtkGaussianBlurPass.h:91
vtkObject::New
static vtkObject * New()
vtkGaussianBlurPass
Implement a post-processing Gaussian blur render pass.
Definition:
vtkGaussianBlurPass.h:61
vtkImageProcessingPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkImageProcessingPass.h
Generated by
1.8.9.1