public static enum SoShape.ShapeTypes extends java.lang.Enum<SoShape.ShapeTypes> implements IntegerValuedEnum
SoDrawStyle
property currently in the state).
Default shape type is POLYGONS.Enum Constant and Description |
---|
LINES
The shape is render based on lines (Ex:
SoLineSet ). |
POINTS
The shape is render based on points (Ex:
SoPointSet ). |
POLYGONS
The shape is render based on polygons (Ex:
SoFaceSet ). |
TEXT
The shape is a text and follows the special filter for texts.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoShape.ShapeTypes |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoShape.ShapeTypes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoShape.ShapeTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoShape.ShapeTypes POINTS
SoPointSet
).public static final SoShape.ShapeTypes LINES
SoLineSet
).public static final SoShape.ShapeTypes POLYGONS
SoFaceSet
).public static final SoShape.ShapeTypes TEXT
public static SoShape.ShapeTypes[] values()
for (SoShape.ShapeTypes c : SoShape.ShapeTypes.values()) System.out.println(c);
public static SoShape.ShapeTypes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static SoShape.ShapeTypes valueOf(int val)
public int getValue()
IntegerValuedEnum
getValue
in interface IntegerValuedEnum
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com