VTK  9.3.20240425
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
44#include "vtkRenderingOpenGL2Module.h" // For export macro
45
46VTK_ABI_NAMESPACE_BEGIN
47class vtkDepthPeelingPassLayerList; // Pimpl
49class vtkOpenGLHelper;
52
53class VTKRENDERINGOPENGL2_EXPORT vtkGaussianBlurPass : public vtkImageProcessingPass
54{
55public:
58 void PrintSelf(ostream& os, vtkIndent indent) override;
59
64 void Render(const vtkRenderState* s) override;
65
72
73protected:
78
83
88 vtkTextureObject* Pass1; // render target for the scene
89 vtkTextureObject* Pass2; // render target for the horizontal pass
90
91 // Structures for the various cell types we render.
93
94private:
96 void operator=(const vtkGaussianBlurPass&) = delete;
97};
98
99VTK_ABI_NAMESPACE_END
100#endif
Implement a post-processing Gaussian blur render pass.
~vtkGaussianBlurPass() override
Destructor.
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
static vtkGaussianBlurPass * New()
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
vtkOpenGLFramebufferObject * FrameBufferObject
Graphics resources.
vtkTextureObject * Pass2
vtkTextureObject * Pass1
vtkOpenGLHelper * BlurProgram
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkGaussianBlurPass()
Default constructor.
Convenient class for post-processing passes.
a simple class to control print indentation
Definition vtkIndent.h:108
Internal class which encapsulates OpenGL FramebufferObject.
OpenGL rendering window.
Context in which a vtkRenderPass will render.
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow
Definition vtkWindow.h:48