VTK  9.3.0
vtkFXAAOptions.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
3
12#ifndef vtkFXAAOptions_h
13#define vtkFXAAOptions_h
14
15#include "vtkObject.h"
16#include "vtkRenderingCoreModule.h" // For export macro
17
18VTK_ABI_NAMESPACE_BEGIN
19class VTKRENDERINGCORE_EXPORT vtkFXAAOptions : public vtkObject
20{
21public:
27 {
28 FXAA_NO_DEBUG = 0,
35 FXAA_DEBUG_ONLY_EDGE_AA
36 };
37
39 vtkTypeMacro(vtkFXAAOptions, vtkObject);
40 void PrintSelf(ostream& os, vtkIndent indent) override;
41
43
58 vtkSetClampMacro(RelativeContrastThreshold, float, 0.f, 1.f);
59 vtkGetMacro(RelativeContrastThreshold, float);
61
63
76 vtkSetClampMacro(HardContrastThreshold, float, 0.f, 1.f);
77 vtkGetMacro(HardContrastThreshold, float);
79
81
99 vtkSetClampMacro(SubpixelBlendLimit, float, 0.f, 1.f);
100 vtkGetMacro(SubpixelBlendLimit, float);
102
104
126 vtkSetClampMacro(SubpixelContrastThreshold, float, 0.f, 1.f);
127 vtkGetMacro(SubpixelContrastThreshold, float);
129
131
143 vtkSetMacro(UseHighQualityEndpoints, bool);
144 vtkGetMacro(UseHighQualityEndpoints, bool);
145 vtkBooleanMacro(UseHighQualityEndpoints, bool);
147
149
156 vtkSetClampMacro(EndpointSearchIterations, int, 0, VTK_INT_MAX);
157 vtkGetMacro(EndpointSearchIterations, int);
159
161
165 vtkSetMacro(DebugOptionValue, DebugOption);
166 vtkGetMacro(DebugOptionValue, DebugOption);
168
169protected:
171 ~vtkFXAAOptions() override;
172
180
181private:
182 vtkFXAAOptions(const vtkFXAAOptions&) = delete;
183 void operator=(const vtkFXAAOptions&) = delete;
184};
185
186VTK_ABI_NAMESPACE_END
187#endif // vtkFXAAOptions_h
Configuration for FXAA implementations.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
float HardContrastThreshold
DebugOption DebugOptionValue
float SubpixelContrastThreshold
static vtkFXAAOptions * New()
float RelativeContrastThreshold
DebugOption
Debugging options that affect the output color buffer.
~vtkFXAAOptions() override
a simple class to control print indentation
Definition vtkIndent.h:29
abstract base class for most VTK objects
Definition vtkObject.h:49
#define VTK_INT_MAX
Definition vtkType.h:144