Package com.openinventor.inventor.nodes
Class SoPickStyle
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.misc.SoBase
-
- com.openinventor.inventor.fields.SoFieldContainer
-
- com.openinventor.inventor.nodes.SoNode
-
- com.openinventor.inventor.nodes.SoPickStyle
-
- All Implemented Interfaces:
SafeDisposable
public class SoPickStyle extends SoNode
Picking style node. This node determines how subsequent geometry nodes in the scene graph are to be picked, as indicated by thestyle
andmethod
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:
SoComplexity
,SoDrawStyle
,SoRayPickAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SoPickStyle.Methods
Picking method.static class
SoPickStyle.Styles
Picking style.-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoSFEnum<SoPickStyle.Methods>
method
Specifies the method used to pick shapes.SoSFEnum<SoPickStyle.Styles>
style
Picking style.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description SoPickStyle()
Creates a pick style node with default settings.
-
Method Summary
-
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
style
public final SoSFEnum<SoPickStyle.Styles> style
Picking style. . Default is SHAPE.
-
method
public final SoSFEnum<SoPickStyle.Methods> method
Specifies the method used to pick shapes. . Default is AUTO.
-
-