50#ifndef _SO_PICK_METHOD_ELEMENT
51#define _SO_PICK_METHOD_ELEMENT
53#include <Inventor/elements/SoInt32Element.h>
127 virtual void init(
SoState *state);
131 static void initClass();
132 static void exitClass();
Stores a single int32_t, int, or enum value.
Abstract base class for all database nodes.
Stores the current pick method.
static Method get(SoState *state)
Returns current pick method from the state.
virtual void print(FILE *fp) const
Prints element (for debugging).
static void set(SoState *state, Method method)
Sets the current pick method in the state.
static Method getDefault()
Returns the default pick method.
static int getClassStackIndex()
Returns the stack id for this element.
static void set(SoState *state, SoNode *, Method method)
Sets the current pick method in the state.
Method
These are the available pick methods.
@ 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.
static SoType getClassTypeId()
Returns the type identifier for this class.