55#ifndef _SO_PICK_STYLE_ELEMENT
56#define _SO_PICK_STYLE_ELEMENT
90 {
set(state, style); }
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ELEMENT_HEADER(className)
This one is for non-abstract element classes.
Subclasses store a single int32_t, int, or enum value.
static int32_t get(int stackIndex, SoState *state)
Get value.
static void set(int stackIndex, SoState *state, int32_t value)
Set value.
Abstract base class for all database nodes.
Element that stores the current pick style.
static Style getDefault()
Returns the default pick style.
static Style get(SoState *state)
Returns current pick style from the state.
static void initClass()
Initializes the SoPickStyleElement class.
Style
These are the available pick styles:
@ SHAPE
Points on surface of shape may be picked.
@ BOUNDING_BOX
Points on bounding boxes may be picked.
virtual ~SoPickStyleElement()
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.
virtual void init(SoState *state)
Initializes element.
static void set(SoState *state, SoNode *, Style style)
An SoState collects and holds state while traversing a scene graph.