Antialiasing parameters class for the FXAA algorithm. More...
#include <Inventor/antialiasing/SoFXAAParameters.h>
Public Member Functions | |
SoFXAAParameters (int qualityPreset, float subPixQuality, float edgeThresholdQuality, float edgeThresholdMin) | |
Constructor which takes a value for each possible parameter. | |
virtual | ~SoFXAAParameters () |
Default destructor. | |
int | getQualityPreset () const |
Returns the quality preset. | |
float | getSubPixQuality () const |
Returns the subPixQuality parameter. | |
float | getEdgeThresholdQuality () const |
Returns the edgeThresholdQuality parameter. | |
float | getEdgeThresholdMin () const |
Returns the edgeThresholdMinimum parameter. | |
bool | operator== (const SoFXAAParameters &other) const |
bool | operator!= (const SoFXAAParameters &other) const |
virtual SoAntialiasingParameters * | copy () const |
Copy to a new instance. | |
Public Member Functions inherited from SoAntialiasingParameters | |
virtual | ~SoAntialiasingParameters () |
Default destructor. | |
Antialiasing parameters class for the FXAA algorithm.
This class provides the different parameters that can be set to configure the FXAA antialiasing algorithm. These objects are used with the setAntialiasing() method in SoSceneManager and some viewer classes (e.g. SoWinGLWidget).
SoAccumulationAntialiasingParameters, SoFullSceneAntialiasingParameters
Definition at line 43 of file SoFXAAParameters.h.
SoFXAAParameters::SoFXAAParameters | ( | int | qualityPreset, |
float | subPixQuality, | ||
float | edgeThresholdQuality, | ||
float | edgeThresholdMin | ||
) |
Constructor which takes a value for each possible parameter.
qualityPreset | Quality value in the range [10;15] , [20;29] or equal to 39. |
subPixQuality | Chooses the amount of sub-pixel aliasing removal (1.0 upper limit = softer, 0.0 = off). |
edgeThresholdQuality | The minimum amount of local contrast required to apply algorithm (0.333 = too little but faster, 0.063 = overkill and slower). |
edgeThresholdMin | Trims the algorithm from processing darks (0.0833 = upper limit the start of visible unfiltered edges, 0.0625 = high quality and faster, 0.0312 = visible limit but slower). |
|
virtual |
Default destructor.
|
inlinevirtual |
Copy to a new instance.
Implements SoAntialiasingParameters.
Definition at line 94 of file SoFXAAParameters.h.
float SoFXAAParameters::getEdgeThresholdMin | ( | ) | const |
Returns the edgeThresholdMinimum parameter.
float SoFXAAParameters::getEdgeThresholdQuality | ( | ) | const |
Returns the edgeThresholdQuality parameter.
int SoFXAAParameters::getQualityPreset | ( | ) | const |
Returns the quality preset.
float SoFXAAParameters::getSubPixQuality | ( | ) | const |
Returns the subPixQuality parameter.
|
inline |
Definition at line 88 of file SoFXAAParameters.h.
|
inline |
Definition at line 80 of file SoFXAAParameters.h.