public class SoAlgorithms extends Inventor
Examples:
Inventor.ConstructorCommandVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
SoAlgorithms()
Algorithms interface constructor.
|
| Modifier and Type | Method and Description |
|---|---|
SoArithmetic |
createArithmeticInterface()
Returns an instance of the
SoArithmetic interface defined in the loaded module. |
SoBufferObject |
createBufferObject()
Returns an instance of a
SoBufferObject according to the hardware used by the loaded module (eg. |
SoDeviceContext |
createContext()
Returns a DeviceContext that can be used with the algorithms module and
SoBufferObject returned by the createBufferObject function. |
SoConversion |
createConversionInterface()
Returns an instance of the
SoConversion interface defined in the loaded module. |
SoConvolution |
createConvolutionInterface()
Returns an instance of the
SoConvolution interface defined in the loaded module. |
SoDataExtract |
createDataExtractInterface()
Returns an instance of the
SoDataExtract interface defined in the loaded module. |
SoSeismic |
createSeismicInterface()
Returns an instance of the
SoSeismic interface defined in the loaded module. |
static void |
finish()
Static finish function to free the memory allocated by the algorithms module.
|
static void |
init()
Static init function to initialize the algorithms module.
|
static boolean |
isInitialized()
Returns true if module is currently initialized.
|
static SoAlgorithms |
loadAlgorithmsModule(java.lang.String moduleFileName)
Loads a module and returns an instance of the implementation of
SoAlgorithms in this module. |
static boolean |
unloadAlgorithmsModule(java.lang.String moduleFileName)
Unloads a module.
|
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic SoArithmetic createArithmeticInterface()
SoArithmetic interface defined in the loaded module.
If there is no loaded module it returns the default CPU version.
SoArithmetic interface.public static SoAlgorithms loadAlgorithmsModule(java.lang.String moduleFileName)
SoAlgorithms in this module.
If the module is already loaded this function just increments the reference count and returns a new instance of the algorithms interface.
moduleFileName - The module filename. See the description of this class for more information.
public SoConvolution createConvolutionInterface()
SoConvolution interface defined in the loaded module.
If there is no loaded module it returns the default CPU version.
SoConvolution interface.public static boolean isInitialized()
public static void init()
public static void finish()
public SoDataExtract createDataExtractInterface()
SoDataExtract interface defined in the loaded module.
If there is no loaded module it returns the default CPU version.
SoDataExtract interface.public SoBufferObject createBufferObject()
SoBufferObject according to the hardware used by the loaded module (eg.
It returns an SoCudaBufferObject if a CUDA module was loaded.).
If there is no loaded module this function returns an SoCpuBufferObject.
SoBufferObject.public SoDeviceContext createContext()
SoBufferObject returned by the createBufferObject function.
SoDeviceContext object.public SoSeismic createSeismicInterface()
SoSeismic interface defined in the loaded module.
If there is no loaded module it returns the default CPU version.
SoSeismic interface.public static boolean unloadAlgorithmsModule(java.lang.String moduleFileName)
moduleFileName - The module filename to unload.public SoConversion createConversionInterface()
SoConversion interface defined in the loaded module.
If there is no loaded module it returns the default CPU version.
SoConversion interface.Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com