Open Inventor Reference
SoLineWidthElement Class Reference

Element that stores the current line width.

#include <Inventor/elements/SoLineWidthElement.h>

Inheritance diagram for SoLineWidthElement:
SoFloatElement SoElement SoGLLineWidthElement

List of all members.

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 ()

Detailed Description

Definition at line 69 of file SoLineWidthElement.h.


Constructor & Destructor Documentation

virtual SoLineWidthElement::~SoLineWidthElement ( ) [protected, virtual]

Member Function Documentation

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().

static void SoLineWidthElement::set ( SoState state,
SoNode ,
float  width 
) [inline, static]

Definition at line 82 of file SoLineWidthElement.h.


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