55#ifndef _SO_GL_LINE_WIDTH_ELEMENT
56#define _SO_GL_LINE_WIDTH_ELEMENT
107 bool copiedFromParent;
#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 width in GL.
virtual ~SoGLLineWidthElement()
virtual void setElt(float width)
Sets the line width in an instance. Has GL side effects.
virtual void init(SoState *state)
Initializes element.
virtual void push(SoState *state)
Override push() method to copy state pointer and value of previous element, to avoid sending GL comma...
static void initClass()
Initializes the SoGLLineWidthElement class.
virtual void pop(SoState *state, const SoElement *prevTopElement)
Override pop() method so side effects can occur in GL.
Element that stores the current line width.
An SoState collects and holds state while traversing a scene graph.