Enum PeelingMethod
- java.lang.Object
-
- java.lang.Enum<PeelingMethod>
-
- org.jzy3d.plot3d.rendering.ddp.algorithms.PeelingMethod
-
- All Implemented Interfaces:
Serializable
,Comparable<PeelingMethod>
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
- 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 Summary
Enum Constants Enum Constant Description DUAL_PEELING_MODE
F2B_PEELING_MODE
WEIGHTED_AVERAGE_MODE
WEIGHTED_SUM_MODE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PeelingMethod
valueOf(String name)
Returns the enum constant of this type with the specified name.static PeelingMethod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static PeelingMethod[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PeelingMethod c : PeelingMethod.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
-