VTK  9.3.20240329
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 
46 VTK_ABI_NAMESPACE_BEGIN
47 class vtkDepthPeelingPassLayerList; // Pimpl
49 class vtkOpenGLHelper;
51 class vtkTextureObject;
52 
53 class VTKRENDERINGOPENGL2_EXPORT vtkGaussianBlurPass : public vtkImageProcessingPass
54 {
55 public:
58  void PrintSelf(ostream& os, vtkIndent indent) override;
59 
64  void Render(const vtkRenderState* s) override;
65 
72 
73 protected:
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 
94 private:
96  void operator=(const vtkGaussianBlurPass&) = delete;
97 };
98 
99 VTK_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.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state s.
vtkOpenGLFramebufferObject * FrameBufferObject
Graphics resources.
vtkTextureObject * Pass2
static vtkGaussianBlurPass * New()
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