Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
SiAntialiasingEventListener Class Referenceabstract

VSG extension Antialiasing change event listener interface. More...

#include <Inventor/antialiasing/SiAntialiasingEventListener.h>

Public Member Functions

 SiAntialiasingEventListener ()
 
virtual ~SiAntialiasingEventListener ()
 
virtual bool onAntialiasingSwitch (const SoSceneManager::AntialiasingMode &mode, const float &quality, const SoAntialiasingParameters *parameters)=0
 This method is called when the antialiasing parameters are modified in the scene manager.
 

Detailed Description

VSG extension Antialiasing change event listener interface.

This interface provides the list of change event methods that subclasses must define.

Definition at line 37 of file SiAntialiasingEventListener.h.

Constructor & Destructor Documentation

◆ SiAntialiasingEventListener()

SiAntialiasingEventListener::SiAntialiasingEventListener ( )

◆ ~SiAntialiasingEventListener()

virtual SiAntialiasingEventListener::~SiAntialiasingEventListener ( )
virtual

Member Function Documentation

◆ onAntialiasingSwitch()

virtual bool SiAntialiasingEventListener::onAntialiasingSwitch ( const SoSceneManager::AntialiasingMode mode,
const float &  quality,
const SoAntialiasingParameters parameters 
)
pure virtual

This method is called when the antialiasing parameters are modified in the scene manager.

Note
The mode provided here is the actual mode. If the SoSceneManager::setAntialiasing method is called with AUTO, the mode provided here will be the algorithm selected by the scenemanager. The AUTO mode will never be used here.
Returns
a boolean to indicates if the listener was able to configure the graphic device for the specified mode.

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