Enum Class SoComplexity.Types

java.lang.Object
java.lang.Enum<SoComplexity.Types>
com.openinventor.inventor.nodes.SoComplexity.Types
All Implemented Interfaces:
IntegerValuedEnum, Serializable, Comparable<SoComplexity.Types>, Constable
Enclosing class:
SoComplexity

public static enum SoComplexity.Types extends Enum<SoComplexity.Types> implements IntegerValuedEnum
Type.
  • Enum Constant Details

    • OBJECT_SPACE

      public static final SoComplexity.Types OBJECT_SPACE
      Set complexity independent of screen size (default)
    • SCREEN_SPACE

      public static final SoComplexity.Types SCREEN_SPACE
      Set complexity based on screen size.
    • BOUNDING_BOX

      public static final SoComplexity.Types BOUNDING_BOX
      Draw all shapes as bounding boxes.
  • Method Details

    • values

      public static SoComplexity.Types[] 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 SoComplexity.Types 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 SoComplexity.Types 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.