Class Metashape

java.lang.Object
com.agisoft.metashape.Metashape

public class Metashape extends Object
  • Constructor Details

    • Metashape

      public Metashape()
  • Method Details

    • getVersion

      public static String 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

      public static String getNetworkPath()
      Network data root path.
    • setNetworkPath

      public static void setNetworkPath(String path)
      Network data root path.
    • releaseFreeMemory

      public static void releaseFreeMemory()
      Calls malloc_trim on Linux (does nothing on other OS)