SoGLLinePatternElement Class Reference
[Elements]

Stores the current line pattern in GL. More...

#include <Inventor/elements/SoGLLinePatternElement.h>

Inheritance diagram for SoGLLinePatternElement:
SoLinePatternElement SoReplacedElement SoElement SoTypedObject

List of all members.

Public Member Functions

virtual void push (SoState *state)
virtual void pop (SoState *state, const SoElement *prevTopElement)

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()

Detailed Description

Stores the current line pattern in GL.

This element stores the current line pattern in GL. Overrides the virtual methods on SoLinePatternElement to send the line pattern to GL when necessary.

NOTE: This class does not exist in Open Inventor 10.0 and later.

Note that this class relies on SoLinePatternElement to store the pattern in the instance.

SEE ALSO

SoLinePatternElement

Deprecated:

Deprecated since Open Inventor 9620
SoGLLinePatternElement is no longer supported, use equivalent SoLinePatternElement.

Member Function Documentation

static int SoGLLinePatternElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoLinePatternElement.

static SoType SoGLLinePatternElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoLinePatternElement.

virtual void SoGLLinePatternElement::pop ( SoState state,
const SoElement prevTopElement 
) [virtual]

Overrides pop() method so side effects can occur in GL.

virtual void SoGLLinePatternElement::push ( SoState state  )  [virtual]

Overrides push() so we can remember what line pattern the previous element set, and not send it again if it is the same.

Reimplemented from SoElement.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/