40#ifndef vtkOpenGLFXAAFilter_h
41#define vtkOpenGLFXAAFilter_h
45#include "vtkRenderingOpenGL2Module.h"
85 vtkSetClampMacro(RelativeContrastThreshold,
float, 0.f, 1.f);
86 vtkGetMacro(RelativeContrastThreshold,
float);
87 vtkSetClampMacro(HardContrastThreshold,
float, 0.f, 1.f);
88 vtkGetMacro(HardContrastThreshold,
float);
89 vtkSetClampMacro(SubpixelBlendLimit,
float, 0.f, 1.f);
90 vtkGetMacro(SubpixelBlendLimit,
float);
91 vtkSetClampMacro(SubpixelContrastThreshold,
float, 0.f, 1.f);
92 vtkGetMacro(SubpixelContrastThreshold,
float);
94 vtkGetMacro(UseHighQualityEndpoints,
bool);
95 vtkBooleanMacro(UseHighQualityEndpoints,
bool);
96 vtkSetClampMacro(EndpointSearchIterations,
int, 0,
VTK_INT_MAX);
97 vtkGetMacro(EndpointSearchIterations,
int);
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)
virtual void SetUseHighQualityEndpoints(bool val)
Parameter for tuning the FXAA implementation.
static vtkOpenGLFXAAFilter * New()
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.