Class SiAntialiasingEventListener
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.antialiasing.SiAntialiasingEventListener
-
public class SiAntialiasingEventListener extends Inventor
Antialiasing change event listener interface. This interface provides the list of change event methods that subclasses must define.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
onAntialiasingSwitch(SoSceneManager.AntialiasingModes mode, float quality, SoAntialiasingParameters parameters)
This method is called when the antialiasing parameters are modified in the scene manager.-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
onAntialiasingSwitch
public boolean onAntialiasingSwitch(SoSceneManager.AntialiasingModes mode, float quality, SoAntialiasingParameters parameters)
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.
-
-