50#ifndef _SO_PICK_STYLE_
51#define _SO_PICK_STYLE_
53#include <Inventor/SbString.h>
54#include <Inventor/elements/SoPickStyleElement.h>
55#include <Inventor/elements/SoPickMethodElement.h>
56#include <Inventor/fields/SoSFEnum.h>
57#include <Inventor/fields/SoSFBool.h>
58#include <Inventor/nodes/SoNode.h>
160 {
override.setValue(state); }
166 {
return override.getValue(); }
169 virtual void doAction(
SoAction *action);
175 static void initClass();
176 static void exitClass();
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.