VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
demarle
Source
VTK
release
8.2
build
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
=========================================================================*/
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
59
class
vtkOpenGLFramebufferObject
;
60
class
vtkOpenGLHelper
;
61
class
vtkOpenGLRenderWindow
;
62
class
vtkTextureObject
;
63
64
class
VTKRENDERINGOPENGL2_EXPORT
vtkGaussianBlurPass
:
public
vtkImageProcessingPass
65
{
66
public
:
67
static
vtkGaussianBlurPass
*
New
();
68
vtkTypeMacro(
vtkGaussianBlurPass
,
vtkImageProcessingPass
);
69
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
70
75
void
Render
(
const
vtkRenderState
*s)
override
;
76
82
void
ReleaseGraphicsResources
(
vtkWindow
*w)
override
;
83
84
protected
:
88
vtkGaussianBlurPass
();
89
93
~
vtkGaussianBlurPass
()
override
;
94
98
vtkOpenGLFramebufferObject
*
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.
103
vtkOpenGLHelper
*
BlurProgram
;
104
105
private
:
106
vtkGaussianBlurPass
(
const
vtkGaussianBlurPass
&) =
delete
;
107
void
operator=(
const
vtkGaussianBlurPass
&) =
delete
;
108
};
109
110
#endif
vtkOpenGLRenderWindow
OpenGL rendering window.
Definition:
vtkOpenGLRenderWindow.h:53
vtkGaussianBlurPass::FrameBufferObject
vtkOpenGLFramebufferObject * FrameBufferObject
Graphics resources.
Definition:
vtkGaussianBlurPass.h:98
vtkGaussianBlurPass::BlurProgram
vtkOpenGLHelper * BlurProgram
Definition:
vtkGaussianBlurPass.h:103
vtkImageProcessingPass::ReleaseGraphicsResources
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
vtkImageProcessingPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkImageProcessingPass
Convenient class for post-processing passes.
Definition:
vtkImageProcessingPass.h:38
vtkWindow
window superclass for vtkRenderWindow
Definition:
vtkWindow.h:37
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:40
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkGaussianBlurPass::Pass2
vtkTextureObject * Pass2
Definition:
vtkGaussianBlurPass.h:100
vtkOpenGLFramebufferObject
Internal class which encapsulates OpenGL FramebufferObject.
Definition:
vtkOpenGLFramebufferObject.h:182
vtkTextureObject
abstracts an OpenGL texture object.
Definition:
vtkTextureObject.h:44
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
vtkOpenGLHelper
Definition:
vtkOpenGLHelper.h:30
vtkGaussianBlurPass::Pass1
vtkTextureObject * Pass1
Definition:
vtkGaussianBlurPass.h:99
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
vtkGaussianBlurPass
Implement a post-processing Gaussian blur render pass.
Definition:
vtkGaussianBlurPass.h:64
vtkImageProcessingPass.h
Generated by
1.8.11