public static enum SoPickStyle.Methods extends java.lang.Enum<SoPickStyle.Methods> implements IntegerValuedEnum
SoIndexedFaceSet
implement a fast GPU Picking technique that may be faster than CPU picking (depending on the case). When Method is AUTO, Open Inventor will automatically determine which picking method should be used. However you can force using CPU or GPU picking technique. Please refer to SoRayPickAction
documentation for more details about GPU Picking.Enum Constant and Description |
---|
AUTO
Select the best method to use when picking a shape.
|
CPU
Always use CPU picking even if the shape supports another picking method.
|
GPU
Always use GPU accelerated picking if the shape supports it.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer value of the enum constant.
|
static SoPickStyle.Methods |
valueOf(int val)
Returns the enum constant of this type with the specified integer value
|
static SoPickStyle.Methods |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SoPickStyle.Methods[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SoPickStyle.Methods AUTO
public static final SoPickStyle.Methods GPU
public static final SoPickStyle.Methods CPU
public static SoPickStyle.Methods[] values()
for (SoPickStyle.Methods c : SoPickStyle.Methods.values()) System.out.println(c);
public static SoPickStyle.Methods 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 SoPickStyle.Methods 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