50#ifndef _SO_PICK_STYLE_ELEMENT
51#define _SO_PICK_STYLE_ELEMENT
53#include <Inventor/elements/SoInt32Element.h>
67SoEXTENDER_Documented
class SoPickStyleElement :
public SoInt32Element {
69 SO_ELEMENT_HEADER(SoPickStyleElement);
100 {
set(state, style); }
121 virtual void init(
SoState *state);
125 static void initClass();
126 static void exitClass();
129 virtual ~SoPickStyleElement();
Abstract base class for all database nodes.
static Style getDefault()
Returns the default pick style.
static SoType getClassTypeId()
Returns the type identifier for this class.
static Style get(SoState *state)
Returns current pick style from the state.
static int getClassStackIndex()
Returns the stack id for this element.
Style
These are the available pick styles.
@ UNPICKABLE
Picks go through objects.
@ SHAPE
Points on surface of shape may be picked.
@ BOUNDING_BOX
Points on bounding boxes may be picked.
virtual void print(FILE *fp) const
Prints element (for debugging).
static void set(SoState *state, Style style)
Sets the current pick style in the state.
static void set(SoState *state, SoNode *, Style style)
Sets the current pick style in the state.