SoLineWidthElement Class Reference
[Elements]

Stores the current line width. More...

#include <Inventor/elements/SoLineWidthElement.h>

Inheritance diagram for SoLineWidthElement:
SoFloatElement SoElement SoTypedObject SoGLLineWidthElement

List of all members.

Static Public Member Functions

static SoType getClassTypeId ()
static int getClassStackIndex ()
static void set (SoState *state, float width)
static void set (SoState *state, SoNode *, float width)
static float get (SoState *state)
static float getDefault ()

Detailed Description

Stores the current line width.

This element stores the current line width.

SEE ALSO

SoDrawStyle, SoVRMLLineProperties


Member Function Documentation

static float SoLineWidthElement::get ( SoState state  )  [inline, static]

Returns current line width from the state.

static int SoLineWidthElement::getClassStackIndex (  )  [static]

Returns the stack id for this element.

Reimplemented from SoFloatElement.

Reimplemented in SoGLLineWidthElement.

static SoType SoLineWidthElement::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from SoFloatElement.

Reimplemented in SoGLLineWidthElement.

static float SoLineWidthElement::getDefault (  )  [inline, static]

Returns the default line width.

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

Sets the current line width in the state.

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

Sets the current line width in the state.


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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/