VTK  9.5.20250620
vtkOpenGLFXAAPass.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
23#ifndef vtkOpenGLFXAAPass_h
24#define vtkOpenGLFXAAPass_h
25
27
28#include "vtkNew.h" // For vtkNew
29#include "vtkOpenGLFXAAFilter.h" // For vtkOpenGLFXAAFilter
30#include "vtkRenderingOpenGL2Module.h" // For export macro
31#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
32
33VTK_ABI_NAMESPACE_BEGIN
34class vtkFXAAOptions;
35
36class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkOpenGLFXAAPass : public vtkImageProcessingPass
37{
38public:
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
46 void Render(const vtkRenderState* s) override;
47
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
74VTK_ABI_NAMESPACE_END
75#endif
Configuration for FXAA implementations.
Convenient class for post-processing passes.
a simple class to control print indentation
Definition vtkIndent.h:108
Allocate and hold a VTK object.
Definition vtkNew.h:167
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
void ReleaseGraphicsResources(vtkWindow *w) override
Release graphics resources and ask components to release their own resources.
vtkNew< vtkOpenGLFXAAFilter > FXAAFilter
Graphics resources.
static vtkOpenGLFXAAPass * New()
Context in which a vtkRenderPass will render.
window superclass for vtkRenderWindow
Definition vtkWindow.h:48
#define VTK_MARSHALAUTO