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)
-
Field Summary
Fields inherited from interface PlottingBackend
JAVAFX, JFREECHART, JZY3D_CPU, JZY3D_NATIVE, XCHART -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates and returns the backend instance (or returns self if it is the backend).Returns a description of the backend.getId()Returns the unique identifier for this backend (e.g., "javafx", "jmol", "cuda").getName()Returns the display name for UI presentation.intReturns the priority for auto-selection (higher = preferred).getType()Returns the backend type category (e.g., "plotting", "molecular", "tensor", "math").booleanChecks if this backend is currently available (libraries loaded, etc.).booleanisLoaded()Checks if the native library is loaded and available.booleanChecks if this backend supports 2D plotting.booleanChecks if this backend supports 3D plotting.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Backend
getAlgorithmProviders, getStatusMessage, isExplicitlyDisabled, shutdownMethods inherited from interface NativeBackend
getNativeLibraryName
-
Constructor Details
-
NativeJzy3dPlot3DBackend
public NativeJzy3dPlot3DBackend()
-
-
Method Details
-
getType
-
getId
-
getName
-
getDescription
Description copied from interface:BackendReturns a description of the backend.- Specified by:
getDescriptionin interfaceBackend
-
isAvailable
public boolean isAvailable()Description copied from interface:BackendChecks if this backend is currently available (libraries loaded, etc.).Default implementation checks
Backend.isExplicitlyDisabled()and returns false if it is.- Specified by:
isAvailablein interfaceBackend
-
isLoaded
public boolean isLoaded()Description copied from interface:NativeBackendChecks if the native library is loaded and available.- Specified by:
isLoadedin interfaceNativeBackend- Returns:
- true if the native library has been successfully loaded
-
getPriority
public int getPriority()Description copied from interface:BackendReturns the priority for auto-selection (higher = preferred). Used when multiple backends are available.- Specified by:
getPriorityin interfaceBackend
-
isSupported2D
public boolean isSupported2D()Description copied from interface:PlottingBackendChecks if this backend supports 2D plotting.- Specified by:
isSupported2Din interfacePlottingBackend
-
isSupported3D
public boolean isSupported3D()Description copied from interface:PlottingBackendChecks if this backend supports 3D plotting.- Specified by:
isSupported3Din interfacePlottingBackend
-
createBackend
Description copied from interface:BackendCreates and returns the backend instance (or returns self if it is the backend).- Specified by:
createBackendin interfaceBackend- Returns:
- The backend implementation object
-