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 =========================================================================*/
48 #ifndef vtkGaussianBlurPass_h
49 #define vtkGaussianBlurPass_h
50 
51 #include "vtkRenderingOpenGL2Module.h" // For export macro
52 #include "vtkImageProcessingPass.h"
53 
54 class vtkDepthPeelingPassLayerList; // Pimpl
56 class vtkOpenGLHelper;
58 class vtkTextureObject;
59 
61 {
62 public:
63  static vtkGaussianBlurPass *New();
65  void PrintSelf(ostream& os, vtkIndent indent);
66 
67  //BTX
69 
71  virtual void Render(const vtkRenderState *s);
72  //ETX
74 
78 
79  protected:
82 
84  virtual ~vtkGaussianBlurPass();
85 
87 
88  vtkFrameBufferObject *FrameBufferObject;
89  vtkTextureObject *Pass1; // render target for the scene
90  vtkTextureObject *Pass2; // render target for the horizontal pass
92 
93  // Structures for the various cell types we render.
95 
96  bool Supported;
97  bool SupportProbed;
98 
99  private:
100  vtkGaussianBlurPass(const vtkGaussianBlurPass&); // Not implemented.
101  void operator=(const vtkGaussianBlurPass&); // Not implemented.
102 };
103 
104 #endif
OpenGL rendering window.
#define VTKRENDERINGOPENGL2_EXPORT
void ReleaseGraphicsResources(vtkWindow *w)
vtkOpenGLHelper * BlurProgram
Convenient class for post-processing passes. render pass.
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
Context in which a vtkRenderPass will render.
a simple class to control print indentation
Definition: vtkIndent.h:38
internal class which encapsulates OpenGL frame buffer object. Not to be used directly.
abstracts an OpenGL texture object.
virtual void Render(const vtkRenderState *s)=0
static vtkObject * New()
Implement a post-processing Gaussian blur render pass.
void PrintSelf(ostream &os, vtkIndent indent)