Enum PeelingMethod

java.lang.Object
java.lang.Enum<PeelingMethod>
org.jzy3d.plot3d.rendering.ddp.algorithms.PeelingMethod
All Implemented Interfaces:
Serializable, Comparable<PeelingMethod>, java.lang.constant.Constable

public enum PeelingMethod extends Enum<PeelingMethod>
Status of peeling methods on {macOS 10.12 + NVidia GPU} {Ubuntu 20.04 + Intel Iris GPU}
  • OK - F2B_PEELING_MODE
  • OK - DUAL_PEELING_MODE
  • OK - WEIGHTED_AVERAGE_MODE
  • KO - WEIGHTED_SUM_MODE : no compilation problem BUT overlapping parts (translucent or opaque) are black
Status of peeling methods on macOS 11.4 + M1 (Silicon)
  • OK - DUAL_PEELING_MODE
  • KO - WEIGHTED_AVERAGE_MODE : renders correctly BUT make opaque object appear translucent (e.g. the blue cube of this demo)
  • KO - WEIGHTED_SUM_MODE : no compilation problem BUT overlapping parts (translucent or opaque) are black
  • KO - F2B_PEELING_MODE : Hangs before display (reproduce with chart.get
Author:
martin
  • Enum Constant Details

    • DUAL_PEELING_MODE

      public static final PeelingMethod DUAL_PEELING_MODE
    • F2B_PEELING_MODE

      public static final PeelingMethod F2B_PEELING_MODE
    • WEIGHTED_AVERAGE_MODE

      public static final PeelingMethod WEIGHTED_AVERAGE_MODE
    • WEIGHTED_SUM_MODE

      public static final PeelingMethod WEIGHTED_SUM_MODE
  • Method Details

    • values

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

      public static PeelingMethod valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null