55#ifndef _SO_GL_SHAPE_HINTS_ELEMENT
56#define _SO_GL_SHAPE_HINTS_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 current shape hints and sends commands to GL based on them.
static void initClass()
Initializes the SoGLShapeHintsElement class.
virtual void push(SoState *state)
Override push() method to remember previous element's state so we can sometimes generate more efficie...
virtual void pop(SoState *state, const SoElement *prevTopElement)
Override pop() method so side effects can occur in GL.
virtual void setElt(VertexOrdering vertexOrdering, ShapeType shapeType, FaceType faceType)
Override virtual sets to have GL side effects.
virtual ~SoGLShapeHintsElement()
virtual void init(SoState *state)
Initializes element.
Element that stores current shape hints.
ShapeType
Hints about entire shape:
FaceType
Hints about faces of shape:
VertexOrdering
Hints about ordering of face vertices:
An SoState collects and holds state while traversing a scene graph.