public static enum SoBufferedShape.Types extends java.lang.Enum<SoBufferedShape.Types> implements IntegerValuedEnum
| Enum Constant and Description |
|---|
LINE_LOOP
Like LINE_STRIP, but an extra line segment is drawn connecting the last vertex to the first vertex.
|
LINE_STRIP
Connects all the vertices to form a polyline.
|
LINES
Connects every other pair of vertices with a line.
|
POINTS
Draws each vertex as a single point.
|
POLYGON
Draws a single polygon using all the vertices (in each primitive).
|
QUAD_STRIP
Draws a strip of connected quadrilaterals.
|
QUADS
Draws unconnected quadrilaterals.
|
TRIANGLE_FAN
Draws a fan of triangles.
|
TRIANGLE_STRIP
Draws a strip of connected triangles.
|
TRIANGLES
Draws unconnected triangles.
|
| Modifier and Type | Method and Description |
|---|---|
static SoBufferedShape.Types |
fromValue(int val)
Deprecated.
Use
valueOf(int) instead. |
int |
getValue()
Returns the integer value of the enum constant.
|
static SoBufferedShape.Types |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoBufferedShape.Types |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoBufferedShape.Types[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoBufferedShape.Types POINTS
public static final SoBufferedShape.Types LINE_STRIP
public static final SoBufferedShape.Types LINE_LOOP
public static final SoBufferedShape.Types LINES
public static final SoBufferedShape.Types TRIANGLE_STRIP
public static final SoBufferedShape.Types TRIANGLE_FAN
public static final SoBufferedShape.Types TRIANGLES
public static final SoBufferedShape.Types QUAD_STRIP
public static final SoBufferedShape.Types QUADS
public static final SoBufferedShape.Types POLYGON
public static SoBufferedShape.Types[] values()
for (SoBufferedShape.Types c : SoBufferedShape.Types.values()) System.out.println(c);
public static SoBufferedShape.Types 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 null@Deprecated public static SoBufferedShape.Types fromValue(int val)
valueOf(int) instead.public static SoBufferedShape.Types valueOf(int val)
public int getValue()
IntegerValuedEnumgetValue in interface IntegerValuedEnumGenerated on February 24, 2026, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com