Open Inventor Reference
|
Element that stores the current line pattern in GL. More...
#include <Inventor/elements/SoGLLinePatternElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
virtual void | push (SoState *state) |
Override push() so we can remember what line pattern the previous element set, and not send it again if it is 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 SoGLLinePatternElement class. | |
Protected Member Functions | |
virtual void | setElt (int32_t pattern) |
Sets the line pattern in an instance. Has GL side effects. | |
virtual | ~SoGLLinePatternElement () |
Overrides the virtual methods on SoLinePatternElement to send the line pattern to GL when necessary.
Note that this class relies on SoLinePatternElement to store the pattern in the instance.
Definition at line 74 of file SoGLLinePatternElement.h.
virtual SoGLLinePatternElement::~SoGLLinePatternElement | ( | ) | [protected, virtual] |
virtual void SoGLLinePatternElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoLinePatternElement.
static void SoGLLinePatternElement::initClass | ( | ) | [static] |
Reimplemented from SoLinePatternElement.
virtual void SoGLLinePatternElement::pop | ( | SoState * | state, |
const SoElement * | prevTopElement | ||
) | [virtual] |
Reimplemented from SoElement.
virtual void SoGLLinePatternElement::push | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoElement.
virtual void SoGLLinePatternElement::setElt | ( | int32_t | pattern | ) | [protected, virtual] |
Reimplemented from SoInt32Element.