VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dox
Rendering
OpenGL2
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
55
class
vtkFrameBufferObject
;
56
class
vtkOpenGLHelper
;
57
class
vtkOpenGLRenderWindow
;
58
class
vtkTextureObject
;
59
60
class
VTKRENDERINGOPENGL2_EXPORT
vtkGaussianBlurPass
:
public
vtkImageProcessingPass
61
{
62
public
:
63
static
vtkGaussianBlurPass
*
New
();
64
vtkTypeMacro(
vtkGaussianBlurPass
,
vtkImageProcessingPass
);
65
void
PrintSelf
(ostream& os,
vtkIndent
indent);
66
67
//BTX
69
71
virtual
void
Render
(
const
vtkRenderState
*s);
72
//ETX
74
77
void
ReleaseGraphicsResources
(
vtkWindow
*w);
78
79
protected
:
81
vtkGaussianBlurPass
();
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.
94
vtkOpenGLHelper
*
BlurProgram
;
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
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:40
VTKRENDERINGOPENGL2_EXPORT
#define VTKRENDERINGOPENGL2_EXPORT
Definition:
vtkRenderingOpenGL2Module.h:15
vtkImageProcessingPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w)
vtkGaussianBlurPass::BlurProgram
vtkOpenGLHelper * BlurProgram
Definition:
vtkGaussianBlurPass.h:94
vtkImageProcessingPass
Convenient class for post-processing passes. render pass.
Definition:
vtkImageProcessingPass.h:39
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:36
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:39
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:38
vtkFrameBufferObject
internal class which encapsulates OpenGL frame buffer object. Not to be used directly.
Definition:
vtkFrameBufferObject.h:46
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:42
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
vtkRenderingOpenGL2Module.h
vtkOpenGLHelper
Definition:
vtkOpenGLHelper.h:30
vtkImageProcessingPass.h
vtkObject::New
static vtkObject * New()
vtkGaussianBlurPass
Implement a post-processing Gaussian blur render pass.
Definition:
vtkGaussianBlurPass.h:64
vtkImageProcessingPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Generated on Wed Dec 16 2015 17:15:09 for VTK by
1.8.9.1