55#ifndef _SO_CREASE_ANGLE_ELEMENT
56#define _SO_CREASE_ANGLE_ELEMENT
85 {
set(state, angle); }
96 virtual void print(FILE *fp)
const;
#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.
Element that stores the current crease angle that is used to determine whether default normals should...
virtual ~SoCreaseAngleElement()
static void set(SoState *state, float angle)
Sets the current crease angle in the state.
static float getDefault()
Returns the default crease angle.
virtual void print(FILE *fp) const
Prints element (for debugging)
virtual void init(SoState *state)
Initializes element.
static float get(SoState *state)
Returns current crease angle from the state.
static void set(SoState *state, SoNode *, float angle)
static void initClass()
Initializes the SoCreaseAngleElement class.
Subclasses store a single float, int, or enum value.
static float get(int stackIndex, SoState *state)
Get value.
static void set(int stackIndex, SoState *state, float value)
Set value.
Abstract base class for all database nodes.
An SoState collects and holds state while traversing a scene graph.