VTK
9.0.1
Rendering
OpenGL2
vtkOpenGLFXAAPass.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOpenGLFXAAPass.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
=========================================================================*/
32
#ifndef vtkOpenGLFXAAPass_h
33
#define vtkOpenGLFXAAPass_h
34
35
#include "
vtkImageProcessingPass.h
"
36
37
#include "
vtkNew.h
"
// For vtkNew
38
#include "
vtkOpenGLFXAAFilter.h
"
// For vtkOpenGLFXAAFilter
39
#include "vtkRenderingOpenGL2Module.h"
// For export macro
40
41
class
VTKRENDERINGOPENGL2_EXPORT
vtkOpenGLFXAAPass
:
public
vtkImageProcessingPass
42
{
43
public
:
44
static
vtkOpenGLFXAAPass
*
New
();
45
vtkTypeMacro(
vtkOpenGLFXAAPass
,
vtkImageProcessingPass
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
47
51
void
Render
(
const
vtkRenderState
* s)
override
;
52
53
protected
:
54
vtkOpenGLFXAAPass
() =
default
;
55
~
vtkOpenGLFXAAPass
()
override
=
default
;
56
60
vtkNew<vtkOpenGLFXAAFilter>
FXAAFilter
;
61
62
private
:
63
vtkOpenGLFXAAPass
(
const
vtkOpenGLFXAAPass
&) =
delete
;
64
void
operator=(
const
vtkOpenGLFXAAPass
&) =
delete
;
65
};
66
67
#endif
vtkOpenGLFXAAPass::FXAAFilter
vtkNew< vtkOpenGLFXAAFilter > FXAAFilter
Graphics resources.
Definition:
vtkOpenGLFXAAPass.h:60
vtkImageProcessingPass::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkOpenGLFXAAPass
Render pass calling the FXAA filter.
Definition:
vtkOpenGLFXAAPass.h:41
vtkImageProcessingPass.h
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkRenderPass::Render
virtual void Render(const vtkRenderState *s)=0
Perform rendering according to a render state s.
vtkOpenGLFXAAFilter.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkNew< vtkOpenGLFXAAFilter >
vtkNew.h
vtkRenderState
Context in which a vtkRenderPass will render.
Definition:
vtkRenderState.h:40
vtkImageProcessingPass
Convenient class for post-processing passes. render pass.
Definition:
vtkImageProcessingPass.h:38
Generated on Thu Jun 25 2020 08:30:59 for VTK by
1.8.17