VTK  9.1.0
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
36
37#include "vtkNew.h" // For vtkNew
38#include "vtkOpenGLFXAAFilter.h" // For vtkOpenGLFXAAFilter
39#include "vtkRenderingOpenGL2Module.h" // For export macro
40
41class vtkFXAAOptions;
42
43class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLFXAAPass : public vtkImageProcessingPass
44{
45public:
48 void PrintSelf(ostream& os, vtkIndent indent) override;
49
53 void Render(const vtkRenderState* s) override;
54
55 vtkGetObjectMacro(FXAAOptions, vtkFXAAOptions);
57
58protected:
59 vtkOpenGLFXAAPass() = default;
61
66
67 vtkFXAAOptions* FXAAOptions = nullptr;
68
69private:
70 vtkOpenGLFXAAPass(const vtkOpenGLFXAAPass&) = delete;
71 void operator=(const vtkOpenGLFXAAPass&) = delete;
72};
73
74#endif
Configuration for FXAA implementations.
Convenient class for post-processing passes.
a simple class to control print indentation
Definition: vtkIndent.h:113
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.
virtual void SetFXAAOptions(vtkFXAAOptions *)
~vtkOpenGLFXAAPass() override
void Render(const vtkRenderState *s) override
Perform rendering according to a render state.
vtkOpenGLFXAAPass()=default
vtkNew< vtkOpenGLFXAAFilter > FXAAFilter
Graphics resources.
static vtkOpenGLFXAAPass * New()
Context in which a vtkRenderPass will render.