28 #ifndef vtkOpenGLFXAAFilter_h
29 #define vtkOpenGLFXAAFilter_h
33 #include "vtkRenderingOpenGL2Module.h"
37 VTK_ABI_NAMESPACE_BEGIN
60 void ReleaseGraphicsResources();
74 vtkSetClampMacro(RelativeContrastThreshold,
float, 0.f, 1.f);
75 vtkGetMacro(RelativeContrastThreshold,
float);
76 vtkSetClampMacro(HardContrastThreshold,
float, 0.f, 1.f);
77 vtkGetMacro(HardContrastThreshold,
float);
78 vtkSetClampMacro(SubpixelBlendLimit,
float, 0.f, 1.f);
79 vtkGetMacro(SubpixelBlendLimit,
float);
80 vtkSetClampMacro(SubpixelContrastThreshold,
float, 0.f, 1.f);
81 vtkGetMacro(SubpixelContrastThreshold,
float);
82 virtual void SetUseHighQualityEndpoints(
bool val);
83 vtkGetMacro(UseHighQualityEndpoints,
bool);
84 vtkBooleanMacro(UseHighQualityEndpoints,
bool);
85 vtkSetClampMacro(EndpointSearchIterations,
int, 0,
VTK_INT_MAX);
86 vtkGetMacro(EndpointSearchIterations,
int);
97 void CreateGLObjects();
100 void SubstituteFragmentShader(
std::string& fragShader);
105 void PrintBenchmark();
140 VTK_ABI_NAMESPACE_END
141 #endif // vtkOpenGLFXAAFilter_h
abstract base class for most VTK objects
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
float RelativeContrastThreshold
float HardContrastThreshold
bool UseHighQualityEndpoints
vtkOpenGLQuadHelper * QHelper
DebugOption
Debugging options that affect the output color buffer.
a simple class to control print indentation
vtkOpenGLRenderer * Renderer
float SubpixelContrastThreshold
vtkFXAAOptions::DebugOption DebugOptionValue
abstracts an OpenGL texture object.
vtkOpenGLRenderTimer * FXAATimer
Class to make rendering a full screen quad easier.
vtkOpenGLRenderTimer * PreparationTimer
Perform FXAA antialiasing on the current framebuffer.
int EndpointSearchIterations
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on...
Asynchronously measures GPU execution time for a single event.
Configuration for FXAA implementations.
The ShaderProgram uses one or more Shader objects.