Enum Class DataTypePLY

java.lang.Object
java.lang.Enum<DataTypePLY>
com.irurueta.geometry.io.DataTypePLY
All Implemented Interfaces:
Serializable, Comparable<DataTypePLY>, Constable

public enum DataTypePLY extends Enum<DataTypePLY>
Enumeration defining supported data types for PLY format.
  • Enum Constant Details

    • PLY_INT8

      public static final DataTypePLY PLY_INT8
      Signed 8-bit integer.
    • PLY_UINT8

      public static final DataTypePLY PLY_UINT8
      Unsigned 8-bit integer.
    • PLY_INT16

      public static final DataTypePLY PLY_INT16
      Signed 16-bit integer.
    • PLY_UINT16

      public static final DataTypePLY PLY_UINT16
      Unsigned 16-bit integer.
    • PLY_INT32

      public static final DataTypePLY PLY_INT32
      Signed 32-bit integer.
    • PLY_UINT32

      public static final DataTypePLY PLY_UINT32
      Unsigned 32-bit integer.
    • PLY_FLOAT32

      public static final DataTypePLY PLY_FLOAT32
      32-bit floating-point.
    • PLY_FLOAT64

      public static final DataTypePLY PLY_FLOAT64
      64-bit floating-point.
    • PLY_CHAR

      public static final DataTypePLY PLY_CHAR
      Signed character (signed 8-bit integer).
    • PLY_UCHAR

      public static final DataTypePLY PLY_UCHAR
      Unsigned character (unsigned 8-bit integer).
    • PLY_SHORT

      public static final DataTypePLY PLY_SHORT
      Signed short (signed 16-bit integer).
    • PLY_USHORT

      public static final DataTypePLY PLY_USHORT
      Unsigned short (unsigned 16-bit integer).
    • PLY_INT

      public static final DataTypePLY PLY_INT
      Signed integer (signed 32-bit integer).
    • PLY_UINT

      public static final DataTypePLY PLY_UINT
      Unsigned integer (unsigned 32-bit integer).
    • PLY_FLOAT

      public static final DataTypePLY PLY_FLOAT
      Float (32-bit floating-point).
    • PLY_DOUBLE

      public static final DataTypePLY PLY_DOUBLE
      Double (64-bit floating-point).
  • Field Details

    • LOOKUP

      private static final Map<String,DataTypePLY> LOOKUP
    • value

      private final String value
      Internal representation of this enum as a string.
  • Constructor Details

    • DataTypePLY

      private DataTypePLY(String value)
      Constructor of this enum with a string representation.
      Parameters:
      value - String value for this enum.
  • Method Details

    • values

      public static DataTypePLY[] 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 DataTypePLY 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
    • getValue

      public String getValue()
      Returns string representation of an instance of this enum.
      Returns:
      String representation.
    • forValue

      public static DataTypePLY forValue(String value)
      Builds an instance of this enum.
      Parameters:
      value - String representation of this enum.
      Returns:
      An instance of this enum.