55#ifndef _SO_LINE_WIDTH_ELEMENT
56#define _SO_LINE_WIDTH_ELEMENT
83 {
set(state, width); }
#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 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.
Element that stores the current line width.
static float getDefault()
Returns the default line width.
virtual ~SoLineWidthElement()
static float get(SoState *state)
Returns current line width from the state.
static void set(SoState *state, SoNode *, float width)
static void set(SoState *state, float width)
Sets the current line width in the state.
virtual void init(SoState *state)
Initializes element.
static void initClass()
Initializes the SoLineWidthElement class.
Abstract base class for all database nodes.
An SoState collects and holds state while traversing a scene graph.