VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
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
=========================================================================*/
51
#ifndef vtkGaussianBlurPass_h
52
#define vtkGaussianBlurPass_h
53
54
#include "vtkRenderingOpenGL2Module.h"
// For export macro
55
#include "
vtkImageProcessingPass.h
"
56
57
class
vtkDepthPeelingPassLayerList;
// Pimpl
58
class
vtkFrameBufferObject
;
59
class
vtkOpenGLHelper
;
60
class
vtkOpenGLRenderWindow
;
61
class
vtkTextureObject
;
62
63
class
VTKRENDERINGOPENGL2_EXPORT
vtkGaussianBlurPass
:
public
vtkImageProcessingPass
64
{
65
public
:
66
static
vtkGaussianBlurPass
*
New
();
67
vtkTypeMacro(
vtkGaussianBlurPass
,
vtkImageProcessingPass
);
68
void
PrintSelf
(ostream& os,
vtkIndent
indent);
69
70
//BTX
72
74
virtual
void
Render
(
const
vtkRenderState
*s);
75
//ETX
77
80
void
ReleaseGraphicsResources
(
vtkWindow
*w);
81
82
protected
:
84
vtkGaussianBlurPass
();
85
87
virtual
~
vtkGaussianBlurPass
();
88
90
91
vtkFrameBufferObject
*FrameBufferObject;
92
vtkTextureObject
*Pass1;
// render target for the scene
93
vtkTextureObject
*Pass2;
// render target for the horizontal pass
95
96
// Structures for the various cell types we render.
97
vtkOpenGLHelper
*
BlurProgram
;
98
99
bool
Supported;
100
bool
SupportProbed;
101
102
private
:
103
vtkGaussianBlurPass
(
const
vtkGaussianBlurPass
&);
// Not implemented.
104
void
operator=(
const
vtkGaussianBlurPass
&);
// Not implemented.
105
};
106
107
#endif
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:37
vtkImageProcessingPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w)
vtkGaussianBlurPass::BlurProgram
vtkOpenGLHelper * BlurProgram
Definition:
vtkGaussianBlurPass.h:97
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:39
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
vtkOpenGLHelper
Definition:
vtkOpenGLHelper.h:30
vtkImageProcessingPass.h
vtkObject::New
static vtkObject * New()
vtkGaussianBlurPass
Implement a post-processing Gaussian blur render pass.
Definition:
vtkGaussianBlurPass.h:61
vtkImageProcessingPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Generated by
1.8.9.1