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 
60 class VTKRENDERINGOPENGL2_EXPORT vtkGaussianBlurPass : public vtkImageProcessingPass
61 {
62 public:
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 
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
vtkFrameBufferObject
internal class which encapsulates OpenGL frame buffer object. Not to be used directly.
Definition: vtkFrameBufferObject.h:47
vtkImageProcessingPass.h
vtkgl::s
GLdouble s
Definition: vtkgl.h:11594
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkWindow
window superclass for vtkRenderWindow
Definition: vtkWindow.h:34
vtkGaussianBlurPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w)
vtkOpenGLHelper
Definition: vtkOpenGLHelper.h:31
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTextureObject
abstracts an OpenGL texture object.
Definition: vtkTextureObject.h:40
vtkGaussianBlurPass
Implement a post-processing Gaussian blur render pass.
Definition: vtkGaussianBlurPass.h:65
vtkGaussianBlurPass::~vtkGaussianBlurPass
virtual ~vtkGaussianBlurPass()
vtkGaussianBlurPass::Render
virtual void Render(const vtkRenderState *s)
vtkGaussianBlurPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkGaussianBlurPass::New
static vtkGaussianBlurPass * New()
vtkGaussianBlurPass::BlurProgram
vtkOpenGLHelper * BlurProgram
Definition: vtkGaussianBlurPass.h:94
vtkGaussianBlurPass::vtkGaussianBlurPass
vtkGaussianBlurPass()
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition: vtkOpenGLRenderWindow.h:41
vtkgl::w
GLubyte GLubyte GLubyte GLubyte w
Definition: vtkgl.h:12054
vtkRenderState
Context in which a vtkRenderPass will render.
Definition: vtkRenderState.h:40
vtkImageProcessingPass
Convenient class for post-processing passes. render pass.
Definition: vtkImageProcessingPass.h:40