55#ifndef _SO_GL_LINE_PATTERN_ELEMENT
56#define _SO_GL_LINE_PATTERN_ELEMENT
#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.
This is the abstract base class for all state elements.
Element that stores the current line pattern in GL.
virtual void push(SoState *state)
Override push() so we can remember what line pattern the previous element set, and not send it again ...
virtual ~SoGLLinePatternElement()
virtual void setElt(int32_t pattern)
Sets the line pattern in an instance. Has GL side effects.
virtual void init(SoState *state)
Initializes element.
virtual void pop(SoState *state, const SoElement *prevTopElement)
Override pop() method so side effects can occur in GL.
static void initClass()
Initializes the SoGLLinePatternElement class.
Element that stores the current line stipple pattern.
An SoState collects and holds state while traversing a scene graph.