VTK
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=========================================================================*/
52#ifndef vtkGaussianBlurPass_h
53#define vtkGaussianBlurPass_h
54
55#include "vtkRenderingOpenGLModule.h" // For export macro
57
59class vtkDepthPeelingPassLayerList; // Pimpl
61class vtkShader2;
64
65class VTKRENDERINGOPENGL_EXPORT vtkGaussianBlurPass : public vtkImageProcessingPass
66{
67public:
70 void PrintSelf(ostream& os, vtkIndent indent);
71
76 virtual void Render(const vtkRenderState *s);
77
84
85 protected:
90
95
100 vtkTextureObject *Pass1; // render target for the scene
101 vtkTextureObject *Pass2; // render target for the horizontal pass
103
106
107 private:
108 vtkGaussianBlurPass(const vtkGaussianBlurPass&) VTK_DELETE_FUNCTION;
109 void operator=(const vtkGaussianBlurPass&) VTK_DELETE_FUNCTION;
110};
111
112#endif
internal class which encapsulates OpenGL frame buffer object.
Implement a post-processing Gaussian blur render pass.
vtkTextureObject * Pass1
static vtkGaussianBlurPass * New()
void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
vtkTextureObject * Pass2
virtual void Render(const vtkRenderState *s)
Perform rendering according to a render state s.
vtkShaderProgram2 * BlurProgram
vtkFrameBufferObject * FrameBufferObject
Graphics resources.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
virtual ~vtkGaussianBlurPass()
Destructor.
vtkGaussianBlurPass()
Default constructor.
Convenient class for post-processing passes.
a simple class to control print indentation
Definition: vtkIndent.h:40
OpenGL rendering window.
Context in which a vtkRenderPass will render.
GLSL Shader.
Definition: vtkShader2.h:63
abstracts an OpenGL texture object.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35