Class Metashape

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

public class Metashape extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static long
    GPU device bit mask: 1 - use device, 0 - do not use (i.e. value 5 enables device number 0 and 2).
    static String
    Metashape version.
    static boolean
    Use CPU when GPU is active.
    static void
    Calls malloc_trim on Linux (does nothing on other OS)
    static void
    setCpuEnabled(boolean enable)
    Use CPU when GPU is active.
    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).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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.
    • releaseFreeMemory

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