Loading [MathJax]/extensions/tex2jax.js
VTK
9.4.20250403
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
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
vtkGaussianBlurPass
Implement a post-processing Gaussian blur render pass.
Definition
vtkGaussianBlurPass.h:55
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:88
vtkGaussianBlurPass::Pass2
vtkTextureObject * Pass2
Definition
vtkGaussianBlurPass.h:90
vtkGaussianBlurPass::Pass1
vtkTextureObject * Pass1
Definition
vtkGaussianBlurPass.h:89
vtkGaussianBlurPass::BlurProgram
vtkOpenGLHelper * BlurProgram
Definition
vtkGaussianBlurPass.h:93
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:29
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkOpenGLFramebufferObject
Internal class which encapsulates OpenGL FramebufferObject.
Definition
vtkOpenGLFramebufferObject.h:175
vtkOpenGLHelper
Definition
vtkOpenGLHelper.h:21
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition
vtkOpenGLRenderWindow.h:64
vtkRenderState
Context in which a vtkRenderPass will render.
Definition
vtkRenderState.h:30
vtkTextureObject
abstracts an OpenGL texture object.
Definition
vtkTextureObject.h:34
vtkWindow
window superclass for vtkRenderWindow
Definition
vtkWindow.h:48
vtkImageProcessingPass.h
vtkWrappingHints.h
VTK_MARSHALAUTO
#define VTK_MARSHALAUTO
Definition
vtkWrappingHints.h:50
Generated on Thu Apr 3 2025 14:19:46 for VTK by
1.9.7