SoFXAAParameters Class Reference

VSG extension Antialiasing parameters class for the FXAA algorithm. More...

#include <Inventor/antialiasing/SoFXAAParameters.h>

Inheritance diagram for SoFXAAParameters:

List of all members.

Public Member Functions

 SoFXAAParameters (int qualityPreset, float subPixQuality, float edgeThresholdQuality, float edgeThresholdMin)
virtual ~SoFXAAParameters ()
int getQualityPreset () const
float getSubPixQuality () const
float getEdgeThresholdQuality () const
float getEdgeThresholdMin () const
bool operator== (const SoFXAAParameters &other) const
bool operator!= (const SoFXAAParameters &other) const
virtual SoAntialiasingParameterscopy () const

Detailed Description

VSG extension 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

Constructor & Destructor Documentation

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 SoFXAAParameters::~SoFXAAParameters (  )  [virtual]

Default destructor.

Member Function Documentation

virtual SoAntialiasingParameters* SoFXAAParameters::copy (  )  const [inline, virtual]

Copy to a new instance.

Implements SoAntialiasingParameters.

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.

bool SoFXAAParameters::operator!= ( const SoFXAAParameters other  )  const [inline]
bool SoFXAAParameters::operator== ( const SoFXAAParameters other  )  const [inline]

The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 16 Mar 2021
Copyright © Thermo Fisher Scientific All rights reserved.