VTK
9.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
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
=========================================================================*/
49
#ifndef vtkGaussianBlurPass_h
50
#define vtkGaussianBlurPass_h
51
52
#include "
vtkImageProcessingPass.h
"
53
#include "vtkRenderingOpenGL2Module.h"
// For export macro
54
55
class
vtkDepthPeelingPassLayerList;
// Pimpl
56
class
vtkOpenGLFramebufferObject
;
57
class
vtkOpenGLHelper
;
58
class
vtkOpenGLRenderWindow
;
59
class
vtkTextureObject
;
60
61
class
VTKRENDERINGOPENGL2_EXPORT
vtkGaussianBlurPass
:
public
vtkImageProcessingPass
62
{
63
public
:
64
static
vtkGaussianBlurPass
*
New
();
65
vtkTypeMacro(
vtkGaussianBlurPass
,
vtkImageProcessingPass
);
66
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
67
72
void
Render
(
const
vtkRenderState
* s)
override
;
73
79
void
ReleaseGraphicsResources
(
vtkWindow
* w)
override
;
80
81
protected
:
85
vtkGaussianBlurPass
();
86
90
~vtkGaussianBlurPass
()
override
;
91
95
vtkOpenGLFramebufferObject
*
FrameBufferObject
;
96
vtkTextureObject
*
Pass1
;
// render target for the scene
97
vtkTextureObject
*
Pass2
;
// render target for the horizontal pass
98
99
// Structures for the various cell types we render.
100
vtkOpenGLHelper
*
BlurProgram
;
101
102
private
:
103
vtkGaussianBlurPass
(
const
vtkGaussianBlurPass
&) =
delete
;
104
void
operator=(
const
vtkGaussianBlurPass
&) =
delete
;
105
};
106
107
#endif
vtkGaussianBlurPass
Implement a post-processing Gaussian blur render pass.
Definition:
vtkGaussianBlurPass.h:62
vtkGaussianBlurPass::~vtkGaussianBlurPass
~vtkGaussianBlurPass() override
Destructor.
vtkGaussianBlurPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
vtkGaussianBlurPass::New
static vtkGaussianBlurPass * New()
vtkGaussianBlurPass::Render
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
vtkGaussianBlurPass::FrameBufferObject
vtkOpenGLFramebufferObject * FrameBufferObject
Graphics resources.
Definition:
vtkGaussianBlurPass.h:95
vtkGaussianBlurPass::Pass2
vtkTextureObject * Pass2
Definition:
vtkGaussianBlurPass.h:97
vtkGaussianBlurPass::Pass1
vtkTextureObject * Pass1
Definition:
vtkGaussianBlurPass.h:96
vtkGaussianBlurPass::BlurProgram
vtkOpenGLHelper * BlurProgram
Definition:
vtkGaussianBlurPass.h:100
vtkGaussianBlurPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGaussianBlurPass::vtkGaussianBlurPass
vtkGaussianBlurPass()
Default constructor.
vtkImageProcessingPass
Convenient class for post-processing passes.
Definition:
vtkImageProcessingPass.h:39
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkOpenGLFramebufferObject
Internal class which encapsulates OpenGL FramebufferObject.
Definition:
vtkOpenGLFramebufferObject.h:182
vtkOpenGLHelper
Definition:
vtkOpenGLHelper.h:31
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:93
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:41
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:60
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:39
vtkImageProcessingPass.h
Generated on Fri Apr 21 2023 10:29:03 for VTK by
1.9.6