VTK  9.4.20241221
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
18
19VTK_ABI_NAMESPACE_BEGIN
20class VTKRENDERINGCORE_EXPORT VTK_MARSHALAUTO vtkFXAAOptions : public vtkObject
21{
22public:
28 {
29 FXAA_NO_DEBUG = 0,
36 FXAA_DEBUG_ONLY_EDGE_AA
37 };
38
40 vtkTypeMacro(vtkFXAAOptions, vtkObject);
41 void PrintSelf(ostream& os, vtkIndent indent) override;
42
44
59 vtkSetClampMacro(RelativeContrastThreshold, float, 0.f, 1.f);
60 vtkGetMacro(RelativeContrastThreshold, float);
62
64
77 vtkSetClampMacro(HardContrastThreshold, float, 0.f, 1.f);
78 vtkGetMacro(HardContrastThreshold, float);
80
82
100 vtkSetClampMacro(SubpixelBlendLimit, float, 0.f, 1.f);
101 vtkGetMacro(SubpixelBlendLimit, float);
103
105
127 vtkSetClampMacro(SubpixelContrastThreshold, float, 0.f, 1.f);
128 vtkGetMacro(SubpixelContrastThreshold, float);
130
132
144 vtkSetMacro(UseHighQualityEndpoints, bool);
145 vtkGetMacro(UseHighQualityEndpoints, bool);
146 vtkBooleanMacro(UseHighQualityEndpoints, bool);
148
150
157 vtkSetClampMacro(EndpointSearchIterations, int, 0, VTK_INT_MAX);
158 vtkGetMacro(EndpointSearchIterations, int);
160
162
166 vtkSetMacro(DebugOptionValue, DebugOption);
167 vtkGetMacro(DebugOptionValue, DebugOption);
169
170protected:
172 ~vtkFXAAOptions() override;
173
181
182private:
183 vtkFXAAOptions(const vtkFXAAOptions&) = delete;
184 void operator=(const vtkFXAAOptions&) = delete;
185};
186
187VTK_ABI_NAMESPACE_END
188#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:108
abstract base class for most VTK objects
Definition vtkObject.h:162
#define VTK_INT_MAX
Definition vtkType.h:144
#define VTK_MARSHALAUTO