 |
VTK
9.0.1
|
Go to the documentation of this file.
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);
151 #endif // vtkOpenGLFXAAFilter_h
virtual void SetDebugOptionValue(vtkFXAAOptions::DebugOption opt)
float SubpixelContrastThreshold
virtual void SetUseHighQualityEndpoints(bool val)
vtkOpenGLQuadHelper * QHelper
abstract base class for most VTK objects
Configuration for FXAA implementations.
Class to make rendering a full screen quad easier.
float RelativeContrastThreshold
DebugOption
Debugging options that affect the output color buffer.
Asynchronously measures GPU execution time for a single event.
int EndpointSearchIterations
void SubstituteFragmentShader(std::string &fragShader)
vtkOpenGLRenderTimer * FXAATimer
void ReleaseGraphicsResources()
Release all OpenGL state.
float HardContrastThreshold
The ShaderProgram uses one or more Shader objects.
a simple class to control print indentation
abstracts an OpenGL texture object.
void StartTimeQuery(vtkOpenGLRenderTimer *timer)
static vtkOpenGLFXAAFilter * New()
Perform FXAA antialiasing on the current framebuffer.
void Execute(vtkOpenGLRenderer *ren)
Perform FXAA on the current render buffer in ren.
vtkFXAAOptions::DebugOption DebugOptionValue
vtkOpenGLRenderer * Renderer
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void UpdateConfiguration(vtkFXAAOptions *opts)
Copy the configuration values from opts into this filter.
void EndTimeQuery(vtkOpenGLRenderTimer *timer)
~vtkOpenGLFXAAFilter() override
bool UseHighQualityEndpoints
vtkOpenGLRenderTimer * PreparationTimer