VTK
9.7.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Rendering
OpenGL2
vtkGaussianBlurPass.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
40
#ifndef vtkGaussianBlurPass_h
41
#define vtkGaussianBlurPass_h
42
43
#include "
vtkImageProcessingPass.h
"
44
#include "vtkRenderingOpenGL2Module.h"
// For export macro
45
#include "
vtkWrappingHints.h
"
// For VTK_MARSHALAUTO
46
47
VTK_ABI_NAMESPACE_BEGIN
48
class
vtkDepthPeelingPassLayerList;
// Pimpl
49
class
vtkOpenGLFramebufferObject
;
50
class
vtkOpenGLHelper
;
51
class
vtkOpenGLRenderWindow
;
52
class
vtkTextureObject
;
53
54
class
VTKRENDERINGOPENGL2_EXPORT
VTK_MARSHALAUTO
vtkGaussianBlurPass
:
public
vtkImageProcessingPass
55
{
56
public
:
57
static
vtkGaussianBlurPass
*
New
();
58
vtkTypeMacro(
vtkGaussianBlurPass
,
vtkImageProcessingPass
);
59
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
60
65
void
Render
(
const
vtkRenderState
* s)
override
;
66
72
void
ReleaseGraphicsResources
(
vtkWindow
* w)
override
;
73
74
protected
:
78
vtkGaussianBlurPass
();
79
83
~
vtkGaussianBlurPass
()
override
;
84
88
vtkOpenGLFramebufferObject
*
FrameBufferObject
;
89
vtkTextureObject
*
Pass1
;
// render target for the scene
90
vtkTextureObject
*
Pass2
;
// render target for the horizontal pass
91
92
// Structures for the various cell types we render.
93
vtkOpenGLHelper
*
BlurProgram
;
94
95
private
:
96
vtkGaussianBlurPass
(
const
vtkGaussianBlurPass
&) =
delete
;
97
void
operator=(
const
vtkGaussianBlurPass
&) =
delete
;
98
};
99
100
VTK_ABI_NAMESPACE_END
101
#endif
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:46
vtkGaussianBlurPass::FrameBufferObject
vtkOpenGLFramebufferObject * FrameBufferObject
Graphics resources.
Definition:
vtkGaussianBlurPass.h:88
vtkWrappingHints.h
vtkGaussianBlurPass::BlurProgram
vtkOpenGLHelper * BlurProgram
Definition:
vtkGaussianBlurPass.h:93
vtkImageProcessingPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
vtkImageProcessingPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageProcessingPass
Convenient class for post-processing passes.
Definition:
vtkImageProcessingPass.h:28
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:41
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:29
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:28
vtkGaussianBlurPass::Pass2
vtkTextureObject * Pass2
Definition:
vtkGaussianBlurPass.h:90
vtkOpenGLFramebufferObject
Internal class which encapsulates OpenGL FramebufferObject.
Definition:
vtkOpenGLFramebufferObject.h:174
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:33
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
vtkOpenGLHelper
Definition:
vtkOpenGLHelper.h:20
vtkGaussianBlurPass::Pass1
vtkTextureObject * Pass1
Definition:
vtkGaussianBlurPass.h:89
VTK_MARSHALAUTO
#define VTK_MARSHALAUTO
Definition:
vtkWrappingHints.h:75
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkGaussianBlurPass
Implement a post-processing Gaussian blur render pass.
Definition:
vtkGaussianBlurPass.h:54
vtkImageProcessingPass.h
Generated on Tue Oct 20 2026 10:48:21 for VTK by
1.8.10