VTK  9.0.2
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:
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 
61 
62 private:
63  vtkOpenGLFXAAPass(const vtkOpenGLFXAAPass&) = delete;
64  void operator=(const vtkOpenGLFXAAPass&) = delete;
65 };
66 
67 #endif
Convenient class for post-processing passes.
a simple class to control print indentation
Definition: vtkIndent.h:34
Render pass calling the FXAA filter.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Render(const vtkRenderState *s) override
Perform rendering according to a render state.
vtkOpenGLFXAAPass()=default
static vtkOpenGLFXAAPass * New()
~vtkOpenGLFXAAPass() override=default
vtkNew< vtkOpenGLFXAAFilter > FXAAFilter
Graphics resources.
Context in which a vtkRenderPass will render.