55#ifndef _SO_GL_DRAW_STYLE_ELEMENT
56#define _SO_GL_DRAW_STYLE_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.
Element that stores the current draw style.
SoElement()
Constructor; use typeId.createInstance to create elements.
Element that changes the current draw style in GL.
static void initClass()
Initializes the SoGLDrawStyleElement class.
virtual void pop(SoState *state, const SoElement *prevTopElement)
Override pop() method so side effects can occur in GL.
virtual void init(SoState *state)
Initializes element.
virtual ~SoGLDrawStyleElement()
virtual void setElt(int32_t style)
Sets the draw style in an instance. Has GL side effects.
virtual void push(SoState *state)
Override push() so we can remember the previous element's draw style, and perhaps avoid sending unnec...