55#ifndef _SO_NORMAL_BINDING_ELEMENT
56#define _SO_NORMAL_BINDING_ELEMENT
83 PER_VERTEX_INDEXED = 8
88 DEFAULT = PER_VERTEX_INDEXED,
103 {
set(state, binding); }
#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 normal binding.
virtual void init(SoState *state)
Initializes element.
static void initClass()
Initializes the SoNormalBindingElement class.
virtual ~SoNormalBindingElement()
static void set(SoState *state, SoNode *, Binding binding)
Binding
The (seemingly random) choice of values is for compatibility with Inventor 2.0 binary format files:
virtual void print(FILE *fp) const
Prints element (for debugging)
static void set(SoState *state, Binding binding)
Sets the current normal binding in the state.
static Binding getDefault()
Returns the default normal binding.
static Binding get(SoState *state)
Returns current normal binding from the state.
An SoState collects and holds state while traversing a scene graph.