Package com.agisoft.metashape
Class Metashape
java.lang.Object
com.agisoft.metashape.Metashape
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longGPU device bit mask: 1 - use device, 0 - do not use (i.e. value 5 enables device number 0 and 2).static StringNetwork data root path.static StringMetashape version.static booleanUse CPU when GPU is active.static voidCalls malloc_trim on Linux (does nothing on other OS)static voidsetCpuEnabled(boolean enable) Use CPU when GPU is active.static voidsetGpuMask(long mask) GPU device bit mask: 1 - use device, 0 - do not use (i.e. value 5 enables device number 0 and 2).static voidsetNetworkPath(String path) Network data root path.
-
Constructor Details
-
Metashape
public Metashape()
-
-
Method Details
-
getVersion
Metashape version. -
getGpuMask
public static long getGpuMask()GPU device bit mask: 1 - use device, 0 - do not use (i.e. value 5 enables device number 0 and 2). -
setGpuMask
public static void setGpuMask(long mask) GPU device bit mask: 1 - use device, 0 - do not use (i.e. value 5 enables device number 0 and 2). -
isCpuEnabled
public static boolean isCpuEnabled()Use CPU when GPU is active. -
setCpuEnabled
public static void setCpuEnabled(boolean enable) Use CPU when GPU is active. -
getNetworkPath
Network data root path. -
setNetworkPath
Network data root path. -
releaseFreeMemory
public static void releaseFreeMemory()Calls malloc_trim on Linux (does nothing on other OS)
-