Open Inventor Reference
|
Element that stores the current line width.
#include <Inventor/elements/SoLineWidthElement.h>
Public Member Functions | |
virtual void | init (SoState *state) |
Initializes element. | |
Static Public Member Functions | |
static void | set (SoState *state, float width) |
Sets the current line width in the state. | |
static void | set (SoState *state, SoNode *, float width) |
static float | get (SoState *state) |
Returns current line width from the state. | |
static float | getDefault () |
Returns the default line width. | |
static void | initClass () |
Initializes the SoLineWidthElement class. | |
Protected Member Functions | |
virtual | ~SoLineWidthElement () |
Definition at line 69 of file SoLineWidthElement.h.
virtual SoLineWidthElement::~SoLineWidthElement | ( | ) | [protected, virtual] |
static float SoLineWidthElement::get | ( | SoState * | state | ) | [inline, static] |
Definition at line 87 of file SoLineWidthElement.h.
References SoFloatElement::get().
static float SoLineWidthElement::getDefault | ( | ) | [inline, static] |
Definition at line 91 of file SoLineWidthElement.h.
virtual void SoLineWidthElement::init | ( | SoState * | state | ) | [virtual] |
Reimplemented from SoElement.
Reimplemented in SoGLLineWidthElement.
static void SoLineWidthElement::initClass | ( | ) | [static] |
Reimplemented from SoFloatElement.
Reimplemented in SoGLLineWidthElement.
static void SoLineWidthElement::set | ( | SoState * | state, |
float | width | ||
) | [inline, static] |
Definition at line 78 of file SoLineWidthElement.h.
References SoFloatElement::set().
Definition at line 82 of file SoLineWidthElement.h.