50#ifndef _SO_PICK_STYLE_
51#define _SO_PICK_STYLE_
159 {
override.setValue(state); }
165 {
return override.getValue(); }
168 virtual void doAction(
SoAction *action);
174 static void initClass();
175 static void exitClass();
#define SO_NODE_HEADER(className)
Abstract base class for all actions.
Performs a generic traversal of a scene graph or path.
Renders a scene graph using Open Inventor's Render Engine.
Abstract base class for all database nodes.
Abstract base class for picking objects in a scene.
@ GPU
Force using GPU picking if the shape supports it.
@ AUTO
OIV is in charge of selecting the best method to use when picking a shape.
@ CPU
Force using CPU picking, even if shape supports other picking method.
@ UNPICKABLE
Picks go through objects.
@ SHAPE
Points on surface of shape may be picked.
@ BOUNDING_BOX
Points on bounding boxes may be picked.
@ CPU
Always use CPU picking even if the shape supports another picking method.
@ AUTO
Select the best method to use when picking a shape.
@ GPU
Always use GPU accelerated picking if the shape supports it.
SoSFEnum method
Specifies the method used to pick shapes.
SoPickStyle()
Creates a pick style node with default settings.
virtual SbBool isOverride() const
Returns the state of the override field.
SoSFEnum style
Picking style.
@ UNPICKABLE
Subsequent objects are ignored by pick traversal.
@ SHAPE
Points on the surfaces of shapes may be picked.
@ BOUNDING_BOX
Points on the surfaces of 3D bounding boxes of shapes may be picked.
virtual void setOverride(const SbBool state)
Set the state of the override field.
Field containing a single Boolean value.
Field containing an enumerated value.