Open Inventor Reference
|
Element that stores the current line width in GL. More...
#include <Inventor/elements/SoGLLineWidthElement.h>
Public Member Functions | |
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 commands if the elements are the same. | |
virtual void | pop (SoState *state, const SoElement *prevTopElement) |
Override pop() method so side effects can occur in GL. | |
Static Public Member Functions | |
static void | initClass () |
Initializes the SoGLLineWidthElement class. | |
Protected Member Functions | |
virtual void | setElt (float width) |
Sets the line width in an instance. Has GL side effects. | |
virtual | ~SoGLLineWidthElement () |
Overrides the virtual methods on SoLineWidthElement to send the line width to GL when necessary.
Note that this class relies on SoLineWidthElement to store the width in the instance.
Definition at line 74 of file SoGLLineWidthElement.h.
virtual SoGLLineWidthElement::~SoGLLineWidthElement | ( | ) | [protected, virtual] |
virtual void SoGLLineWidthElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoLineWidthElement.
static void SoGLLineWidthElement::initClass | ( | ) | [static] |
Reimplemented from SoLineWidthElement.
virtual void SoGLLineWidthElement::pop | ( | SoState * | state, |
const SoElement * | prevTopElement | ||
) | [virtual] |
Reimplemented from SoElement.
virtual void SoGLLineWidthElement::setElt | ( | float | width | ) | [protected, virtual] |
Reimplemented from SoFloatElement.