Class Settings

java.lang.Object
org.jzy3d.chart.Settings

public class Settings extends Object
Settings is a singleton that holds general settings that configure Imaging classes instantiation.
  • Field Details

    • glCapabilities

      protected com.jogamp.opengl.GLCapabilities glCapabilities
  • Method Details

    • detectProfile

      public static com.jogamp.opengl.GLProfile detectProfile()
    • getOffscreenCapabilities

      public static com.jogamp.opengl.GLCapabilities getOffscreenCapabilities(com.jogamp.opengl.GLProfile glp)
    • getInstance

      public static Settings getInstance()
      Return the single allowed instance of Settings.
    • setHardwareAccelerated

      public void setHardwareAccelerated(boolean hardwareAccelerated)
      Modifies the acceleration status for all
      invalid @link
      INativeCanvas.Canvas
      instantiations. This doesn't modify the status of canvases that have already been instantiated.
    • isHardwareAccelerated

      public boolean isHardwareAccelerated()
      Returns true if hardware acceleration is used for 3d graphics.
    • getGLCapabilitiesClone

      public com.jogamp.opengl.GLCapabilities getGLCapabilitiesClone()
      Returns a copy of the current GL2 capabilities.
    • getGLCapabilities

      public com.jogamp.opengl.GLCapabilities getGLCapabilities()
    • setGLCapabilities

      public void setGLCapabilities(com.jogamp.opengl.GLCapabilities glCapabilities)
    • toString

      public String toString()
      Overrides:
      toString in class Object