Class NativeJzy3dPlot3DBackend

java.lang.Object
org.episteme.nativ.ui.viewers.mathematics.analysis.plotting.backends.NativeJzy3dPlot3DBackend
All Implemented Interfaces:
Backend, PlottingBackend, NativeBackend

@AutoService(PlottingBackend.class) public class NativeJzy3dPlot3DBackend extends Object implements PlottingBackend, NativeBackend
Native GPU-accelerated backend for Jzy3D 3D plotting. High priority backend that requires hardware OpenCL/OpenGL to be available on the machine.
Since:
1.2
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Constructor Details

    • NativeJzy3dPlot3DBackend

      public NativeJzy3dPlot3DBackend()
  • Method Details

    • getType

      public String getType()
      Description copied from interface: Backend
      Returns the backend type category (e.g., "plotting", "molecular", "tensor", "math").
      Specified by:
      getType in interface Backend
    • getId

      public String getId()
      Description copied from interface: Backend
      Returns the unique identifier for this backend (e.g., "javafx", "jmol", "cuda").
      Specified by:
      getId in interface Backend
    • getName

      public String getName()
      Description copied from interface: Backend
      Returns the display name for UI presentation.
      Specified by:
      getName in interface Backend
    • getDescription

      public String getDescription()
      Description copied from interface: Backend
      Returns a description of the backend.
      Specified by:
      getDescription in interface Backend
    • isAvailable

      public boolean isAvailable()
      Description copied from interface: Backend
      Checks if this backend is currently available (libraries loaded, etc.).

      Default implementation checks Backend.isExplicitlyDisabled() and returns false if it is.

      Specified by:
      isAvailable in interface Backend
    • isLoaded

      public boolean isLoaded()
      Description copied from interface: NativeBackend
      Checks if the native library is loaded and available.
      Specified by:
      isLoaded in interface NativeBackend
      Returns:
      true if the native library has been successfully loaded
    • getPriority

      public int getPriority()
      Description copied from interface: Backend
      Returns the priority for auto-selection (higher = preferred). Used when multiple backends are available.
      Specified by:
      getPriority in interface Backend
    • isSupported2D

      public boolean isSupported2D()
      Description copied from interface: PlottingBackend
      Checks if this backend supports 2D plotting.
      Specified by:
      isSupported2D in interface PlottingBackend
    • isSupported3D

      public boolean isSupported3D()
      Description copied from interface: PlottingBackend
      Checks if this backend supports 3D plotting.
      Specified by:
      isSupported3D in interface PlottingBackend
    • createBackend

      public Object createBackend()
      Description copied from interface: Backend
      Creates and returns the backend instance (or returns self if it is the backend).
      Specified by:
      createBackend in interface Backend
      Returns:
      The backend implementation object