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 "vtkRenderingOpenGL2Module.h" // For export macro
56 #include "vtkImageProcessingPass.h"
57 
58 class vtkDepthPeelingPassLayerList; // Pimpl
60 class vtkOpenGLHelper;
62 class vtkTextureObject;
63 
64 class VTKRENDERINGOPENGL2_EXPORT vtkGaussianBlurPass : public vtkImageProcessingPass
65 {
66 public:
69  void PrintSelf(ostream& os, vtkIndent indent);
70 
75  virtual void Render(const vtkRenderState *s);
76 
83 
84  protected:
89 
94 
98  vtkFrameBufferObject *FrameBufferObject;
99  vtkTextureObject *Pass1; // render target for the scene
100  vtkTextureObject *Pass2; // render target for the horizontal pass
101 
102  // Structures for the various cell types we render.
104 
105  bool Supported;
106  bool SupportProbed;
107 
108  private:
109  vtkGaussianBlurPass(const vtkGaussianBlurPass&) VTK_DELETE_FUNCTION;
110  void operator=(const vtkGaussianBlurPass&) VTK_DELETE_FUNCTION;
111 };
112 
113 #endif
vtkFrameBufferObject
internal class which encapsulates OpenGL frame buffer object.
Definition: vtkFrameBufferObject.h:47
vtkImageProcessingPass.h
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
vtkGaussianBlurPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w)
Release graphics resources and ask components to release their own resources.
vtkOpenGLHelper
Definition: vtkOpenGLHelper.h:31
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkTextureObject
abstracts an OpenGL texture object.
Definition: vtkTextureObject.h:41
vtkGaussianBlurPass
Implement a post-processing Gaussian blur render pass.
Definition: vtkGaussianBlurPass.h:63
vtkGaussianBlurPass::~vtkGaussianBlurPass
virtual ~vtkGaussianBlurPass()
Destructor.
vtkGaussianBlurPass::Render
virtual void Render(const vtkRenderState *s)
Perform rendering according to a render state s.
vtkGaussianBlurPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkGaussianBlurPass::New
static vtkGaussianBlurPass * New()
vtkGaussianBlurPass::BlurProgram
vtkOpenGLHelper * BlurProgram
Definition: vtkGaussianBlurPass.h:103
vtkGaussianBlurPass::vtkGaussianBlurPass
vtkGaussianBlurPass()
Default constructor.
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition: vtkOpenGLRenderWindow.h:39
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:41
vtkImageProcessingPass
Convenient class for post-processing passes.
Definition: vtkImageProcessingPass.h:41