55#ifndef _SO_LINE_PATTERN_ELEMENT
56#define _SO_LINE_PATTERN_ELEMENT
83 {
set(state, pattern); }
94 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.
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.
Element that stores the current line stipple pattern.
static void set(SoState *state, u_short pattern)
Sets the current line pattern in the state.
virtual void print(FILE *fp) const
Prints element (for debugging)
static void initClass()
Initializes the SoLinePatternElement class.
virtual ~SoLinePatternElement()
static void set(SoState *state, SoNode *, u_short pattern)
static u_short getDefault()
Returns the default line pattern.
virtual void init(SoState *state)
Initializes element.
static u_short get(SoState *state)
Returns current line pattern from the state.
Abstract base class for all database nodes.
An SoState collects and holds state while traversing a scene graph.