40 #ifndef vtkOpenGLFXAAFilter_h
41 #define vtkOpenGLFXAAFilter_h
45 #include "vtkRenderingOpenGL2Module.h"
49 VTK_ABI_NAMESPACE_BEGIN
86 vtkSetClampMacro(RelativeContrastThreshold,
float, 0.f, 1.f);
87 vtkGetMacro(RelativeContrastThreshold,
float);
88 vtkSetClampMacro(HardContrastThreshold,
float, 0.f, 1.f);
89 vtkGetMacro(HardContrastThreshold,
float);
90 vtkSetClampMacro(SubpixelBlendLimit,
float, 0.f, 1.f);
91 vtkGetMacro(SubpixelBlendLimit,
float);
92 vtkSetClampMacro(SubpixelContrastThreshold,
float, 0.f, 1.f);
93 vtkGetMacro(SubpixelContrastThreshold,
float);
95 vtkGetMacro(UseHighQualityEndpoints,
bool);
96 vtkBooleanMacro(UseHighQualityEndpoints,
bool);
97 vtkSetClampMacro(EndpointSearchIterations,
int, 0,
VTK_INT_MAX);
98 vtkGetMacro(EndpointSearchIterations,
int);
152 VTK_ABI_NAMESPACE_END
Configuration for FXAA implementations.
DebugOption
Debugging options that affect the output color buffer.
a simple class to control print indentation
abstract base class for most VTK objects
Perform FXAA antialiasing on the current framebuffer.
virtual void SetDebugOptionValue(vtkFXAAOptions::DebugOption opt)
Parameter for tuning the FXAA implementation.
vtkFXAAOptions::DebugOption DebugOptionValue
void Execute(vtkOpenGLRenderer *ren)
Perform FXAA on the current render buffer in ren.
vtkOpenGLQuadHelper * QHelper
int EndpointSearchIterations
void EndTimeQuery(vtkOpenGLRenderTimer *timer)
~vtkOpenGLFXAAFilter() override
vtkOpenGLRenderTimer * FXAATimer
void UpdateConfiguration(vtkFXAAOptions *opts)
Copy the configuration values from opts into this filter.
float HardContrastThreshold
float RelativeContrastThreshold
vtkOpenGLRenderTimer * PreparationTimer
vtkOpenGLRenderer * Renderer
bool UseHighQualityEndpoints
void ReleaseGraphicsResources()
Release all OpenGL state.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
float SubpixelContrastThreshold
void SubstituteFragmentShader(std::string &fragShader)
void StartTimeQuery(vtkOpenGLRenderTimer *timer)
static vtkOpenGLFXAAFilter * New()
virtual void SetUseHighQualityEndpoints(bool val)
Parameter for tuning the FXAA implementation.
Class to make rendering a full screen quad easier.
Asynchronously measures GPU execution time for a single event.
The ShaderProgram uses one or more Shader objects.
abstracts an OpenGL texture object.