public class SoPickStyle extends SoNode
style
and method
fields.
Note that this is the only way to change the pick behavior of shapes; drawing style, complexity, and other rendering-related properties have no effect on picking.
File format/default:
PickStyle {
style | SHAPE |
Action behavior:
SoRayPickAction
, SoCallbackAction
Sets the current pick style and method in the state. Sets: SoPickStyleElement
SoPickMethodElement
See also:
Modifier and Type | Class and Description |
---|---|
static class |
SoPickStyle.Methods
Picking method.
|
static class |
SoPickStyle.Styles
Picking style.
|
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
AUTO
Deprecated.
Use
SoPickStyle.Methods.AUTO instead. |
static int |
BOUNDING_BOX
Deprecated.
Use
SoPickStyle.Styles.BOUNDING_BOX instead. |
static int |
CPU
Deprecated.
Use
SoPickStyle.Methods.CPU instead. |
static int |
GPU
Deprecated.
Use
SoPickStyle.Methods.GPU instead. |
SoSFEnum<SoPickStyle.Methods> |
method
Specifies the method used to pick shapes.
|
static int |
SHAPE
Deprecated.
Use
SoPickStyle.Styles.SHAPE instead. |
SoSFEnum<SoPickStyle.Styles> |
style
Picking style.
|
static int |
UNPICKABLE
Deprecated.
Use
SoPickStyle.Styles.UNPICKABLE instead. |
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoPickStyle()
Creates a pick style node with default settings.
|
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int SHAPE
SoPickStyle.Styles.SHAPE
instead.@Deprecated public static final int BOUNDING_BOX
SoPickStyle.Styles.BOUNDING_BOX
instead.@Deprecated public static final int UNPICKABLE
SoPickStyle.Styles.UNPICKABLE
instead.@Deprecated public static final int AUTO
SoPickStyle.Methods.AUTO
instead.@Deprecated public static final int GPU
SoPickStyle.Methods.GPU
instead.@Deprecated public static final int CPU
SoPickStyle.Methods.CPU
instead.public final SoSFEnum<SoPickStyle.Styles> style
public final SoSFEnum<SoPickStyle.Methods> method
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com