Enum Class SoLDMDataAccess.GetDataModes

java.lang.Object
java.lang.Enum<SoLDMDataAccess.GetDataModes>
com.openinventor.ldm.SoLDMDataAccess.GetDataModes
All Implemented Interfaces:
IntegerValuedEnum, Serializable, Comparable<SoLDMDataAccess.GetDataModes>, Constable
Enclosing class:
SoLDMDataAccess

public static enum SoLDMDataAccess.GetDataModes extends Enum<SoLDMDataAccess.GetDataModes> implements IntegerValuedEnum
Specifies the way data is requested from the volume reader when the necessary tiles are not already present in LDM cache memory. See the class description for more info. See setGetDataMode() method.
  • Enum Constant Details

    • CACHE

      public static final SoLDMDataAccess.GetDataModes CACHE
      Request data by tile (default)
    • DIRECT

      public static final SoLDMDataAccess.GetDataModes DIRECT
      Request data directly. This means to only request, for example, the specific slice of data, not the complete tiles.
    • DIRECT_AND_PREFETCH

      public static final SoLDMDataAccess.GetDataModes DIRECT_AND_PREFETCH
      Same as Direct, but also schedule the relevant tiles to be loaded for faster future access.
  • Method Details

    • values

      public static SoLDMDataAccess.GetDataModes[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SoLDMDataAccess.GetDataModes valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      public static SoLDMDataAccess.GetDataModes valueOf(int val)
      Returns the enum constant of this type with the specified integer value
      Returns:
      the enum constant of this type with the specified integer value.
    • getValue

      public int getValue()
      Description copied from interface: IntegerValuedEnum
      Returns the integer value of the enum constant.
      Specified by:
      getValue in interface IntegerValuedEnum
      Returns:
      the integer value of the enum constant.